[HOME PAGE] [STORES] [CLASSICISTRANIERI.COM] [FOTO] [YOUTUBE CHANNEL]


Bug 268 – Short-hand link / URL for referring to specific version

Last modified: 2014-11-17 10:35:40 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 268 - Short-hand link / URL for referring to specific version
Short-hand link / URL for referring to specific version
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
unspecified
All All
: Normal enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 181
Blocks: 800
  Show dependency treegraph
 
Reported: 2004-09-01 16:00 UTC by Rowan Collins [IMSoP]
Modified: 2014-11-17 10:35 UTC (History)
6 users (show)

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


Attachments

Description Rowan Collins [IMSoP] 2004-09-01 16:00:19 UTC
As mentioned in Bug 181, it is a good idea for citations to be able to refer to
a particular version of an article. While this is already possible for all but
the latest version, the required URL is somewhat unwieldy. There is also no way
of doing this with an internal link - i.e. in discussing a page, you have to use
the [URL label] syntax, as though it was an outside page.

One scheme which would seem fairly simple would be for the system to take a page
title of [[Foo@123]] to mean "Article name: Foo; Revision: 123". Obviously, it
would be even nicer if we could refer to dates somehow, but that would require
some kind of fuzzy search to find the nearest matching revision. If bug 181 is
closed, we would be able to use this style of URL throughout for referring to a
particular revision.

I think there is a Feature Request matching this in Sourceforge somewhere: if I
have time, I'll copy it to here.
Comment 1 Rowan Collins [IMSoP] 2005-04-18 17:58:22 UTC
It occurs to me that the permanent reference doesn't actually need a title - if
the page has been moved, it won't match anyway, even though the revision_id is
still valid. Obviously a date-based link would have to have the title in, and
just fail if the page had been moved, but I'm not sure that's so useful anyway.

It looks, though, like "@" is (now?) allowed in page titles, so we can't use
that for our special references after all. Maybe a special (namespage/interwiki
style) prefix, like "revision:" or "old:". Something like [[Foo::123]] might
also work, presumably with [[::123]] being the same.
Comment 2 lɛʁi לערי ריינהארט 2005-10-14 16:47:53 UTC
(In reply to comment #1)
> It occurs to me that the permanent reference doesn't actually need a title - if
> the page has been moved, it won't match anyway, even though the revision_id is
> still valid. Obviously a date-based link would have to have the title in, and
> just fail if the page had been moved, but I'm not sure that's so useful anyway.

http://en.wikipedia.org/w/index.php?oldid=15908939 works
*title* in http://en.wikipedia.org/w/index.php?title=Foo&oldid=15908939 is more
or less an indication
Comment 3 Roan Kattouw 2008-02-03 21:19:56 UTC
How about making [[Special:Oldrevision/15908939]] a 403 (Redirect) to index.php?oldid=15908939 ?
Comment 4 Roan Kattouw 2008-02-03 22:08:08 UTC
(In reply to comment #3)
> a 403 (Redirect) to
As pointed out on IRC, that should be 203. I obviously know nothing about HTTP response codes.
Comment 5 Happy-melon 2010-12-27 00:08:20 UTC
(In reply to comment #3)
> How about making [[Special:Oldrevision/15908939]] a 403 (Redirect) to
> index.php?oldid=15908939 ?

Done as [[Special:PermanentLink]] in r79036.

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


Contents Listing Alphabetical by Author:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Unknown Other

Contents Listing Alphabetical by Title:
# A B C D E F G H I J K L M N O P Q R S T U V W Y Z Other

Medical Encyclopedia

Browse by first letter of topic:


A-Ag Ah-Ap Aq-Az B-Bk Bl-Bz C-Cg Ch-Co
Cp-Cz D-Di Dj-Dz E-Ep Eq-Ez F G
H-Hf Hg-Hz I-In Io-Iz J K L-Ln
Lo-Lz M-Mf Mg-Mz N O P-Pl Pm-Pz
Q R S-Sh Si-Sp Sq-Sz T-Tn To-Tz
U V W X Y Z 0-9

Biblioteca - SPANISH

Biblioteca Solidaria - SPANISH

Bugzilla

Ebooks Gratuits

Encyclopaedia Britannica 1911 - PDF

Project Gutenberg: DVD-ROM 2007

Project Gutenberg ENGLISH Selection

Project Gutenberg SPANISH Selection

Standard E-books

Wikipedia Articles Indexes

Wikipedia for Schools - ENGLISH

Wikipedia for Schools - FRENCH

Wikipedia for Schools - SPANISH

Wikipedia for Schools - PORTUGUESE

Wikipedia 2016 - FRENCH

Wikipedia HTML - CATALAN

Wikipedia Picture of the Year 2006

Wikipedia Picture of the Year 2007

Wikipedia Picture of the Year 2008

Wikipedia Picture of the Year 2009

Wikipedia Picture of the Year 2010

Wikipedia Picture of the Year 2011