XZise added a comment.
And another problem is: Should `pywikibot.Site('za', 'wiktionary')` actually be https://za.wiktionary.org/wiki/Yiebdaeuz or https://incubator.wikimedia.org/wiki/Wt/za which is then actually related to your second problem you mention here, because instead of closing “ht.wiktionary.org” it's redirecting (while “za.wiktionary.org” does not).
TASK DETAIL https://phabricator.wikimedia.org/T74674
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, XZise, JAnD, Mpaa, Kronf, jayvdb
pywikipedia-bugs@lists.wikimedia.org