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#Position_der_Personendaten_am_.22Artikelende.22
+See 
http://de.wikipedia.org/wiki/Hilfe_Diskussion:Personendaten/Archiv/1#Position_der_Personendaten_am_.22Artikelende.22
 """)
     separator = site.family.category_text_separator
     iseparator = site.family.interwiki_text_separator

-- 
To view, visit https://gerrit.wikimedia.org/r/104194
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie14d14edb7e92f8463bf4983804cb3e54ff012a0
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Pyfisch <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to