[Moin-devel] CVS: MoinMoin wikiaction.py,1.58,1.59

J?rgen Hermann jhermann at users.sourceforge.net
Wed Mar 13 14:47:06 EST 2002


Update of /cvsroot/moin/MoinMoin
In directory usw-pr-cvs1:/tmp/cvs-serv13318

Modified Files:
	wikiaction.py 
Log Message:
"action=content" for transclusion into static web pages


Index: wikiaction.py
===================================================================
RCS file: /cvsroot/moin/MoinMoin/wikiaction.py,v
retrieving revision 1.58
retrieving revision 1.59
diff -C2 -r1.58 -r1.59
*** wikiaction.py	11 Mar 2002 23:25:48 -0000	1.58
--- wikiaction.py	13 Mar 2002 22:46:25 -0000	1.59
***************
*** 364,367 ****
--- 364,375 ----
  
  
+ def do_content(pagename, form):
+     webapi.http_headers()
+     page = Page(pagename)
+     print '<!-- Transclusion of %s -->' % webapi.getQualifiedURL(page.url())
+     page.send_page(form, count_hit=0, content_only=1)
+     sys.exit(0)
+ 
+ 
  def do_edit(pagename, form):
      Page(pagename).send_editor(form)





More information about the Moin-devel mailing list