Last modified: 2011-03-13 18:05:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 5779 - alternative way to edit very long URLs or redirect URLs
alternative way to edit very long URLs or redirect URLs
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-05-01 12:43 UTC by ssd
Modified: 2011-03-13 18:05 UTC (History)
0 users

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


Description ssd 2006-05-01 12:43:54 UTC
This is an attempt to suggest a compromise between Bug 4891 (wontfix) which is
looking for a way to allow and Bug 1229 where diff columns are badly
messed up by huge urls.

Perhaps a better solution would be to find a better way to embed huge URLs in a
page.  I'm not talking about measly little 80 character URLS, but the huge ones
that end up taking up three or four lines.

Perhaps it would be useful for mediawiki to internally handle url redirection,
maybe even as a separate namespace.  This would have the advantage of moving
huge urls by themselves without relying on external websites to redirect them.

Two types of redirections might be useful:

1. Redirect a small keyword to a huge or commonly used URL.  It would be neat if
mediawiki could inline replace the URL target for these so people would know
where they are going.

2. Redirect sites that need warnings of some sort.  This could probably be done
as a redirect to a regular page with a templated warning followed by a link to
the target site. (this would require  no changes except perhaps creation of
another namespace and/or a policy change)

I'm really asking for a new feature to address the first type of redirect.  I've
long wanted a way to assign an external link to a keyword, and there is
currently no clean way to do it.

Something like [[ext:somewhere else]] would be very nice.
Comment 1 Platonides 2006-05-01 13:41:29 UTC
Your keyword-to-URL can be addressed using the interwiki table. No special steps
need to be added (well, maybe a special page to handle it...). You can see the
list of shortwords used in wikimedia projects at

However, it is not a good system for ''any long address''. Maybe creating a
wikimedia-foundation url shorter that checks against the spam blacklist and can
be removed by wikimedia sysops?
Comment 2 Brion Vibber 2006-05-01 18:18:44 UTC
Just write the URL, it's not that hard.

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