Revision: 6745 Author: nicdumz Date: 2009-04-28 05:38:58 +0000 (Tue, 28 Apr 2009)
Log Message: ----------- Renaming global.bracketonly into global.parenthesesonly for clarity
Modified Paths: -------------- trunk/pywikipedia/interwiki.py
Modified: trunk/pywikipedia/interwiki.py =================================================================== --- trunk/pywikipedia/interwiki.py 2009-04-28 05:35:32 UTC (rev 6744) +++ trunk/pywikipedia/interwiki.py 2009-04-28 05:38:58 UTC (rev 6745) @@ -495,7 +495,7 @@ strictlimittwo = False needlimit = 0 ignore = [] - bracketonly = False + parenthesesonly = False rememberno = False followinterwiki = True minsubjects = config.interwiki_min_subjects @@ -1546,7 +1546,7 @@ if dictName is not None: wikipedia.output(u'Skipping: %s is an auto entry %s(%s)' % (page.title(),dictName,year)) continue - if globalvar.bracketonly: + if globalvar.parenthesesonly: # Only yield pages that have ( ) in titles if "(" not in page.title(): continue @@ -1887,7 +1887,7 @@ # override configuration config.interwiki_graph = True elif arg == '-bracket': - globalvar.bracketonly = True + globalvar.parenthesesonly = True elif arg == '-localright': globalvar.followinterwiki = False elif arg == '-hintsareright':