jenkins-bot has submitted this change and it was merged. Change subject: Add description of U+FFFD to illegal title exception ......................................................................
Add description of U+FFFD to illegal title exception Change-Id: If1b9f7fac92222712efd0cc8c320b2c9c2e946f2 --- M pywikibot/page.py 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Ladsgroup: Looks good to me, approved jenkins-bot: Verified diff --git a/pywikibot/page.py b/pywikibot/page.py index 52e792a..fe7ed5f 100644 --- a/pywikibot/page.py +++ b/pywikibot/page.py @@ -2954,7 +2954,7 @@ # This code was adapted from Title.php : secureAndSplit() # if u'\ufffd' in t: - raise pywikibot.Error("Title contains illegal char (\\uFFFD)") + raise pywikibot.Error("Title contains illegal char (\\uFFFD 'REPLACEMENT CHARACTER')") # Replace underscores by spaces t = t.replace(u"_", u" ") -- To view, visit https://gerrit.wikimedia.org/r/80865 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: If1b9f7fac92222712efd0cc8c320b2c9c2e946f2 Gerrit-PatchSet: 1 Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Owner: Merlijn van Deen <valhall...@arctus.nl> Gerrit-Reviewer: Ladsgroup <ladsgr...@gmail.com> Gerrit-Reviewer: Legoktm <legoktm.wikipe...@gmail.com> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits