Use composer for more extensions

This commit is contained in:
Adam Goldsmith 2022-03-18 23:22:06 -04:00
parent b3d95ee591
commit 1bb55160e0
2 changed files with 5 additions and 12 deletions

View File

@ -12,26 +12,16 @@ RUN cd /var/www/html/ && composer update --no-dev
# Needed for making branch name from MEDIAWIKI_MAJOR_VERSION
SHELL ["/bin/bash", "-c"]
# from composer.local.json:
# https://www.mediawiki.org/wiki/Extension:PluggableAuth
RUN git clone --depth 1 -b REL${MEDIAWIKI_MAJOR_VERSION/./_} \
https://gerrit.wikimedia.org/r/mediawiki/extensions/PluggableAuth \
/var/www/html/extensions/PluggableAuth
# https://www.mediawiki.org/wiki/Extension:LDAPProvider
RUN git clone --depth 1 -b REL${MEDIAWIKI_MAJOR_VERSION/./_} \
https://github.com/wikimedia/mediawiki-extensions-LDAPProvider \
/var/www/html/extensions/LDAPProvider
# https://www.mediawiki.org/wiki/Extension:LDAPAuthentication2
# https://www.mediawiki.org/wiki/Extension:LDAPUserInfo
RUN git clone --depth 1 -b REL${MEDIAWIKI_MAJOR_VERSION/./_} \
https://github.com/wikimedia/mediawiki-extensions-LDAPUserInfo \
/var/www/html/extensions/LDAPUserInfo
# https://www.mediawiki.org/wiki/Extension:LDAPAuthentication2
RUN git clone --depth 1 -b REL${MEDIAWIKI_MAJOR_VERSION/./_} \
https://github.com/wikimedia/mediawiki-extensions-LDAPAuthentication2 \
/var/www/html/extensions/LDAPAuthentication2
# https://www.mediawiki.org/wiki/Extension:MobileFrontend
RUN git clone --depth 1 -b REL${MEDIAWIKI_MAJOR_VERSION/./_} \
https://gerrit.wikimedia.org/r/mediawiki/extensions/MobileFrontend \

View File

@ -1,5 +1,8 @@
{
"require": {
"mediawiki/pluggable-auth": "^5.7",
"mediawiki/ldap-provider": "^1.0",
"mediawiki/ldap-authentication-2": "^1.0",
"mediawiki/semantic-media-wiki": "^4.0",
"mediawiki/semantic-scribunto": "^2.0",
"mediawiki/semantic-result-formats": "^4.0",