[Moin-user] how to get 'action=' to the link

Juergen Hermann jh at web.de
Thu Oct 30 14:34:09 EST 2003


On Tue, 28 Oct 2003 10:33:27 +0100 (CET), Robert Groenewegen wrote:

>Anyone with an idea how to do this?

grep has.

>grep =edit *.py
Page.py:        print wikiutil.link_tag(wikiutil.quoteWikiname(self.page_name)+'
?action=edit',
Page.py:                print wikiutil.link_tag("%s?action=edit&template=%s" % (

PageEditor.py:        base_uri = "%s?action=edit" % wikiutil.quoteWikiname(self.
page_name)
config.py:<a href="%(scriptname)s/%(pagename)s?action=edit" title="Edit"><img sr
c="%(url)s/img/moin-edit.gif" alt="Edit" width="12" height="12" border="0" hspac
e="2" align="right"></a>
wikiutil.py:            Page(pagename).url("action=edit"))
wikiutil.py:            request.write(link_tag(quoteWikiname(pagename)+'?action=
edit', _('EditText')),


Page(pagename).url("action=edit") is obviously the nicest and most clean way. 
And as we all can see, there's WAY too much ways for creating links in moin.



Ciao, Jürgen






More information about the Moin-user mailing list