jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/353705 )
Change subject: Update documentation on inside-tags exceptions for replace.py ......................................................................
Update documentation on inside-tags exceptions for replace.py
The definition of the exceptions changed and was moved. (Old fixes from compat seem to be incompatible, too.)
Change-Id: I3cdfa2ede29933e4dc3c641816716ae2703e5d6b --- M scripts/replace.py 1 file changed, 2 insertions(+), 1 deletion(-)
Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved
diff --git a/scripts/replace.py b/scripts/replace.py index 7b5c952..d0784ea 100755 --- a/scripts/replace.py +++ b/scripts/replace.py @@ -524,7 +524,8 @@ regular expressions. inside-tags A list of strings. These strings must be keys from the - exceptionRegexes dictionary in textlib.replaceExcept(). + dictionary in textlib._create_default_regexes() or must be + accepted by textlib._get_regexes().
@type exceptions: dict @param allowoverlap: when matches overlap, all of them are replaced.
pywikibot-commits@lists.wikimedia.org