Apache OpenOffice (AOO) Bugzilla – Issue 82151
Shortcut URL for Wiki
Last modified: 2016-04-07 08:12:08 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.
Created attachment 50171 [details] Sample source code of Short Cut functionality for Mediawiki
Reset QA Contact to new default
This is today part of core mediawiki