Utente:Sirbot/Script: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
mNessun oggetto della modifica
Riga 131:
try:
pageText = associatedPage.get()
except Wikipediawikipedia.Error, e:
wikipedia.output(e) # Print the error and skip
continue
Riga 139:
try:
talkText = page.get()
except Wikipediawikipedia.Error, e:
wikipedia.output(e) # Print the error and skip
continue
Riga 146:
wikipedia.showDiff(talkText, newTalkText)
if not always:
choice = 'a' wikipedia.inputChoice(u"Apply the changes?", ['Yes', 'No', 'All'], ['y', 'N', 'a'], 'N')
else:
choice = 'y'
Riga 155:
try:
page.put(newTalkText, u'Bot: Non ci sono immagini: valutazione "d"')
except Wikipediawikipedia.Error, e:
wikipedia.output(e) # Print the error and skip
continue
Riga 200:
try:
pageText = associatedPage.get()
except Wikipediawikipedia.Error, e:
wikipedia.output(e) # Print the error and skip
continue
Riga 208:
try:
talkText = page.get()
except Wikipediawikipedia.Error, e:
wikipedia.output(e) # Print the error and skip
continue
Riga 215:
wikipedia.showDiff(talkText, newTalkText)
if not always:
choice = 'a' wikipedia.inputChoice(u"Apply the changes?", ['Yes', 'No', 'All'], ['y', 'N', 'a'], 'N')
else:
choice = 'y'
Riga 224:
try:
page.put(newTalkText, u'Bot: Non ci sono fonti: valutazione "d"')
except Wikipediawikipedia.Error, e:
wikipedia.output(e) # Print the error and skip
continue