Last modified: 2011-08-27 02:04:11 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32266, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30266 - Access articles from site root (remove "wiki/" from URLs) on all Wikimedia wikis
Access articles from site root (remove "wiki/" from URLs) on all Wikimedia wikis
Status: RESOLVED WONTFIX
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Unprioritized enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-07 09:42 UTC by Jan Kucera (Kozuch)
Modified: 2011-08-27 02:04 UTC (History)
12 users (show)

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


Attachments

Description Jan Kucera (Kozuch) 2011-08-07 09:42:51 UTC
Please remove "wiki/" string from URLs of all Wikimedia wikis. Locators will be shorter and hence better memorizable. Also, locators will be created easier when one knows article name only. URL of an article on EN Wikipedia will look like this: http://en.wikipedia.org/Automobile.
Comment 1 Sam Reed (reedy) 2011-08-07 10:00:15 UTC
Have a read of the MediaWiki manual [1]




[1] http://www.mediawiki.org/wiki/Manual:Short_URL
Comment 2 Jan Kucera (Kozuch) 2011-08-07 11:05:14 UTC
A MediaWiki man page is NOT an answer for this problem to me. Tim Berners-Lee may say something, but time goes on and the web evolves. So if you want to stick to his principles, you seem to be a bit yesterday to me. I still think simpler URLs would be a plus here.
Comment 3 Max Semenik 2011-08-07 11:20:39 UTC
Indeed, wiki*.*/wiki/ looks a bit schizophrenic. It is a leftoff from times when there was wikipedia.org/images/, wikipedia.org/tarballs/ and so on. Since these are not used anymore, we can shorten URLs a bit without interferring with other bits and pieces. If the wikipedia.org/Article_Name schema is unacceptable from an ops viewpoint (it's still possible though not advised), we still can shorten URLs to something like:

wikipedia.org/index.php?...
wikipedia.org/w/Article_Name

This might involve the following steps:
1) Relocate the MW root directory to the site root.
2) Turn the previous .php files at w/ into symlinks
3) A year later, set $wgArticlePath to w/ at the same time redirecting the old .php files with rewrite rules.

Although it's a PITA, it (or similar changes) will result in nicer URLs.
Comment 4 Casey Brown 2011-08-09 20:09:04 UTC
Or we could use the things like "/view/" and "/history/". This would probably need some wider discussion before it was implemented though, since it would be kind of a global change for all of URLs everywhere.
Comment 5 Krinkle 2011-08-09 20:10:39 UTC
If anything, we should probably switch to ActionPaths indeed, like the following already do:
* http://wikitech.wikimedia.org/view/Presentations
* https://wiki.toolserver.org/edit/Talk:Main_Page
Comment 6 Helder 2011-08-10 20:48:18 UTC
(In reply to comment #5)
> If anything, we should probably switch to ActionPaths indeed, like the
> following already do:
> * http://wikitech.wikimedia.org/view/Presentations
> * https://wiki.toolserver.org/edit/Talk:Main_Page

I like this idea.
Comment 7 Rich Farmbrough 2011-08-17 11:48:43 UTC
Yes, this is a Good Thing, it will , of course, break just about every piece of third party software that interacts with the existing version.
Comment 8 Roan Kattouw 2011-08-17 11:50:53 UTC
(In reply to comment #7)
> Yes, this is a Good Thing, it will , of course, break just about every piece of
> third party software that interacts with the existing version.
It should be fine if /wiki/Foo remains as a redirect to /view/Foo , right?
Comment 9 p858snake 2011-08-17 11:52:08 UTC
(In reply to comment #7)
> Yes, this is a Good Thing, it will , of course, break just about every piece of
> third party software that interacts with the existing version.

If they use the API like they should, it shouldn't cause that much damage, And if we were to do something like this, we wouldn't just switch it over one night and go for drinks.
Comment 10 Rich Farmbrough 2011-08-17 19:44:14 UTC
Of course, a "suitable transition" means there would be time for drinks AND a pizza. But you are right of course, the API uses /w/ so my alarmism is alarmist - only the relatively few apps that rely on the HTML version of pages should suffer.
Comment 11 MZMcBride 2011-08-17 19:54:07 UTC
This is almost a duplicate of bug 16659.

The best notes about implementing action paths are probably here: <http://wikitech.wikimedia.org/view/Action_paths>.

This has been discussed on the mailing lists a few times. One of the issues with switching to action paths is that they're not currently localizable.
Comment 12 Bawolff (Brian Wolff) 2011-08-17 20:06:04 UTC
This might be a dupe of bug 17981 (Action paths), but it seems the original request is to just have a null path... Thus I'm a bit unclear what this bug is currently "about" so I'm unclear if i should mark as dupe.
Comment 13 MZMcBride 2011-08-17 20:31:58 UTC
Kozuch, can you clarify what's being requested here? Are you trying to have "en.wikipedia.org/Foo"? If so, <http://www.mediawiki.org/wiki/Manual:Wiki_in_site_root_directory> pretty clearly lays out why that's not really a good idea. And if so, this can probably be resolved as "wontfix."

If this bug is simply about removing "wiki/" from the URL (and putting "view/" or whatever in its place), then this bug is a duplicate of bug 17981.

Either way, this bug is likely resolved.
Comment 14 Jan Kucera (Kozuch) 2011-08-18 06:47:31 UTC
My goal is "en.wikipedia.org/Foo". Wontfixing this bug will really disappoint me.
Comment 15 Krinkle 2011-08-27 02:03:55 UTC
Marking wontfix per comment 13 and comment 14.

See bug 17981 for suggestions about using wgActionPaths on Wikimedia wiks (eg. en.wikipedia.org/edit/Sandbox and en.wikipedia.org/view/Sandbox)

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


Navigation
Links