Last modified: 2014-09-02 17:08:24 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 T63851, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61851 - Allow/enforce lowercase, hyphenated page URLs
Allow/enforce lowercase, hyphenated page URLs
Status: UNCONFIRMED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-24 16:00 UTC by Mike
Modified: 2014-09-02 17:08 UTC (History)
2 users (show)

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


Attachments

Description Mike 2014-02-24 16:00:47 UTC
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.
Comment 1 Bartosz Dziewoński 2014-02-24 16:11:29 UTC
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

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


Navigation
Links