[Pywikipedia-l] SVN: [4910] trunk/pywikipedia/pagegenerators.py

wikipedian at svn.wikimedia.org wikipedian at svn.wikimedia.org
Wed Jan 16 22:49:30 UTC 2008


Revision: 4910
Author:   wikipedian
Date:     2008-01-16 22:49:30 +0000 (Wed, 16 Jan 2008)

Log Message:
-----------
added docu for -cat:catname|fromtitle

Modified Paths:
--------------
    trunk/pywikipedia/pagegenerators.py

Modified: trunk/pywikipedia/pagegenerators.py
===================================================================
--- trunk/pywikipedia/pagegenerators.py	2008-01-16 21:06:15 UTC (rev 4909)
+++ trunk/pywikipedia/pagegenerators.py	2008-01-16 22:49:30 UTC (rev 4910)
@@ -17,8 +17,14 @@
 
 parameterHelp = """\
 -cat              Work on all pages which are in a specific category.
-                  Argument can also be given as "-cat:categoryname".
+                  Argument can also be given as "-cat:categoryname" or
+                  as "-cat:categoryname|fromtitle".
 
+-subcat           Like -cat, but also includes pages in subcategories of the
+                  given category.
+                  Argument can also be given as "-subcat:categoryname" or
+                  as "-subcat:categoryname|fromtitle".
+
 -uncat            Work on all pages which are not categorised.
 
 -uncatcat         Work on all categories which are not categorised.
@@ -72,10 +78,6 @@
 -prefixindex      Work on pages commencing with a common prefix.  Argument
                   may also be given as "-prefixindex:namespace:pagename".
 
--subcat           Like -cat, but also includes pages in subcategories of the
-                  given category.
-                  Argument can also be given as "-subcat:categoryname".
-
 -transcludes      Work on all pages that use a certain template.
                   Argument can also be given as "-transcludes:Template:Title".
 





More information about the Pywikipedia-l mailing list