On Mon, Sep 16, 2013 at 3:12 PM, Gabriel Wicke gwicke@wikimedia.org wrote:
Hi,
while tinkering with a RESTful content API I was reminded of an old pet peeve of mine: The URLs we use in Wikimedia projects are relatively long and ugly. I believe that we now have the ability to clean this up if we want to.
It would be nice to
drop the /wiki/ prefix https://en.wikipedia.org/Foo instead of https://en.wikipedia.org/wiki/Foo
use simple action urls https://en.wikipedia.org/Foo?action=history instead of https://en.wikipedia.org/w/index.php?title=Foo&action=history
The details of this proposal are discussed in the following RFC:
https://www.mediawiki.org/wiki/Requests_for_comment/Clean_up_URLs
I'm looking forward to your input!
< https://www.mediawiki.org/wiki/Manual:Short_URL#URL_like_-_example.com.2FPag...
"*Warning:* this method may create an unstable URL structure and leave some page names unusable on your wiki. See Manual:Wiki in site root directoryhttps://www.mediawiki.org/wiki/Manual:Wiki_in_site_root_directory. Please see the article Cool URIs don't changehttp://www.w3.org/Provider/Style/URIand take a few minutes to devise a stable URL structure for your web site before hopping willy-nilly into rewrites into the URL root."
- Ryan