You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: speedydeletion.py
+41-81
Original file line number
Diff line number
Diff line change
@@ -11,36 +11,6 @@
11
11
fromshoveimportShove
12
12
file_store=Shove('file://wikiaupload')
13
13
14
-
# def signpage(site,pagename) :
15
-
16
-
# generator = [pywikibot.Page(
17
-
# site,
18
-
# pagename
19
-
# )]
20
-
# # Main Loop
21
-
# for page in generator:
22
-
# print "going to process %s" % page.urlname()
23
-
# try:
24
-
# text = page.get()
25
-
# except:
26
-
# text = ""
27
-
28
-
# m = re.search("==archived on speedy deletion wikia==" , text)
29
-
# if not(m):
30
-
# m = re.search("==archived==" , text)
31
-
# if not( m):
32
-
# summary="notification of speedy deletion page"
33
-
# newname =page.urlname()
34
-
# newname = newname.replace('Talk%3A', '')
35
-
# newtext= "==archived on speedy deletion wikia==\nThis endangered article has been archived here http://speedydeletion.wikia.com/wiki/%s so that it is not lost if deleted. Changes made after the archiving will not be copied.\n~~~~" % newname
0 commit comments