Page MenuHomePhabricator

Allow enabling of "clean URLs" directly from interface
Open, LowestPublicFeature

Description

Author: francisdinh

Description:
An example of clean URL configurations in Drupal. MediaWiki could have something similar to that.

I would like MediaWiki to include an "index.php eliminator" (i.e. one that replaces http://<wiki-location>/w/index.php/<article> with http://<wiki-location>/wiki/<article>). Drupal has one that eliminates the "?q=" from the url.


Version: unspecified
Severity: enhancement

Attached:

drupalclean.PNG (851×1 px, 69 KB)

Details

Reference
bz19331

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:38 PM
bzimport set Reference to bz19331.

You can already change $wgArticlePath with the Configure extension (I think), but you'd still need to add an Alias or RewriteRule, which is something MediaWiki cannot do. Maybe Configure could be tweaked to make switching between a pretty and a non-pretty $wgArticlePath easier, but I don't think any more can be done.

Oops, didn't mean to close the bug.

francisdinh wrote:

(In reply to comment #1)

You can already change $wgArticlePath with the Configure extension (I think),
but you'd still need to add an Alias or RewriteRule, which is something
MediaWiki cannot do. Maybe Configure could be tweaked to make switching between
a pretty and a non-pretty $wgArticlePath easier, but I don't think any more can
be done.

Maybe the user can manually add the Alias rule, but make MediaWiki "auto write" the $wgArticlePath line when requested.

Throwing this to Configure extension, probably a better place for it to be implemented.

Aklapper lowered the priority of this task from Medium to Lowest.
Aklapper added a subscriber: Aklapper.

[Setting open "Configure" extension bug reports to a lower priority to reflect reality && resetting assignee to nobody (Bugzilla required a default assignee but in Phabricator the extension maintainer is listed as a watcher of the product anyway and will receive notifications)]

MaxSem added a subscriber: MaxSem.

Per T185227: Sunset/archive Configure extension?, Configure is getting archived. Reclassifying as a general MediaWiki configuration feature request.

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