[Pywikipedia-l] [ pywikipediabot-Feature Requests-3054755 ] Edit filter labels and page sizes in version history

Bináris wikiposta at gmail.com
Mon Aug 30 21:38:59 UTC 2010


xqt, or anbody,

A few minutes ago I uploaded the version I would like to use in
wikipedia.py, it may need only cosmetic changes. This version returns the
size and the tags of edit filters with the page history.

We in Hungarian Wikipedia use a bot that is run by 2 or 3 users
simultaneously, and runs in every 10-30 minutes. This bot now needs the
sizes of the page versions because we want to know whether an article was
significally shortened to its biggest size. I solved it with
fullVersionHistory and len(), which makes the script slow down. That's why I
wrote this modification, because MediaWiki does store the size, so we don't
need to compute is again and download all the complete versions. Tags are
also useful, we plan to use them together with edit filter.

It would be great to have this modification in wikipedia.py so that all of
us can use the same version. May I hope you accept my contribution?

Thank you!

2010/8/30 SourceForge.net <noreply at sourceforge.net>

> You can respond by visiting:
>
> https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3054755&group_id=93107
>
>
> Initial Comment:
> Would it be possible to have the labels made by the edit filters in
> Page.getVersionHistoryTable, Page.getVersionHistory and
> Page.fullVersionHistory? There may be several of them for one edit.
>
> Comment By: Bináris (binbot)
> Date: 2010-08-30 23:19
>
> I attached a possible solution, please use it. Credits to Tgr and Hunyadym
> from huwiki.
>
>

-- 
Bináris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wikimedia.org/pipermail/pywikipedia-l/attachments/20100830/b316fd21/attachment.htm 


More information about the Pywikipedia-l mailing list