jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/405581 )
Change subject: [cleanup] always use ¶ms; for pagegenerators options inclusion ......................................................................
[cleanup] always use ¶ms; for pagegenerators options inclusion
All scripts use ¶ms; token or include pagegenerators options except interwiki.py. Use the same token for all scripts.
Change-Id: I6f3437c7ae31f79d8ec06c8e427dd9aafabc0686 --- M docs/conf.py M scripts/interwiki.py 2 files changed, 6 insertions(+), 6 deletions(-)
Approvals: Framawiki: Looks good to me, approved jenkins-bot: Verified
diff --git a/docs/conf.py b/docs/conf.py index 83c04f8..60cfe23 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """Configuration file for Sphinx.""" # -# (C) Pywikibot team, 2015-2017 +# (C) Pywikibot team, 2015-2018 # # Distributed under the terms of the MIT license. # @@ -260,7 +260,7 @@ if os.path.sep + "scripts" + os.path.sep not in obj.__file__: return for index, line in enumerate(lines): - if line in ('¶ms;', '&pagegenerators_help;'): + if line == '¶ms;': lines[index] = ('This script supports use of ' ':py:mod:`pywikibot.pagegenerators` arguments.') elif line == '&fixes-help;': diff --git a/scripts/interwiki.py b/scripts/interwiki.py index b1bca2f..33b67e2 100755 --- a/scripts/interwiki.py +++ b/scripts/interwiki.py @@ -12,7 +12,7 @@
These command-line arguments can be used to specify which pages to work on:
-&pagegenerators_help; +¶ms;
-days: Like -years, but runs through all date pages. Stops at Dec 31. If the argument is given in the form -days:X, @@ -337,8 +337,8 @@ # (C) Rob W.W. Hooft, 2003 # (C) Daniel Herding, 2004 # (C) Yuri Astrakhan, 2005-2006 -# (C) xqt, 2009-2017 -# (C) Pywikibot team, 2007-2017 +# (C) xqt, 2009-2018 +# (C) Pywikibot team, 2007-2018 # # Distributed under the terms of the MIT license. # @@ -366,7 +366,7 @@ unicode = str
docuReplacements = { - '&pagegenerators_help;': pagegenerators.parameterHelp + '¶ms;': pagegenerators.parameterHelp }