XZise added a subscriber: XZise.
XZise added a comment.
If I understand the problem correctly it is, that when the family does contain only one language (e.g. 'commons' in comparison to 'wikipedia') the -lang parameter should be optional.
Now I'd then suggest that the family itself says if it contains a primary code which is added to 'langs' but 'langs' then contains mostly unused codes (usually only 'test'). The comparison could then be (if langs contains more than one element) if the primary code is not empty.
TASK DETAIL
https://phabricator.wikimedia.org/T71255
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: Ladsgroup, XZise
Cc: pywikipedia-bugs, Ladsgroup, jayvdb, Mpaa, Ricordisamoa, XZise
jayvdb created this task.
jayvdb added a subscriber: jayvdb.
jayvdb added projects: pywikibot-core, Pywikibot-pagegenerators.
jayvdb changed Security from none to none.
TASK DESCRIPTION
The pagegenerator LogpagesPageGenerator exists in the old compat codebase, and needs to be copied and possibly re-worked to exist in the new codebase.
old code:
http://git.wikimedia.org/blob/pywikibot%2Fcompat.git/64f6f0671646506863b658…
TASK DETAIL
https://phabricator.wikimedia.org/T76555
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: jayvdb
Cc: Aklapper, jayvdb, pywikipedia-bugs