261
edits
No edit summary |
(Updated to reflect 1.39.4 is the latest supported LTS version of MediaWiki) |
||
Line 216: | Line 216: | ||
Note: You can change the version of the MediaWiki docker image used by changing the FROM line. | Note: You can change the version of the MediaWiki docker image used by changing the FROM line. | ||
<syntaxhighlight lang="dockerfile"> | <syntaxhighlight lang="dockerfile"> | ||
FROM mediawiki:1. | FROM mediawiki:1.39.4 | ||
COPY ./extensions /var/www/html/extensions | COPY ./extensions /var/www/html/extensions | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 222: | Line 222: | ||
==== Advanced ==== | ==== Advanced ==== | ||
Note: You can change the version installed by changing: | Note: You can change the version installed by changing: | ||
* '''ENV MEDIAWIKI_MAJOR_VERSION 1. | * '''ENV MEDIAWIKI_MAJOR_VERSION 1.41''' | ||
* '''ENV MEDIAWIKI_VERSION 1. | * '''ENV MEDIAWIKI_VERSION 1.41.1''' | ||
* '''ENV MW_VERSION | * '''ENV MW_VERSION REL1_41''' | ||
To change to version 1. | To change to version 1.39 (LTS until Nov 2025) you can substitute 1.39, 1.39.4, and REL1_39 for the values above. | ||
Copy the following to '''/srv/wiki/build/Dockerfile''' | Copy the following to '''/srv/wiki/build/Dockerfile''' | ||
Line 316: | Line 316: | ||
# Version | # Version | ||
ENV MEDIAWIKI_MAJOR_VERSION 1. | ENV MEDIAWIKI_MAJOR_VERSION 1.39 | ||
ENV MEDIAWIKI_VERSION 1. | ENV MEDIAWIKI_VERSION 1.39.4 | ||
ENV MW_VERSION= | ENV MW_VERSION=REL1_39 | ||
# Home folder location | # Home folder location |