Dalba added a subscriber: Dalba. Dalba added a comment. I currently can't setup git review to upload a patch. But this one seems easy to fix: Find the following line in `noreferences.py`:
return re.sub(pattern, '<references>\1</references>', oldText) Use a raw string flag before the regular expression to prevent the `\1` from being treated as `chr(1)`: return re.sub(pattern, r'<references>\1</references>', oldText) TASK DETAIL https://phabricator.wikimedia.org/T123104 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dalba Cc: Dalba, Krenair, pywikibot-bugs-list, Aklapper, JAnD _______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
