Commit 25d839b3 by murtaugh

fichier as well

parent 6404e4bc
......@@ -25,7 +25,7 @@ def fixurlfilelinks (src, wiki, timestamp=None, phpuploader=None, user=None):
else:
return "[[{0}{1}]]".format(page.name, m.group(2) or "")
pass
return re.sub(r"\[\[(?:File|Image)\:(https?\://.+?)(\|.+)?\]\]", linksub, src)
return re.sub(r"\[\[(?:File|Fichier|Image)\:(https?\://.+?)(\|.+)?\]\]", linksub, src)
def fixlinks (page, wiki, phpuploader=None, user=None):
print ("fixlinks {0}".format(page.name), file=sys.stderr)
......
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