Skip to content

Commit b956ec1

Browse files
committed
Added specific handling for User:Maxim/rmuaa.js
1 parent a56aeaa commit b956ec1

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

check_time_of_last_commit.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
pattern = r'(?:User talk:)([^/\n]+)'
88
for page in pywikibot.Category(site, "Wikipedia usernames with possible policy issues").articles():
99
print(str(page.latest_revision.timestamp) +" " + page.title())
10+
if page.title() == "User:Maxim/rmuaa.js":
11+
continue
1012
m = re.search(pattern, str(page.title()))
1113
user_raw = m.group(1)
1214
user = pywikibot.User(site, user_raw)

remove_blocked.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
site = pywikibot.Site(fam="wikipedia", code="en", user="TheSandBot")
66
pattern = r'(?:User talk:)([^/\n]+)'
77
for page in pywikibot.Category(site, "Wikipedia usernames with possible policy issues").articles():
8+
with open("log.txt", 'a+') as f:
9+
f.write(str(page.title()) + "\n")
10+
if page.title() == "User:Maxim/rmuaa.js":
11+
continue
812
m = re.search(pattern, str(page.title()))
913
user_raw = m.group(1)
1014
user = pywikibot.User(site, user_raw)

0 commit comments

Comments
 (0)