jenkins-bot merged this change.

View Change

Approvals: Mpaa: Looks good to me, approved jenkins-bot: Verified
[doc] Update documentation for deprecatedTemplates

Change-Id: I24ad5cb9224a6f10c48b94816c9695b6c63fbaa2
---
M pywikibot/cosmetic_changes.py
1 file changed, 4 insertions(+), 4 deletions(-)

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 change 481607. To unsubscribe, or for help writing mail filters, visit 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@gno.de>
Gerrit-Reviewer: John Vandenberg <jayvdb@gmail.com>
Gerrit-Reviewer: Mpaa <mpaa.wiki@gmail.com>
Gerrit-Reviewer: jenkins-bot (75)