Last modified: 2006-01-06 01:03:25 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 4498 - Creating a wikilink from permanent link
Creating a wikilink from permanent link
Product: MediaWiki
Classification: Unclassified
Redirects (Other open bugs)
Macintosh Mac OS X 10.4
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-01-05 22:27 UTC by David Levinson
Modified: 2006-01-06 01:03 UTC (History)
0 users

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


Description David Levinson 2006-01-05 22:27:22 UTC
== Ampersands in wikilinks ==

As part of the move towards a stable version of articles, we would like to create wikilinks to particular versions of 
the article. (e.g. [[Article/Stable]] would be a redirect to a particular article version).

I can't seem to create a wikilink from the '''Permanent link''' from the link on the left side toolbox to do this. I.e.  
#REDIRECT [[permanent link]] from the /Stable ... /Stable should this be a redirect to permanent link.

To demonstrate, I tried this with [[Common Unix Printing System/Stable]] as #REDIRECT  
[[Common_Unix_Printing_System&oldid=32844867]] ... but that doesn't work, it gives this address:

which implies the article isn't there, but replace %26 with & in the address bar (and delete the "&action=edit) and it 
works, giving what I want:
[ http://]

i.e. there is a problem with the ampersand in the wikilink or in REDIRECT or the combination of ampersand and 
oldid= (&oldid= gets rendered in the address bar as %26oldid%3D which does not get recognized as the same 
Comment 1 Ævar Arnfjörð Bjarmason 2006-01-05 22:38:25 UTC
INVALID, there's isn't a problem with it, you're not supposed to link to it like
that (use the URL syntax) and redirecting to specific revisions is not supported
Comment 2 David Levinson 2006-01-05 23:01:26 UTC
The URL syntax is not supported in features like #REDIRECT.  There should be some way within wikipedia to 
redirect to a particular article version. This is going to be very important for article validation and stable 
versions to avoid forking. Perhaps it should be a feature request rather than a bug, but that capability should 
be in the software. How difficult is something like this to implement?

Comment 3 Brion Vibber 2006-01-06 01:03:25 UTC
That would not be supported in redirects. A redirect will take you to some article; what version of it you're 
looking it is a separate question.

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