Issue 82151 - Shortcut URL for Wiki
Summary: Shortcut URL for Wiki
Status: CLOSED FIXED_WITHOUT_CODE
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
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-01 17:00 UTC by tora3
Modified: 2016-04-07 08:12 UTC (History)
5 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
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
Motivation
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]

[1]
http://wiki.services.openoffice.org/wiki/Documentation/OOoAuthors_User_Manual/Writer_Guide/Creating_one_file_from_a_master_document_and_its_subdocuments
    Too long!

[2] http://wiki.services.openoffice.org/wiki/Deadlines
    A deadline for what?

[3]
http://wiki.services.openoffice.org/wiki/OpenOffice.org%E6%97%A5%E6%9C%AC%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E4%BC%9A
    What does that mean?

See titles of the pages in the Wiki
http://wiki.services.openoffice.org/mwiki/index.php?title=Special%3AAllpages&from=&namespace=0


Solution 
There might be many solutions. One of them is a shortcut.
With use of shortcut, the URLs listed above would turn to be: 
[1] http://wiki.services.openoffice.org/wiki/?shortcut=xxxxxx
[2] http://wiki.services.openoffice.org/wiki/?shortcut=yyyyyy
[3] http://wiki.services.openoffice.org/wiki/?shortcut=zzzzzz

[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:
http://openoffice-ja.org/wiki/%E3%82%A8%E3%82%AF%E3%82%B9%E3%83%86%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%B3/Sun_Report_Builder
Shortcut: http://openoffice-ja.org/wiki/?shortcut=8380c4

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