MtDu has uploaded a new change for review.
https://gerrit.wikimedia.org/r/265651
Change subject: Ignore URLs in fullurl
......................................................................
Ignore URLs in fullurl
Bug: T124141
Change-Id: I219c5a7cb45226a41cc60e04ffbb54e1311ec695
---
M scripts/weblinkchecker.py
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core
refs/changes/51/265651/1
diff --git a/scripts/weblinkchecker.py b/scripts/weblinkchecker.py
index 12d096c..a870f8d 100755
--- a/scripts/weblinkchecker.py
+++ b/scripts/weblinkchecker.py
@@ -173,6 +173,9 @@
# Ignore links containing * in domain name
# as they are intentionally fake
re.compile(r'https?\:\/\/\*(/.*)?'),
+
+ # Ignore links in fullurl
+ re.compile(r'\{\{fullurl\:(/.*)?'),
]
--
To view, visit https://gerrit.wikimedia.org/r/265651
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I219c5a7cb45226a41cc60e04ffbb54e1311ec695
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: MtDu <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits