Arjunaraoc added a comment.
Looks like atleast in one instance, if the text contains malformed template code like missing a brace ( {{...} ), the replace.py crashes
TASK DETAIL https://phabricator.wikimedia.org/T99032
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Arjunaraoc Cc: XZise, Aklapper, Arjunaraoc, jayvdb, pywikipedia-bugs