Manual:Short URL/Docker
Appearance
Unflavored Docker images (e.g. mediawiki:1.42
not mediawiki:1.42-fpm
) come with Apache preconfigured for short URLs. (You can examine the respective Dockerfile to see precisely where and how it is configured, e.g. Dockerfile for Mediawiki 1.42.)
As such, only changes to LocalSettings.php
are required to configure short URLs.
$wgArticlePath = "/wiki/$1"; // gives e.g. example.org/wiki/Page_title