Build Update for wikimedia/pywikibot-core
-------------------------------------
Build: #3202
Status: Errored
Duration: 1 hour, 18 minutes, and 51 seconds
Commit: 8edbc8e (master)
Author: Andrew Harris
Message: Add tests for deprecated namespace shortcuts
Add a test inside of site_tests for the collection of deprecated, untested
namespace shortcuts.
Bug: T60941
Change-Id: I73af412b799317b5e0c9d29485854e1dcb27daf8
View the changeset: https://github.com/wikimedia/pywikibot-core/compare/3a6779c52d54...8edbc8e3…
View the full build log and details: https://travis-ci.org/wikimedia/pywikibot-core/builds/104235756
--
You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications
jenkins-bot has submitted this change and it was merged.
Change subject: Ignore URLs in fullurl template
......................................................................
Ignore URLs in fullurl template
Bug: T124141
Change-Id: I219c5a7cb45226a41cc60e04ffbb54e1311ec695
---
M scripts/weblinkchecker.py
1 file changed, 3 insertions(+), 0 deletions(-)
Approvals:
John Vandenberg: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/weblinkchecker.py b/scripts/weblinkchecker.py
index 12d096c..99bef29 100755
--- a/scripts/weblinkchecker.py
+++ b/scripts/weblinkchecker.py
@@ -224,6 +224,9 @@
"""
text = textlib.removeDisabledParts(text)
+ # Ignore links in fullurl template
+ text = re.sub(r'{{\s?fullurl:.[^}]*}}', '', text)
+
# MediaWiki parses templates before parsing external links. Thus, there
# might be a | or a } directly after a URL which does not belong to
# the URL itself.
--
To view, visit https://gerrit.wikimedia.org/r/265651
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I219c5a7cb45226a41cc60e04ffbb54e1311ec695
Gerrit-PatchSet: 8
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: MtDu <justin.d128(a)gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: MtDu <justin.d128(a)gmail.com>
Gerrit-Reviewer: Ricordisamoa <ricordisamoa(a)openmailbox.org>
Gerrit-Reviewer: jenkins-bot <>
jenkins-bot has submitted this change and it was merged.
Change subject: Include family name in assertion
......................................................................
Include family name in assertion
If a family module contains an invalid character an
assertion is raised, however it doesnt indicate which
family module is incorrectly named.
Change-Id: I337ff16663a3d875a7dd56679a869ae82499db1c
---
M pywikibot/family.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Mpaa: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/family.py b/pywikibot/family.py
index ce3f6c4..0faff3c 100644
--- a/pywikibot/family.py
+++ b/pywikibot/family.py
@@ -896,7 +896,7 @@
fam = config.family
assert all(x in NAME_CHARACTERS for x in fam), \
- 'Name of family must be ASCII character'
+ 'Name of family %s must be ASCII characters and digits' % fam
if fam in Family._families:
return Family._families[fam]
--
To view, visit https://gerrit.wikimedia.org/r/265225
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I337ff16663a3d875a7dd56679a869ae82499db1c
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Mpaa <mpaa.wiki(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot <>