| Dvorapa added a comment. |
I think I've found the root cause: https://phabricator.wikimedia.org/diffusion/PWBC/browse/master/pywikibot/textlib.py$261
The regex for 'ref' matches also code like this:
<ref name=etwa /> still matched {{template-for-subst}} still matched as one ref tag <ref name=anders>ref II</ref>and handles this piece as an exception. This is wrong behavior.
TASK DETAIL
EMAIL PREFERENCES
To: Dvorapa
Cc: Dalba, Dvorapa, Mpaa, Xqt, pywikibot-bugs-list, Aklapper, jeblad, Hercule, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
Cc: Dalba, Dvorapa, Mpaa, Xqt, pywikibot-bugs-list, Aklapper, jeblad, Hercule, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
