jayvdb added a subscriber: jayvdb.
jayvdb added a comment.

replace's `-replacementfile` has a bit different file format, but there are 
enough similarities to justify using the same option name. `-pairsfile` ?

Just an idea: movepages `-pairs` could use `-file` , as its file has the same 
file format as the pagegenerators `-file`, and it even uses the same 
`pagegenerators.TextfilePageGenerator`.  It uses the content of the file 
slightly differently, so it can't re-use the pagegenerator documentation 
(unless it was rewritten to be more generic, but that may mean it isnt helpful).

IMO the `-replacementfile` format is a poor substitute for `user-fixes.py`, as 
the `-replacementfile` file contents is interpreted differently depending on 
`-regex` and other command line options, and should probably be deprecated.


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

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

To: jayvdb
Cc: jayvdb, StudiesWorld, Mpaa, Aklapper, Wesalius, pywikibot-bugs-list



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

Reply via email to