jayvdb added a comment.

In https://phabricator.wikimedia.org/T74206#960161, @Ricordisamoa wrote:

> In https://phabricator.wikimedia.org/T74206#960064, @jayvdb wrote:
>
> > In https://phabricator.wikimedia.org/T74206#959965, @Ricordisamoa wrote:
> >
> > > Which of the features are needed?
> >
> >
> > mwlib or patrol.py ?
>
>
> I mean the use cases for this script on Wikisource.


See the URL in the task description.  The compat version was written by me for 
English Wikisource.  It was also used on English Wikipedia, but is no longer 
needed there.  @billinghurst could provide more information about the current 
need for this on Wikisource, as I am not active on Wikisource atm.

@xZise, it would be simpler to just use the API , maybe with some textlib but I 
dont think that is necessary.  
https://en.wikisource.org/wiki/User:JVbot/patrol_whitelist is a pretty simple 
format, except for the links.  mwlib was used because pywikipedia couldnt parse 
those links properly, and it wouldnt surprise me if we find some bugs still 
exist in pywikibot wrt the links used in that page.  I also wouldnt be 
surprised if mwparserfromhell also had bugs wrt those links - mwparserfromhell 
is not very mature.  Changing the parser to a new parser would need unit tests 
to ensure it correctly understands the whitelist page features, and doesnt have 
odd bugs (and in the case of mwparserfromhell, it could core dump which limits 
ability to report and resolve the problems).


TASK DETAIL
  https://phabricator.wikimedia.org/T74206

REPLY HANDLER ACTIONS
  Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign 
<username>.

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: droid, jayvdb
Cc: pywikipedia-bugs, Billinghurst, Ricordisamoa, jayvdb, XZise, droid



_______________________________________________
Pywikipedia-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-bugs

Reply via email to