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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T13195, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11195 - Linking to an article in 'edit' mode
Linking to an article in 'edit' mode
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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,
   saibot834

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.


Navigation
Links