jayvdb added a comment.

In https://phabricator.wikimedia.org/T94681#1447145, @Xqt wrote:

> The table is a localisation table defined for site not for language. It is 
> the right behaviour to report an error when a site is not configured.


Yes, using `code` instead of `lang` is appropriate.
However, when the script is run on wiktionary, the values are not valid.
i.e. this script assumes it is run on Wikipedia only.


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

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

To: jayvdb
Cc: Xqt, XZise, Aklapper, jayvdb, pywikibot-bugs-list, Malyacko, P.Copp



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

Reply via email to