Last modified: 2014-03-08 21:44:45 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 T20696, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18696 - Make some URLs shorter, maybe per user preferences.
Make some URLs shorter, maybe per user preferences.
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-06 15:40 UTC by Purodha Blissenbach
Modified: 2014-03-08 21:44 UTC (History)
5 users (show)

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


Attachments

Description Purodha Blissenbach 2009-05-06 15:40:57 UTC
1. There is a set of gadgets reducing unneccessarily lengthy URLs, see e.g.
http://test.wikipedia.org/wiki/MediaWiki:Gadget-ShortDiff.js
http://test.wikipedia.org/wiki/MediaWiki:Gadget-ShortLink.js
2. Maybe, the longer versinos of these URLs are more instructive, or
more readable for humans, and thus should be preserved.
3. Using JavaScripts to do URL cosmetic and such is both
inefficient and uneconomic.

Solution:
Either use URLs as short as possible anyways, or make URL
style selectable via user preferences, and/or a global setting.
Comment 1 Platonides 2011-03-23 18:58:17 UTC
Gadget-ShortLink.js: Removes the title parameter from permalinks.

Gadget-ShortDiff.js: Strips all parameters but oldid and diff from urls having diff parameter. So usually it will just strip the title. It probably fails for FlaggedRevs urls which have &stable.


The title parameter can generally be removed without problems, but:
a) It makes the link self-describing, by holding the page name you are sent to.
b) It is used if the revision doesn't exist any more. That allows you to at least get the deletion log.

I vote wontfix.
Comment 2 Antoine "hashar" Musso (WMF) 2011-03-23 19:04:02 UTC
I am currently working on a change for MediaWiki to makes URL nicer. The idea is to get ride of &title whenever it is possible directly from the PHP files :-b

The branch is /branches/hashar/prettyURL/ 

So I would vote against incorporating the gadget since it will eventually be obsolete.

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


Navigation
Links