Back to index

moin  1.9.0~rc2
showtags.py
Go to the documentation of this file.
00001 # -*- coding: iso-8859-1 -*-
00002 """
00003     MoinMoin - "showtags" action
00004 
00005     This action shows all sync tags related to a specific page.
00006 
00007     @copyright: 2006 MoinMoin:AlexanderSchremmer
00008     @license: GNU GPL, see COPYING for details.
00009 """
00010 
00011 from MoinMoin import config
00012 from MoinMoin.Page import Page
00013 from MoinMoin.wikisync import TagStore
00014 
00015 def execute(pagename, request):
00016     request.mimetype = "text/plain"
00017 
00018     page = Page(request, pagename)
00019     tags = TagStore(page)
00020     request.write(tags.dump())
00021