Commit 241063af by murtaugh

testing file fixer

parent 04cd6e2b
......@@ -28,6 +28,7 @@ def fixurlfilelinks (src, wiki, timestamp=None):
return re.sub(r"\[\[File\:(https?\://.+?)(\|.+)?\]\]", linksub, src)
def fixlinks (page, wiki):
print ("fixlinks {0}".format(page.name), file=sys.stderr)
src = page.text()
newsrc = fixurlfilelinks(src, wiki)
if newsrc != src:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment