Last modified: 2007-09-05 14:40:49 UTC
Hello everyone, I have an idea for a new MediaWiki feature: Linking to an article in the 'edit' mode. Not a normal link like [[foobar]], but a link that adds "&action=edit" to the URL. At the moment, that works with something like <span class="plainlinks">[{{SERVER}}{{localurl:myarticle|action=edit}} linktext]</span> - which is not nice to read in the source code of a page. So here are my proposals: a) Interwiki-Style: something like [[edit:foobar]] b) Magic-word-Style: {{EDITLINK:foobar}} What do you think about that? Perhaps that editlink should also have a special color, so that you know it is an editlink. Thank you for your opinions, saibot834 Ps.: I'm sorry if I did something wrong, this is the first time I use Bugzilla...
(In reply to comment #0) > [{{SERVER}}{{localurl:myarticle|action=edit}} linktext] Easier with: [{{fullurl:myarticle|action=edit}} linktext] And probably easy with a template like {{editlink|myarticle|linktext}}, where Template:Editlink would contain: [{{fullurl:{{{1}}}|action=edit}} {{{2}}}] or something similar. Inclined to WONTFIX.
Ok, a template would also work :) Thanks for your help.