Compare commits
No commits in common. "13601d32f57b86215f06bad55aa6f3dc048be3e2" and "184be03d9460bee05ee32d7cd73ebd7fa066f687" have entirely different histories.
13601d32f5
...
184be03d94
3 changed files with 17 additions and 20 deletions
15
Dockerfile
15
Dockerfile
|
@ -1,6 +1,7 @@
|
||||||
FROM mediawiki:1.36
|
FROM mediawiki:1.35
|
||||||
|
|
||||||
ARG COMPOSER_VERSION=2.1.6
|
# Plugins are not compatible with composer 2 yet
|
||||||
|
ARG COMPOSER_VERSION=1.10.21
|
||||||
|
|
||||||
ENV \
|
ENV \
|
||||||
WG_SITENAME="Test Wiki" \
|
WG_SITENAME="Test Wiki" \
|
||||||
|
@ -59,11 +60,11 @@ RUN set -eu; \
|
||||||
# JsonConfig required by Graph.
|
# JsonConfig required by Graph.
|
||||||
RUN set -eu; \
|
RUN set -eu; \
|
||||||
cd /var/www/html/extensions; \
|
cd /var/www/html/extensions; \
|
||||||
curl https://extdist.wmflabs.org/dist/extensions/JsonConfig-REL1_36-609a991.tar.gz |tar -xz; \
|
curl https://extdist.wmflabs.org/dist/extensions/JsonConfig-REL1_35-1b79879.tar.gz |tar -xz; \
|
||||||
curl https://extdist.wmflabs.org/dist/extensions/Graph-REL1_36-67b02d1.tar.gz |tar -xz; \
|
curl https://extdist.wmflabs.org/dist/extensions/Graph-REL1_35-09f0338.tar.gz |tar -xz; \
|
||||||
curl https://extdist.wmflabs.org/dist/extensions/SubPageList3-REL1_36-f5d7175.tar.gz |tar -xz; \
|
curl https://extdist.wmflabs.org/dist/extensions/SubPageList3-REL1_35-622c298.tar.gz |tar -xz; \
|
||||||
curl https://extdist.wmflabs.org/dist/extensions/MsUpload-REL1_36-a6bfb91.tar.gz |tar -xz; \
|
curl https://extdist.wmflabs.org/dist/extensions/MsUpload-REL1_35-5998b96.tar.gz |tar -xz; \
|
||||||
curl https://extdist.wmflabs.org/dist/extensions/TemplateStyles-REL1_36-b82a604.tar.gz |tar -xz
|
curl https://extdist.wmflabs.org/dist/extensions/TemplateStyles-REL1_35-7a40a6a.tar.gz |tar -xz
|
||||||
|
|
||||||
# Install composer packages
|
# Install composer packages
|
||||||
RUN set -eu; \
|
RUN set -eu; \
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"require": {
|
"require": {
|
||||||
"mediawiki/semantic-bundle": "~5.0",
|
"mediawiki/semantic-bundle": "~4.0",
|
||||||
"mediawiki/semantic-scribunto": "~2.1",
|
"mediawiki/semantic-scribunto": "~2.1",
|
||||||
|
|
||||||
"wikimedia/css-sanitizer": "3.0.2"
|
"wikimedia/css-sanitizer": "2.0.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -7,17 +7,6 @@ if ( !defined( 'MEDIAWIKI' ) ) {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
error_reporting(0);
|
|
||||||
# Enable long error messages
|
|
||||||
if (getenv("DEBUG")) {
|
|
||||||
$wgShowExceptionDetails = true;
|
|
||||||
$wgShowDBErrorBacktrace = true;
|
|
||||||
$wgShowSQLErrors = true;
|
|
||||||
error_reporting(E_ALL);
|
|
||||||
ini_set('display_errors', 1);
|
|
||||||
ini_set('display_startup_errors', '1');
|
|
||||||
}
|
|
||||||
|
|
||||||
## Uncomment this to disable output compression
|
## Uncomment this to disable output compression
|
||||||
# $wgDisableOutputCompression = true;
|
# $wgDisableOutputCompression = true;
|
||||||
|
|
||||||
|
@ -167,6 +156,13 @@ enableSemantics( getenv("SEMANTIC_URL") );
|
||||||
# Set Subpages on
|
# Set Subpages on
|
||||||
$wgNamespacesWithSubpages[NS_MAIN] = 1;
|
$wgNamespacesWithSubpages[NS_MAIN] = 1;
|
||||||
|
|
||||||
|
# Enable long error messages
|
||||||
|
if (getenv("DEBUG")) {
|
||||||
|
$wgShowExceptionDetails = true;
|
||||||
|
$wgShowDBErrorBacktrace = true;
|
||||||
|
$wgShowSQLErrors = true;
|
||||||
|
}
|
||||||
|
|
||||||
# Local configuration for MediaWiki
|
# Local configuration for MediaWiki
|
||||||
ini_set( 'max_execution_time', 1000 );
|
ini_set( 'max_execution_time', 1000 );
|
||||||
ini_set('memory_limit', '-1');
|
ini_set('memory_limit', '-1');
|
||||||
|
|
Loading…
Reference in a new issue