jenkins-bot has submitted this change and it was merged.
Change subject: Fix bugs in textlib.py ......................................................................
Fix bugs in textlib.py
* Fixed undefined name Error * Fixed broken link * Renamed PyWikipediaBot to Pywikibot
Change-Id: Ie14d14edb7e92f8463bf4983804cb3e54ff012a0 --- M pywikibot/textlib.py 1 file changed, 3 insertions(+), 3 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/textlib.py b/pywikibot/textlib.py index 751634c..6624158 100644 --- a/pywikibot/textlib.py +++ b/pywikibot/textlib.py @@ -774,11 +774,11 @@ if site is None: site = pywikibot.getSite() if site.sitename() == 'wikipedia:de' and "{{Personendaten" in oldtext: - raise Error("""\ -The PyWikipediaBot is no longer allowed to touch categories on the German + raise pywikibot.Error("""\ +The Pywikibot is no longer allowed to touch categories on the German Wikipedia on pages that contain the Personendaten template because of the non-standard placement of that template. -See http://de.wikipedia.org/wiki/Hilfe_Diskussion:Personendaten/Archiv/bis_2006#... +See http://de.wikipedia.org/wiki/Hilfe_Diskussion:Personendaten/Archiv/1#Positio... """) separator = site.family.category_text_separator iseparator = site.family.interwiki_text_separator