api.php?action=query&list=querypage&qppage=Wantedcategories&qplimit=5000
will give you the list in a format you can readily convert to just the
names.
You can then loop over the list of categories in your programming language
of choice and run edit.php once for each category.
On Sat, Nov 2, 2013 at 12:44 PM, Geth N7 <infiltrator7n(a)gmail.com> wrote:
Well, correction: I think edit.php is the route I plan
to go to do this,
but how would I extract a list of every wanted category so all the pages
could be converted as a batch with whatever wikitext I desire?
I followed the instructions on the
https://www.mediawiki.org/wiki/Manual:Edit.php page, but I'm not sure how
(if possible) to apply a "wildcard" to the Category: so that it will batch
create category description pages for every category.
On Sat, Nov 2, 2013 at 11:22 AM, Geth N7 <infiltrator7n(a)gmail.com> wrote:
Thanks! That's exactly what I needed to
know.
On Sat, Nov 2, 2013 at 10:30 AM, Benjamin Lees <emufarmers(a)gmail.com
wrote:
> It's nothing fancy, but Special:WantedCategories (or, better, its API
> equivalent) will give you the list, and the edit.php maintenance script,
> Pywikibot, or the bot framework of your choice will let you create pages
> from the list.
>
>
> On Fri, Nov 1, 2013 at 11:48 PM, Geth N7 <infiltrator7n(a)gmail.com>
wrote:
>
> > What I want to do is mass create category description pages for all of
> > these wanted categories.
> >
> > The text would simply be a link to a "master category" that they
would
> all
> > fall under (for organization purposes).
> >
> > My problem is that bot programs (like AutoWikibrowser) don't seem to
> have
> > the capability to create category description pages since the pages
> don't
> > exist, and since I have thousands of pages to create, I really wanted
to
> > add text to these new pages in bulk, but
I'm at a loss for how to
create
> > pages in bulk with preselected text.
> >
> >
> > On Fri, Nov 1, 2013 at 9:57 PM, John <phoenixoverride(a)gmail.com>
wrote:
> >
> > > Depends on what kind of text you want to create the page with.
> > >
> > > On Fri, Nov 1, 2013 at 10:55 PM, Geth N7 <infiltrator7n(a)gmail.com>
> > wrote:
> > >
> > > > From what I understand, a category doesn't exist until the page
for
> the
> > > > category is edited, so even if there are categories listed on a
> page,
> > > > unless those categories have been created, they do not actually
> exist
> > > until
> > > > their description pages have been edited.
> > > >
> > > > I ask this because I'm in charge of wiki that has a lot of blank
> > > categories
> > > > (it was created from an XML dump made from content from another
wiki
> > > engine
> > > > that did not support categories in the MediaWiki sense), and I
would
like
> > to mass add some text to all of these "wanted categories" so they
can
be
> > properly indexed.
> >
> > Is there a way to do this, or will I have to edit all these
categories
> > manually?
> > _______________________________________________
> > MediaWiki-l mailing list
> > MediaWiki-l(a)lists.wikimedia.org
> >
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)lists.wikimedia.org
>
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l