diff --git a/DEVELOPERS.md b/DEVELOPERS.md index 2754939e23f..087876eaee0 100644 --- a/DEVELOPERS.md +++ b/DEVELOPERS.md @@ -129,7 +129,7 @@ docker-compose exec mediawiki php tests/phpunit/phpunit.php Run a single test: ```sh -docker-compose exec mediawiki php tests/phpunit/phpunit.php /path/to/test +docker-compose exec mediawiki php tests/phpunit/phpunit.php ./path/to/test ``` See [PHPUnit Testing][phpunit-testing] on MediaWiki.org for more help. @@ -186,7 +186,8 @@ If you need root on the container to install packages for troubleshooting, you can open a shell as root with `docker-compose exec --user root mediawiki bash`. -#### Using Extensions and Skins +#### Using extensions and skins + Using extensions and skins requires the extension or skin directory to exist in the appropriate folder within the core directory, or added as a volume in `docker-compose.override.yml` diff --git a/docker-compose.yml b/docker-compose.yml index 3d245e381f2..544b1c25bb4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,7 +16,7 @@ services: environment: COMPOSER_CACHE_DIR: '/var/www/html/w/cache/composer' MW_SERVER: 'http://localhost:${MW_DOCKER_PORT:-8080}' - MW_SCRIPT_PATH: '${MW_SCRIPT_PATH:-/w}' + MW_SCRIPT_PATH: '/w' MW_DBPATH: '/var/www/html/w/cache/sqlite' MW_DBTYPE: 'sqlite' MW_LANG: 'en'