jenkins-bot has submitted this change and it was merged.
Change subject: document changes in standards for command-line arguments
......................................................................
document changes in standards for command-line arguments
scripts that use unnamed arguments to build page titles
(often through lists named titleParts or pageTitle)
are going to change:
http://lists.wikimedia.org/pipermail/pywikipedia-l/2014-June/008905.html
also fixed a typo
Change-Id: I3d0c64bd0f4aac2a2c3cf375d84e77cb364868ad
---
M README-conversion.txt
1 file changed, 13 insertions(+), 1 deletion(-)
Approvals:
John Vandenberg: Looks good to me, approved
jenkins-bot: Verified
diff --git a/README-conversion.txt b/README-conversion.txt
index c034db8..b344c33 100644
--- a/README-conversion.txt
+++ b/README-conversion.txt
@@ -42,7 +42,7 @@
pwb.py maintenance/compat2core [<script to convert>]
and follow the instructions and hints.
-== Python librairies ==
+== Python libraries ==
[Note: the goal will be to package pywikibot with setuptools easy_install,
so that these dependencies will be loaded automatically when the package is
@@ -128,4 +128,16 @@
- contributions(): returns a pywikibot.Timestamp object instead of a Mediawiki one
+=== Command-line arguments ===
+
+Scripts that supported unnamed arguments as titles of pages on which to work,
+now require that those titles be written as standard pagegenerators, e.g.:
+
+ python script.py -page:"A title"
+
+while unlink.py and other scripts that required page titles as main arguments
+now need only that the titles be wrapped in quotes, as:
+
+ python unlink.py "A title"
+
# MORE TO COME #
--
To view, visit
https://gerrit.wikimedia.org/r/147420
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I3d0c64bd0f4aac2a2c3cf375d84e77cb364868ad
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Ricordisamoa <ricordisamoa(a)openmailbox.org>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: Merlijn van Deen <valhallasw(a)arctus.nl>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot <>