jayvdb added subscribers: Xqt, jayvdb. jayvdb added a comment.
The relevant code was added https://www.mediawiki.org/wiki/Special:Code/pywikipedia/9580 in 2011 by @xqt , mentioning https://sourceforge.net/support/tracker.php?aid=3414669 , but that URL is now 404. It would be nice to know what that problem was. I am wondering why this bug hasnt been hit in 2+ years.
Anyway, the problematic page appears to be https://yi.wiktionary.org/w/index.php?title=%D7%90%D7%A0%D7%95&action=hi... . Worth noting that has never been truly empty. It has three (3) characters, whereas page.isEmpty() returns true for any page with less than four (4) characters. This 'greater than 4 characters' rule was especially introduced for interwiki.py (and is only used by interwiki.py), in 2004. https://mediawiki.org/wiki/Special:Code/pywikipedia/405
TASK DETAIL https://phabricator.wikimedia.org/T85676
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: Mpaa, jayvdb Cc: Aklapper, JAnD, XZise, Mpaa, Xqt, jayvdb, pywikipedia-bugs