Use composer for more extensions
This commit is contained in:
parent
b3d95ee591
commit
1bb55160e0
14
Dockerfile
14
Dockerfile
@ -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 \
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user