saper has uploaded a new change for review. https://gerrit.wikimedia.org/r/175632
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 2 files changed, 2 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/pywikibot/i18n refs/changes/32/175632/1 diff --git a/weblinkchecker.py b/weblinkchecker.py index 6b02833..b818d0a 100644 --- a/weblinkchecker.py +++ b/weblinkchecker.py @@ -2,6 +2,7 @@ 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 address [$(URL)s] 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!', diff --git a/weblinkchecker/en.json b/weblinkchecker/en.json index b2b9d36..46725bc 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 address [%(URL)s] 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!" -- To view, visit https://gerrit.wikimedia.org/r/175632 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I33c04301685050bc3daced8d6e7599b21e33f7fe Gerrit-PatchSet: 1 Gerrit-Project: pywikibot/i18n Gerrit-Branch: master Gerrit-Owner: saper <sa...@saper.info> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits