jenkins-bot has submitted this change and it was merged.

Change subject: [doc] remove unsupported -f option
......................................................................


[doc] remove unsupported -f option

- -f option is not supported but well known -family option could be used
- -o option does the same as common -lang option

Bug: T137274
Change-Id: Iaa0eb7524baef654687905c0296217ff4e13d6d3
---
M scripts/replicate_wiki.py
1 file changed, 7 insertions(+), 3 deletions(-)

Approvals:
  Mpaa: Looks good to me, approved
  Legoktm: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/scripts/replicate_wiki.py b/scripts/replicate_wiki.py
index 44b37af..fd27032 100755
--- a/scripts/replicate_wiki.py
+++ b/scripts/replicate_wiki.py
@@ -5,7 +5,11 @@
 
 Example:
 
-    python pwb.py replicate_wiki [-r] -ns 10 -f wikipedia -o nl li fy
+    python pwb.py replicate_wiki [-r] -ns 10 -family:wikipedia -o nl li fy
+
+or
+
+    python pwb.py replicate_wiki [-r] -ns 10 -family:wikipedia -lang:nl li fy
 
 to copy all templates from an nlwiki to liwiki and fywiki. It will show which
 pages have to be changed if -r is not present, and will only actually write
@@ -26,7 +30,7 @@
 --replace         you will only get an overview page)
 
 -o                original wiki
---original
+--original        (you may use -lang:<code> option instead)
 
 destination_wiki  destination wiki(s)
 
@@ -38,7 +42,7 @@
 """
 #
 # (C) Kasper Souren, 2012-2013
-# (C) Pywikibot team, 2013-2014
+# (C) Pywikibot team, 2013-2016
 #
 # Distributed under the terms of the MIT license.
 #

-- 
To view, visit https://gerrit.wikimedia.org/r/293906
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iaa0eb7524baef654687905c0296217ff4e13d6d3
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: Mpaa <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to