John Vandenberg has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/243334

Change subject: Change "PyWikiBot" to "Pywikibot"
......................................................................

Change "PyWikiBot" to "Pywikibot"

It's like using "WikiPedia"

Change-Id: Ic06ad7716bbd18a697bc934bb9c3d4134d4db716
(manually cherry picked from commit eb96486)
---
M pywikibot/page.py
M tests/link_tests.py
2 files changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/34/243334/1

diff --git a/pywikibot/page.py b/pywikibot/page.py
index 33bbace..5be034b 100644
--- a/pywikibot/page.py
+++ b/pywikibot/page.py
@@ -4599,7 +4599,7 @@
             except SiteDefinitionError as e:
                 raise SiteDefinitionError(
                     u'{0} is not a local page on {1}, and the interwiki prefix 
'
-                    '{2} is not supported by PyWikiBot!:\n{3}'.format(
+                    '{2} is not supported by Pywikibot!:\n{3}'.format(
                     self._text, self._site, prefix, e))
             else:
                 t = t[t.index(u":"):].lstrip(u":").lstrip(u" ")
diff --git a/tests/link_tests.py b/tests/link_tests.py
index 83020ff..aa25b16 100644
--- a/tests/link_tests.py
+++ b/tests/link_tests.py
@@ -882,7 +882,7 @@
         self.assertRaisesRegex(
             Error,
             'bugzilla:1337 is not a local page on wikipedia:en, and the '
-            'interwiki prefix bugzilla is not supported by PyWikiBot!',
+            'interwiki prefix bugzilla is not supported by Pywikibot!',
             link.parse)
 
     def test_other_wiki_prefix(self):
@@ -891,7 +891,7 @@
         self.assertRaisesRegex(
             Error,
             'bulba:this-will-never-work is not a local page on wikipedia:en, '
-            'and the interwiki prefix bulba is not supported by PyWikiBot!',
+            'and the interwiki prefix bulba is not supported by Pywikibot!',
             link.parse)
 
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic06ad7716bbd18a697bc934bb9c3d4134d4db716
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: 2.0
Gerrit-Owner: John Vandenberg <[email protected]>

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

Reply via email to