Page MenuHomePhabricator

Short URLs for page actions such as /history/Title (Enable wgActionPaths at WMF)
Open, NormalPublic

Description

With the move to dual-licensing with CC-by-sa, reusers should link back to the history.

I propose nice URLs for the history pages, so we don't end up with things peppered with "?" and "&" and "=" printed on mugs, travel guides, etc. e.g. http://en.wikipedia.org/history/Xenu instead of http://en.wikipedia.org/w/index.php?title=Xenu&action=history .

(Obviously, reusers *could* put up their own history page. But making compliance easier is likely to make it better.)

I filed this as an enhancement of Wikimedia's installation, rather that of MediaWiki itself, as it's mostly mod_rewrite config. It would of course be nice if the software did this by default when short URLs are enabled, but that may really be a further enhancement.


See also:
T18659: Add short permalink route for revision oldid (e.g. /revision/123)

Details

Reference
bz17981

Event Timeline

bzimport raised the priority of this task from to Normal.
bzimport set Reference to bz17981.
bzimport added a subscriber: Unknown Object (MLST).

bugs wrote:

It's technically possible, see the Wikitech site: http://wikitech.wikimedia.org/history/Main_Page

Cf bug 16659. Not really a dupe though.

brion added a comment.Mar 16 2009, 5:51 PM

Rob, don't set this up quite yet -- I think I want to float a few sample configs before we commit to URLs.

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 13 2016, 10:15 AM
Krinkle updated the task description. (Show Details)Apr 29 2017, 3:04 AM
Krinkle removed a subscriber: wikibugs-l-list.

I just found this lovely related notes page https://wikitech.wikimedia.org/wiki/Action_paths and hence I came looking for why this task idea, or the alternative T14619: Use article path URLs for editing, previewing skins, etc., hadn't been made default since I last looked at them (idk!?).

I also found T208328: If url has a title, then users should see the clean urls (not the script path) which provides a bunch of nice examples of how the latter already works, just isn't default yet.

I'm noting it all here, in case any prove useful to nudging something forward. :)

Krinkle renamed this task from Short URLs for history pages (set up wgActionPaths for Wikimedia sites) to Short URLs for page actions such as /history/Title (Enable wgActionPaths at WMF).Jan 26 2019, 7:24 AM