Revision: 7110 Author: alexsh Date: 2009-08-04 21:29:45 +0000 (Tue, 04 Aug 2009)
Log Message: ----------- disable update main family in default way, remove -nomain and add -upmain to enable it
Modified Paths: -------------- trunk/pywikipedia/maintenance/update_namespaces.py
Modified: trunk/pywikipedia/maintenance/update_namespaces.py =================================================================== --- trunk/pywikipedia/maintenance/update_namespaces.py 2009-08-04 21:28:28 UTC (rev 7109) +++ trunk/pywikipedia/maintenance/update_namespaces.py 2009-08-04 21:29:45 UTC (rev 7110) @@ -3,7 +3,7 @@ both the generic family.py and the site-specific family.
options: - -nomain Don't modify the main family.py + -upmain Modify the main family.py, too. -wikimedia Update all the wikimedia families """ # @@ -103,11 +103,11 @@
if __name__ == '__main__': try: - update_main_family = True + update_main_family = False update_wikimedia = False for arg in wikipedia.handleArgs(): - if arg == '-nomain': - update_main_family = False + if arg == '-upmain': + update_main_family = True elif arg == '-wikimedia': update_wikimedia = True