Last modified: 2007-09-05 14:40:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 11195 - Linking to an article in 'edit' mode
Linking to an article in 'edit' mode
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-09-05 13:24 UTC by Church of emacs
Modified: 2007-09-05 14:40 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Church of emacs 2007-09-05 13:24:34 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,

Ps.: I'm sorry if I did something wrong, this is the first time I use Bugzilla...
Comment 1 Roan Kattouw 2007-09-05 13:41:46 UTC
(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.
Comment 2 Church of emacs 2007-09-05 14:40:49 UTC
Ok, a template would also work :)

Thanks for your help.

Note You need to log in before you can comment on or make changes to this bug.