[Pmwiki-users] include with edit-link

Knut Alboldt mailing
Thu Sep 30 13:07:23 CDT 2004


is it possible to implement a function to display an edit-link (or 
edit-button) of the included file before a a file is included without 
changing pmwiki.php. (pmwiki v1)

e.g.

Main:Page =
----------------------
some text ...
[[include:OtherpagePage EDIT]]
----------------------

will result in
----------------------
some text ...
[Edit-Link or Button for Otherpage]
Text of  OtherpagePage
----------------------

or even more flexible switching the display of the edit button on with a 
tag like
[[include EDIT]]
in the Main.Page.

Also "Edit:$Group.Otherpage" should be enough as an edit-link.

(it would be possible rewriting pmwiki's function ProcessIncludetext, but 
not that's want I want)

If it's not possible in pmwiki v1, would it be in pmwiki v2 ?

Knut




More information about the pmwiki-users mailing list