##language:zh ''' 修改 macro ''' ::-- ZoomQuiet [<>] = Include = * 不知道为什么 1.3.3 的MoinMoin 的 Include 宏的输出虽然可以完好的将包含页面的标题也反馈到主页面来,但是没有了原先那样的快速修改入口链接 * 不爽直!通过快速阅读脚本修改了它! * {{{#!python #...MoinMoin\macro\Include.py # 217 行左右 # output the included page strfile = StringIO.StringIO() request.redirect(strfile) try: cid = request.makeUniqueID("Include_%s" % wikiutil.quoteWikinameFS(inc_page.page_name)) inc_page.send_page(request, content_only=1, content_id=cid) # Zoomq:: fixed inclued page quick enter link cntpage = strfile.getvalue() cntpage += "["+inc_name+"]" #result.append(strfile.getvalue()) result.append(cntpage) finally: request.redirect() }}}