Attachment 'mapname.diff'
Download 1 --- orig/MoinMoin/action/AttachFile.py
2 +++ mod/MoinMoin/action/AttachFile.py
3 @@ -485,7 +485,9 @@
4 finally:
5 file.close()
6
7 -
8 + # touch attachment directory to invalidate cache if new map is saved
9 + if ext == '.map':
10 + os.utime(getAttachDir(pagename), None)
11
12 def del_file(pagename, request):
13 _ = request.getText
14
15
16 --- orig/MoinMoin/parser/wiki.py
17 +++ mod/MoinMoin/parser/wiki.py
18 @@ -249,7 +249,7 @@
19 except OSError:
20 pass
21 else:
22 - mapid = 'ImageMapOf'+pagename
23 + mapid = 'ImageMapOf'+drawing
24 # replace MAPNAME
25 map = map.replace('%MAPNAME%', mapid)
26 # add alt and title tags to areas
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.