jenkins-bot has submitted this change and it was merged.
Change subject: Introduce weblinkchecker-badurl_msg
......................................................................
Introduce weblinkchecker-badurl_msg
We need this message to tell the users
the URL could not be checked at all
due to its incorrect format - as opposed
to 404 or some other error condition
Change-Id: I33c04301685050bc3daced8d6e7599b21e33f7fe
---
M weblinkchecker.py
M weblinkchecker/en.json
M weblinkchecker/qqq.json
3 files changed, 4 insertions(+), 0 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/weblinkchecker.py b/weblinkchecker.py
index 6b02833..ee41813 100644
--- a/weblinkchecker.py
+++ b/weblinkchecker.py
@@ -2,12 +2,14 @@
msg = {
'en': {
'weblinkchecker-archive_msg': u'The web page has been saved by the
Internet Archive. Please consider linking to an appropriate archived version:
[%(URL)s].',
+ 'weblinkchecker-badurl_msg': u'The link provided does not appear to
be a valid URL',
'weblinkchecker-caption': u'Dead link',
'weblinkchecker-summary': u'Bot: Reporting unavailable external
link',
'weblinkchecker-report': u'During several automated bot runs the
following external link was found to be unavailable. Please check if the link is in fact
down and fix or remove it in that case!',
},
'qqq': {
'weblinkchecker-archive_msg': u'weblinkchecker report message for web
archives',
+ 'weblinkchecker-badurl_msg': u'weblinkchecker report message if the
link in the article is not a valid URL',
'weblinkchecker-caption': u'The weblinkchecker report\'s
caption',
'weblinkchecker-summary': u'Edit summary for weblinkchecker
report',
'weblinkchecker-report': u'The weblinkchecker report',
diff --git a/weblinkchecker/en.json b/weblinkchecker/en.json
index b2b9d36..a322664 100644
--- a/weblinkchecker/en.json
+++ b/weblinkchecker/en.json
@@ -1,5 +1,6 @@
{
"weblinkchecker-archive_msg": "The web page has been saved by the
Internet Archive. Please consider linking to an appropriate archived version:
[%(URL)s].",
+ "weblinkchecker-badurl": "The link provided does not seem to be a valid
URL",
"weblinkchecker-caption": "Dead link",
"weblinkchecker-summary": "Bot: Reporting unavailable external
link",
"weblinkchecker-report": "During several automated bot runs the following
external link was found to be unavailable. Please check if the link is in fact down and
fix or remove it in that case!"
diff --git a/weblinkchecker/qqq.json b/weblinkchecker/qqq.json
index 5df3d60..43d0eb9 100644
--- a/weblinkchecker/qqq.json
+++ b/weblinkchecker/qqq.json
@@ -1,6 +1,7 @@
{
"@metadata": [],
"weblinkchecker-archive_msg": "weblinkchecker report message for web
archives",
+ "weblinkchecker-badurl_msg": "weblinkchecker report message if the link
in the article is not a valid URL",
"weblinkchecker-caption": "The weblinkchecker report's
caption",
"weblinkchecker-summary": "Edit summary for weblinkchecker report",
"weblinkchecker-report": "The weblinkchecker report"
--
To view, visit
https://gerrit.wikimedia.org/r/175632
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I33c04301685050bc3daced8d6e7599b21e33f7fe
Gerrit-PatchSet: 4
Gerrit-Project: pywikibot/i18n
Gerrit-Branch: master
Gerrit-Owner: saper <saper(a)saper.info>
Gerrit-Reviewer: Merlijn van Deen <valhallasw(a)arctus.nl>
Gerrit-Reviewer: Siebrand <siebrand(a)kitano.nl>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot <>