http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11130
Revision: 11130
Author: xqt
Date: 2013-02-25 13:17:03 +0000 (Mon, 25 Feb 2013)
Log Message:
-----------
Update documentation
Modified Paths:
--------------
trunk/pywikipedia/maintenance/test_namespaces.py
Modified: trunk/pywikipedia/maintenance/test_namespaces.py
===================================================================
--- trunk/pywikipedia/maintenance/test_namespaces.py 2013-02-25 13:04:55 UTC (rev 11129)
+++ trunk/pywikipedia/maintenance/test_namespaces.py 2013-02-25 13:17:03 UTC (rev 11130)
@@ -4,12 +4,19 @@
This utility's primary use is to find all mismatches between the namespace
naming in the family files and the language files on the wiki servers.
-If the -all parameter is used, it runs through all known languages in a family.
+You may use the following options:
--langs and -families parameters may be used to check comma-seperated languages/families.
+-all Run through all known languages in a family
-If the -wikimedia parameter is used, all Wikimedia families are checked.
+-langs Check comma-seperated languages. If neighter this option nor -all
+ option is given, it checks the default language given by maylang in
+ your user-config.py
+-families Check comma-seperated families
+
+-wikimedia All Wikimedia families are checked
+
+
Examples:
python testfamily.py -family:wiktionary -lang:en