Content deleted Content added
Updating source) (bot |
Updating source) (bot |
||
Line 1:
Source as of 09:
== Sandbot1.py ==
Line 24:
import sys
import os
import builtins
import ceterach
Line 29 ⟶ 30:
import mwparserfromhell as mwparser
builtins.print = lambda *args, **kwargs: None
def main():
Line 165 ⟶ 168:
# there's probably a way to use MediaWiki.iterator(), but too lazy
res = self.api.call(action="query", prop="revisions", titles=box.title, rvprop="timestamp", limit="2")
str_stamp =
box_stamp = self.parse_date(str_stamp)
if box_stamp < (now - three_min):
|