Ricordisamoa added a comment.
In https://phabricator.wikimedia.org/T71255#846029, @XZise wrote:
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.
Exactly what I proposed on https://gerrit.wikimedia.org/r/179599 :-)
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, Ricordisamoa Cc: pywikipedia-bugs, Ladsgroup, jayvdb, Mpaa, Ricordisamoa, XZise
pywikipedia-bugs@lists.wikimedia.org