jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/926508 )
Change subject: [bugfix] add curly brackets to notAtEnd string in
textlib.compileLinkR
......................................................................
[bugfix] add curly brackets to notAtEnd string in textlib.compileLinkR
Bug: T338029
Change-Id: I780215104224c0e048f065d776a1b81be79613b2
---
M pywikibot/textlib.py
1 file changed, 11 insertions(+), 1 deletion(-)
Approvals:
Framawiki: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/textlib.py b/pywikibot/textlib.py
index 3c73b34..72e60ca 100644
--- a/pywikibot/textlib.py
+++ b/pywikibot/textlib.py
@@ -1653,7 +1653,7 @@
# Note: While allowing dots inside URLs, MediaWiki will regard
# dots at the end of the URL as not part of that URL.
# The same applies to comma, colon and some other characters.
- notAtEnd = r'\]\s\.:;,<>"\|\)'
+ notAtEnd = r'\]\s\.:;,<>"\|\)}'
# So characters inside the URL can be anything except whitespace,
# closing squared brackets, quotation marks, greater than and less
# than, and the last character also can't be parenthesis or another
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/926508
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I780215104224c0e048f065d776a1b81be79613b2
Gerrit-Change-Number: 926508
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Framawiki <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]