XZise added a comment.
Well AFAIK is the code always the code of the chosen site. Bit APISite has also a value `lang` which mustn't return the same value as `APISite.code`.
TASK DETAIL https://phabricator.wikimedia.org/T85645
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: XZise Cc: pywikipedia-bugs, Aklapper, Unicornisaurous, jayvdb, XZise, Ricordisamoa
pywikipedia-bugs@lists.wikimedia.org