Help talk:Permanent link
|the Wikipedia Help Project|
Is oldid unique?
It seems oldid must not be unique, since you have to tell it the fullpagename. Is it unique per namespace at least? I should probably go to MediaWiki for this question.
- It is unique. Provided the oldid is valid, the shorter URL
http://en.wikipedia.org/w/index.php?oldid=NNNNNNNhas the same effect. The title is needed so that the software can return a better error message if the oldid refers to a page that has been deleted - compare
- I think this page is aimed at readers, not editors, so it wouldn't be appropriate to mention the templates that format oldids. -- John of Reading (talk) 06:29, 2 April 2013 (UTC)
- The audience is readers, OK. Great.
- The URL missing the ?title parameter says it was "Main page". Maybe the deleted pages always say "Main page". Now I wonder if the software has the oldids in circular files that enact a delayed reuse. (BTW, I found at Help:URL#URLs_of_Wikipedia_pages they say explicitly Note that the version ID is unique across all pages, so the title parameter here has no effect, and can in fact be omitted.) In any case, thank you. — CpiralCpiral 00:12, 3 April 2013 (UTC)
The actual URLs of permanent links to Wikipedia pages (provided by Wikipedia software) have the following long form (including an example):
rather than the [short form:]
The short form saves 13 characters. For instance, I use it in programming documentation because often its lines are limited in length.
I notice that the short form isn't browser-redirected to the long form. Therefore the short form is no less efficient in terms of HTTP (I'm sure).
There may be URL *rewrites* happening locally in Wikipedia's webserver software (such as Apache) but I'm sure its processing time is *extremely* trivial, relatively speaking. Presumably, furthermore, since most people don't use permanent links, they must only be a *very* tiny fraction of all the web requests to Wikipedia.
Any (hypothetical) extra computer time (spent automatically rewriting the URLs of permanent links) is especially unimportant, relative to the time human beings will spend reading (and cutting and pasting) these permanent link URLs.
Of course, when a person makes a decision to use a permanent link, it is for a special, human purpose such as making a written document. Therefore, many people actually will read these URL strings as text (at least briefly).
Unquestionably, both forms should continue to work when submitted by browsers.
I assume Wikipedia has some good reason to continue to choose the long form when its viewers request new permanent links.
Semi-protected edit request on 21 September 2015
|This edit request has been answered. Set the
- Not done as you are in the wrong place, since this page is only to discuss improvements to Help:Permanent link.
If you want to suggest a change, please request this on the talk page of the relevant article in the form "Please replace XXX with YYY" or "Please add ZZZ between PPP and QQQ".
Please also cite reliable sources to back up your request, without which no information should be added to, or changed in, any article. - Arjayay (talk) 07:52, 21 September 2015 (UTC)