https://bugzilla.wikimedia.org/show_bug.cgi?id=21572

--- Comment #26 from Krinkle <krinklem...@gmail.com> 2012-11-18 13:36:28 UTC ---
(In reply to comment #25)
> (In reply to comment #9)
> > > Do you think it would take many lines of code to implement a similar
> > > functionality for [[Special:Newest/190868168]] ?
> > 
> > No. It would be easy to code. But i don't think it's the path to go.
> > If its only reason is for "safe links", curid already does that. Manually 
> > creating links to Special:Newest wouldn't be easier than creating curid 
> > links.
> 
> Platonides, how safe is curid? 
> 

curid used to  be a little unstable with pages that are deleted and then
undeleted again, however it is pretty safe right now. However there is a
fundamental difference between a permanent link to a page (for users) and a
permanent link to an article on a certain subject (readers).

> (Krinkle on bug 42085 comment 14)
> > (In reply to comment #13)
> > > Some short urls, which works:
> > > 
> > > https://en.wikipedia.org?curid=15580374
> > > https://en.wikipedia.org?diff=521573414
> > > 
> > 
> > These have been discussed in the past and should never be used as a short 
> > url.
> > Diff is a difference view, hardly useful. I assume that should be "oldid"
> > instead:
> > https://en.wikipedia.org?oldid=521573414
> > 
> > Which is a permanent link to a certain revision, however revisions can be
> > removed, hidden or merged. And one probably wants to link to the latest 
> > version
> > of an article.
> > '"curid" isn't very useful either because that links to the pageid, and
> > articles can be renamed, deleted, re-created, merged, and split. What we 
> > want
> > is link to a title, this is what the shorturl extension does. It creates a
> > short unique ID for titles.
> 
> ...which is wrong at least for renames because Roan said:
> 
> (In comment #11)
> > The point of curid links is to be able to
> > link to a page even after a move, so that if [[Foo]] was moved to [[Bar]]
> > later, a URL like http://en.wikipedia.org/w/index.php?curid=123 would point 
> > to
> > the new name.


As said, the shorturl discussed on bug 42085 is of different nature, I've
therefore undid that erroneous dependency. In an editing context, you want a
permanent link to the page, with its history and revisions (e.g. for patrolling
an edit, or linking to a history page and what not).

However if you want a permanent link for sharing to the article about Foo, then
we use title ids[1] (not page ids), which is what the ShortUrl extension
implements. See bug 42085 for more info on that.

[1] For the exact reason Roan says. Because when you link to Foo, then you
don't want to be linking to "Foo (disambiguation)" when it has been renamed, or
if it was nominated for deletion and re-created 2 years later, you're linking
to the title (not page) which is independent from time and space.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to