Good catch. Thanks!

On Wed, Oct 31, 2018 at 11:55 AM Mark A. Hershberger <[email protected]>
wrote:

> James Montalvo <[email protected]> writes:
>
> > Have you tried:
> >
> > php rebuildData.php -v --categories="Some_category_name"
> --skip-properties
> >
> > I'm not actually certain on the syntax of categories...guessing it'd be
> > "Some_category_name,Another_category".  The docs [1] also give the option
> > to do this instead of categories: --query='[[Category:SomeCategory]]'
>
> James,
>
> After a user pointed me to your message and asked if it would help in
> her circumstance, I found that the syntax you have doesn't focus only on
> one category.
>
> Specifically, --categories: "Will refresh only category pages (and other
> explicitly named namespaces)" as [1] says.  This means the
> [[Category:...]] pages themselves, not the pages in the category.
>
> Which means that you have to use this form, instead:
>
>     php rebuildData.php -v --query="[[Category:Some category name]]"
> --skip-properties
>
> Footnotes:
> [1]
> https://www.semantic-mediawiki.org/wiki/Help:Maintenance_script_rebuildData.php
>
>
> --
> Mark A. Hershberger
> NicheWork LLC
> 717-271-1084
>
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to