Utente:BimBot/Scripts: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Riga 95:
allpages = wikiSite.lonelypages(number = 10000, repeat = True)
for i in allpages:
#if i.title()[0] in ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I']:
#continue
if i.isRedirectPage() or i.isDisambig():
wikipedia.output("%s is a Redirect or a disambig, skip..." % i.title())
print i
continue
refs = i.getReferences()
Riga 121:
else:
newtxt = u'{{O||mese={{subst:CURRENTMONTH}} {{subst:CURRENTYEAR}}}}\n' + oldtxt
print wikipedia.output("\t\t>>> %s <<<" % i.title())
wikipedia.showDiff(oldtxt, newtxt)
choice = 'y'