Last modified: 2013-08-27 13:50:18 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T55264, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53264 - ShortUrl should not break on page moves
ShortUrl should not break on page moves
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
ShortUrl (Other open bugs)
unspecified
All All
: Lowest major (vote)
: ---
Assigned To: Yuvi Panda
:
Depends on:
Blocks: 41348
  Show dependency treegraph
 
Reported: 2013-08-23 17:52 UTC by Siddhartha Ghai
Modified: 2013-08-27 13:50 UTC (History)
1 user (show)

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


Attachments

Description Siddhartha Ghai 2013-08-23 17:52:28 UTC
As of now, short url points to a particular wiki url, not to a particular page. This means that if a page is moved without leaving a redirect, the short url breaks. I'm not offering examples since I confirmed this from the Panda's (YuviPanda's) mouth.

I consider this a major bug (and if I'd known about it before deployment, I'd have considered it a blocker).

The whole point of this extension is to provide short urls for indic (and other) wikis which can be used outside of the wmf projects on the internet for linking to wiki pages without the hassle of the terrible unicode encoding. I don't see how that's possible with short urls breaking with every page move since that means that if a person uses a short url today (e.g on facebook to say he created! a wikipedia article) and an admin moves the article without a redirect (to conform to a naming guideline or something), the person's facebook status would effectively break since the url would point to a deleted page. It is also possible that said person is embarrased/annoyed enough to never return to editing wikipedia.

I think it is reasonable to expect these links to be permanent in nature so that they can be used on the web without the fear of going kaput in a few months.
Comment 1 Yuvi Panda 2013-08-23 18:21:53 UTC
ShortUrl is literally just that - takes a long title, makes it short. It does not (and should not, IMO!) have any extra logic for following pages around. We already have such a thing to not break URLs - Redirects! If you are moving something without a redirect, then that is an explicit decision made to break the URL. If you don't want to break the URL, leave a redirect. This is as permanent as the canonical URL, and I think that is good enough. 

Also, there is already a 'permalink' facility, which you can see in the sidebar. If you really want a 'permanent' link, you should use that. ShortURL was simply built to avoid hex-encoding issues.

I'd close as WONTFIX if nobody objects.

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


Navigation
Links