Attachment 'minimun_graphviz4moin_fix_for_1.9.x.patch'

Download

   1 --- ../MoinGraphViz-1.0rc4/umoin/MoinLegacy.py	2008-09-21 12:30:16.000000000 +0800
   2 +++ MoinMoin/support/umoin/MoinLegacy.py	2010-10-27 16:45:19.253333324 +0800
   3 @@ -26,7 +26,8 @@
   4          key = method.__name__
   5          if not hasattr(target, key): setattr(target, key, method)
   6  
   7 -    from MoinMoin import wikiutil, request
   8 +    from MoinMoin import wikiutil 
   9 +    from MoinMoin.web import request
  10  
  11      for method in (send_title, send_footer):
  12          install_method(method, wikiutil)
  13 @@ -34,6 +35,8 @@
  14      req = request.RequestBase
  15      if not hasattr(req, 'http_headers') and hasattr(req, 'emit_http_headers'):
  16          req.http_headers = req.emit_http_headers
  17 +    else:
  18 +        req.http_headers = lambda s:()
  19  
  20  inject_backward_compatibility()
  21  
  22 --- ../MoinGraphViz-1.0rc4/wiki/data/plugin/action/MoinAttachmentsDeletion/main.py	2008-11-20 03:57:48.000000000 +0800
  23 +++ wiki/data/plugin/action/MoinAttachmentsDeletion/main.py	2010-10-27 16:52:45.339999989 +0800
  24 @@ -90,8 +90,7 @@
  25      page = request.page
  26      folder = page.getPagePath('attachments')
  27  
  28 -    action = request.form.pop('action')
  29 -    items = request.form.items()
  30 +    items = [i for i in request.form.items() if i[0] != 'action']
  31  
  32      messages = []
  33      ##request.write('<pre>%s</pre>' % items)

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.
  • [get | view] (2010-03-25 08:52:27, 213.8 KB) [[attachment:2010-03-25-164854_858x273_scrot.png]]
  • [get | view] (2010-03-25 09:20:38, 69.2 KB) [[attachment:2010-03-25-171909_719x555_scrot.png]]
  • [get | view] (2010-10-23 10:24:04, 14.1 KB) [[attachment:dot_tools_not_found_error.png]]
  • [get | view] (2010-10-27 09:18:53, 5.2 KB) [[attachment:error_notice_for_1.0rc4.patch]]
  • [get | view] (2010-10-27 09:25:16, 1.3 KB) [[attachment:minimun_graphviz4moin_fix_for_1.9.x.patch]]
  • [get | view] (2010-07-30 08:42:09, 51.9 KB) [[attachment:moin-graphviz-erro-2010-07-30-121804_780x382_scrot.png]]
  • [get | view] (2010-10-23 10:24:41, 30.5 KB) [[attachment:syntax_error_in_dot_script.png]]
  • [get | view] (2010-03-26 15:50:07, 41.3 KB) [[attachment:zoomq-2010-03-26-234934_899x399_scrot.png]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.