Op 12 apr 2011, om 21:35 heeft Bryan Tong Minh het volgende geschreven:
On Tue, Apr 12, 2011 at 9:32 PM, Bryan Tong Minh
<bryan.tongminh(a)gmail.com> wrote:
> On Tue, Apr 12, 2011 at 8:55 PM, Krinkle <krinklemail(a)gmail.com>
> wrote:
>> *
http://ta.wikipedia.org/?curid=2810 (already works)
>> *
http://ta.wikipedia.org/wiki/Special:ShortUrl/262 (proposal; //
>> base_convert ( 2810, 10, 36 ); )
>>
> I think "permalink" is the common used term for this kind of url. So
> Special:Permalink/262.
Well, permalink is a permanent link to a certain revision (oldid)
And has been in de sidebar for a while now and a specialpage-redirect
has been implemented in 1.18.
However a permanent link to a revision or a short link to the current
page
are two very different things.
Short-url intends to make a link to [[Article name]] available in a
shortform,
especially useful for non-latin article names.
Permanent-url intends to make the same content available under a
permanent
location, the fact that the url (can [1]) be shorter is a side-effect.
If a page is modified (new revision), the permalink will be outdated.
...if a page recreated the permanent will no longer work at all.
So summarized:
* Imho a ShortUrl-specialpage extension is redundant as the few
characters
saved with base64 instead of the page-id (not revision id) directly is
not much
and only introduced a new number/variable into the mix of things to
keep track of
* Short page-id links already exist by using /?curid=<pageid>
* Pageid is not a reliable way to link to an "article" of a certain
subject.
--
Krinkle