jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/481607 )
Change subject: [doc] Update documentation for deprecatedTemplates
......................................................................
[doc] Update documentation for deprecatedTemplates
Change-Id: I24ad5cb9224a6f10c48b94816c9695b6c63fbaa2
---
M pywikibot/cosmetic_changes.py
1 file changed, 4 insertions(+), 4 deletions(-)
Approvals:
Mpaa: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/cosmetic_changes.py b/pywikibot/cosmetic_changes.py
index 85ff485..56d8011 100755
--- a/pywikibot/cosmetic_changes.py
+++ b/pywikibot/cosmetic_changes.py
@@ -137,18 +137,18 @@
# Use a list with two entries. The first entry will be replaced by the second.
# Examples:
# For removing {{Foo}}, the list must be:
-# (u'Foo', None),
+# ('Foo', None),
#
# The following also works:
-# (u'Foo', ''),
+# ('Foo', ''),
#
# For replacing {{Foo}} with {{Bar}} the list must be:
-# (u'Foo', u'Bar'),
+# ('Foo', 'Bar'),
#
# This also removes all template parameters of {{Foo}}
# For replacing {{Foo}} with {{Bar}} but keep the template
# parameters in its original order, please use:
-# (u'Foo', u'Bar\g<parameters>'),
+# ('Foo', 'Bar\\g<parameters>'),
deprecatedTemplates = {
'wikipedia': {
--
To view, visit
https://gerrit.wikimedia.org/r/481607
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I24ad5cb9224a6f10c48b94816c9695b6c63fbaa2
Gerrit-Change-Number: 481607
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Mpaa <mpaa.wiki(a)gmail.com>
Gerrit-Reviewer: jenkins-bot (75)