site generator for special:wantedcategories is implemented in r8504
Greetings
xqt
----- Original Nachricht ----
Von: Bináris <wikiposta(a)gmail.com>
An: Pywikipedia discussion list <pywikipedia-l(a)lists.wikimedia.org>
Datum: 06.09.2010 11:27
Betreff: Re: [Pywikipedia-l] How to read special pages?
As far as I understand, the existing special page
reader methods do the
same, i. e. they read HTML. They belong to the Site object rather than to
the Page. But there is a terrible regex in them which I had to copy and
modify. I copied from the reader of another special page, but I could not
make the urlpath properly, so it is now a constant that points to huwiki. I
will upload it for those who are not looking for elegance in the scripts.
:-) It may be useful for others: looks for red (unexisting) categories in
user subpages, and puts them in 'nowiki', while sending a message to the
owner. This is useful because Special:WantedCategories is flooded with
these
and people don't feel like correcting the others, if they have to choose
from so many redlinks.
2010/9/6 Alex Brollo <alex.brollo(a)gmail.com>
I'm a very rough user of API's... so when I can't find what I search, I
simply go beck to the old system:* I read html*.... so I did when I
needed
a list of WantedCategories.
I guess that this horrible confession will elicit some reaction, and the
solution you'll are searching for.
;-)
Alex
_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
--
Bináris
--------------------------------
_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Heute erleben, was morgen Trend wird - das kann man auf der IFA in Berlin. Oder auf
arcor.de: Wir stellen Ihnen die wichtigsten News, Trends und Gadgets der IFA vor.
Natürlich mit dabei: das brandneue IPTV-Angebot von Vodafone! Alles rund um die
Internationale Funkausstellung in Berlin finden Sie hier: