Page MenuHomePhabricator

Allow/enforce lowercase, hyphenated page URLs
Open, LowestPublicFeature

Description

Author: mcb

Description:
Currently pages have URLs like:

http://example.org/wiki/Page_title

In some contexts it may be preferred to use formats like:

http://example.org/wiki/page-title
http://wiki.example.com/page-title
http://examplewiki.com/page-title

So, this is an enhancement request for options to allow and require all-lowercase URLs (specifically, for the page portion) and to set the allowed separator(s), for example the hyphen instead of the underscore.

It would be desirable to have such URL customization options in the HTML UI or via LocalSettings.php, not with complex configurations in multiple places.

To make it really easy, there could be an option to set the URL format to "Wikipedia Style", "WordPress Style" or "Custom".

Thank you for your hard work and consideration.


Version: unspecified
Severity: enhancement

Details

Reference
bz61851

Related Objects

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 2:50 AM
bzimport set Reference to bz61851.
bzimport added a subscriber: Unknown Object (MLST).

If you really want it, uou could do this by setting $wgCapitalLinks=false, $wgRestrictDisplayTitle=false, then using the lowercase-hyphenated variant as actual page names and adding {{DISPLAYTITLE:Capitalcase Standard}} to each page.

(Of course that's not a very pleasant solution, but it looks workable to me.)

https://www.mediawiki.org/wiki/Manual:$wgCapitalLinks
https://www.mediawiki.org/wiki/Manual:$wgRestrictDisplayTitle

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:14 AM