jenkins-bot merged this change.
[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.