Question
Is it possible to place a "link" on a TWiki page, that when clicked, will place me in "edit" on the target page instead of having it rendered?
Environment
--
BradTaylor - 18 Jan 2005
Answer
Yes, put a link to
<a href='https://twiki.org/cgi-bin/edit/TARGET_WEB/TARGET_TOPIC?time=%GMTIME{"$day$hour$minutes$seconds"}'>
(replace TARGET_WEB & TARGET_TOPIC by your value). The GMTIME parameter is here to generate a new url
on each edit to prevent the browser re-using an old contents.
See a sample at:
http://wikix.ilog.fr/wiki/bin/view/Koalaskin_tasklist/WebHome
(teh edit icon provides a direct edit link)
--
ColasNahaboo - 18 Jan 2005
If placed in a skin, write this:
[[%SCRIPTURL%/edit%SCRIPTSUFFIX%/%BASEWEB%/%BASETOPIC%?t=%GMTIME{"$day$hour$minutes$seconds"}%][Edit]]
The "Edit" text can be replaced by an image.
--
PeterThoeny - 19 Jan 2005
We ought provide something simpler and more elegant than this.
%PAGEEDIT{web.topic, "Edit"}% perhaps.
--
MartinCleaver - 19 Jan 2005
or just %EDIT%
--
MattWilkie - 19 Jan 2005