Mediawiki: Unterschied zwischen den Versionen
Aus Nerdberg
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
Zeile 42: | Zeile 42: | ||
== Markdown == | |||
[https://www.mediawiki.org/wiki/Extension:WikiMarkdown] | [https://www.mediawiki.org/wiki/Extension:WikiMarkdown Anleitung] |
Aktuelle Version vom 18. Februar 2023, 22:19 Uhr
Das Wiki läuft auf dem LXC 123.
Interner DNS: web.nerdberg.de
NGINX mit PHP-FPM
Datenbank: bigbrother.nerdberg.de
Mediawiki wurde wie folgt gebaut (ehemaliges Dockerfile hier, in echt natürlich händisch):
FROM mediawiki:1.39.1 RUN apt-get clean && apt-get update && apt-get install -y libzip-dev RUN git clone --depth 1 https://gerrit.wikimedia.org/r/mediawiki/extensions/Widgets.git /var/www/html/extensions/Widgets RUN chmod a+rw /var/www/html/extensions/Widgets/compiled_templates #RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --version=1.10.16 RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer WORKDIR /var/www/html RUN COMPOSER_ALLOW_SUPERUSER=1 composer config -g --no-plugins allow-plugins.wikimedia/composer-merge-plugin true RUN COMPOSER_ALLOW_SUPERUSER=1 composer config -g --no-plugins allow-plugins.composer/installers true RUN COMPOSER_ALLOW_SUPERUSER=1 composer config -g --no-plugins allow-plugins.wikimedia/composer-merge-plugin true RUN COMPOSER=composer.local.json COMPOSER_ALLOW_SUPERUSER=1 composer require --no-update mediawiki/chameleon-skin:~4.0 RUN COMPOSER_ALLOW_SUPERUSER=1 composer update RUN COMPOSER_ALLOW_SUPERUSER=1 composer update mediawiki/chameleon-skin --no-dev -o RUN COMPOSER_ALLOW_SUPERUSER=1 COMPOSER=composer.local.json composer require --no-update mediawiki/bootstrap:~4.0 RUN COMPOSER_ALLOW_SUPERUSER=1 composer update mediawiki/bootstrap --no-dev -o WORKDIR /var/www/html/extensions/Widgets RUN composer update --no-dev RUN curl -SL https://extdist.wmflabs.org/dist/extensions/PluggableAuth-REL1_39-e7de886.tar.gz | tar -xzf - -C /var/www/html/extensions WORKDIR /var/www/html/extensions/PluggableAuth RUN composer update --no-dev RUN curl -SL https://extdist.wmflabs.org/dist/extensions/OpenIDConnect-REL1_39-0fefe8b.tar.gz | tar -xzf - -C /var/www/html/extensions WORKDIR /var/www/html/extensions/OpenIDConnect RUN composer update --no-dev RUN curl -SL https://extdist.wmflabs.org/dist/extensions/OAuth-REL1_39-8481fe0.tar.gz | tar -xzf - -C /var/www/html/extensions RUN curl -SL https://extdist.wmflabs.org/dist/extensions/UserMerge-REL1_39-58f3f7f.tar.gz | tar -xzf - -C /var/www/html/extensions RUN curl -SL https://extdist.wmflabs.org/dist/extensions/LookupUser-REL1_39-f19c00e.tar.gz | tar -xzf - -C /var/www/html/extensions RUN composer update --no-dev WORKDIR /var/www/html/ RUN docker-php-ext-install zip