Issue 82151 - Shortcut URL for Wiki
Summary: Shortcut URL for Wiki
Alias: None
Product: Infrastructure
Classification: Infrastructure
Component: Website general issues (show other issues)
Version: current
Hardware: All Windows, all
: P3 Trivial with 1 vote (vote)
Target Milestone: ---
Assignee: jan iversen
QA Contact: issues@ooo
Depends on:
Reported: 2007-10-01 17:00 UTC by tora3
Modified: 2016-04-07 08:12 UTC (History)
5 users (show)

See Also:
Latest Confirmation in: ---
Developer Difficulty: ---

Sample source code of Short Cut functionality for Mediawiki (3.90 KB, text/plain)
2007-12-07 09:41 UTC, tora3
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description tora3 2007-10-01 17:00:06 UTC
Since Wiki uses a title of a page as a part of URL for the page, 
the URL could be descriptive if the title was comprehensible.

The URL, however, could be problematic in the certain conditions:
 - The length of URL could be too long beyond normal width of e-mail. [1]
 - To avoid a long URL, some people name a title with few words. [2]
 - A title with non-ASCII characters makes a cryptic URL. [3]

    Too long!

    A deadline for what?

    What does that mean?

See titles of the pages in the Wiki

There might be many solutions. One of them is a shortcut.
With use of shortcut, the URLs listed above would turn to be: 

[1] The length of URL can fit to that of e-mail. 
[2] If the real URL is better than its shortcut one, simply use it.
[3] Since a URL with %xx notation is not descriptive from the 
    beginning, a shortcut URL could be better than the original one. 

Sample Implementation 
Real URL:

Look at the top of the page, a shortcut URL of the page is printed. 
A user can copy the shortcut URL and paste it in his e-mail. 
Accessing to the shortcut URL, a recipient will see its real page.

Sample Source Code
I would like to directly send a source code of the sample implementation 
to the person who would be assigned to this issue for security reasons.
Comment 1 tora3 2007-12-07 09:41:26 UTC
Created attachment 50171 [details]
Sample source code of Short Cut functionality for Mediawiki
Comment 2 stx123 2011-03-23 16:16:17 UTC
Reset QA Contact to new default
Comment 3 jan iversen 2012-12-20 22:44:32 UTC
This is today part of core mediawiki