From b3d95ee591ba2c78b1894c14e9dadd91e2cc36f6 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Fri, 18 Mar 2022 23:16:33 -0400 Subject: [PATCH] Add SemanticApprovedRevs extension --- Dockerfile | 4 ---- LocalSettings.php | 1 + composer.local.json | 2 ++ 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 99a8f92..fa66ed1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -79,10 +79,6 @@ RUN git clone --depth 1 -b REL${MEDIAWIKI_MAJOR_VERSION/./_} \ https://gerrit.wikimedia.org/r/mediawiki/extensions/Variables \ /var/www/html/extensions/Variables -# https://www.mediawiki.org/wiki/Extension:Approved_Revs -RUN git clone --depth 1 -b REL${MEDIAWIKI_MAJOR_VERSION/./_} \ - https://gerrit.wikimedia.org/r/mediawiki/extensions/ApprovedRevs \ - /var/www/html/extensions/ApprovedRevs RUN a2enmod proxy_http proxy_html COPY apache-mediawiki.conf /etc/apache2/sites-available/000-default.conf diff --git a/LocalSettings.php b/LocalSettings.php index 1115357..4688553 100644 --- a/LocalSettings.php +++ b/LocalSettings.php @@ -225,6 +225,7 @@ wfLoadExtension( 'CSS' ); wfLoadExtension( 'Widgets' ); wfLoadExtension( 'ApprovedRevs' ); +wfLoadExtension( 'SemanticApprovedRevs' ); wfLoadExtension( 'Diagrams' ); $wgDiagramsServiceUrl ='https://wiki.claremontmakerspace.org/diagrams'; diff --git a/composer.local.json b/composer.local.json index 52ccb4c..8d12f26 100644 --- a/composer.local.json +++ b/composer.local.json @@ -3,6 +3,8 @@ "mediawiki/semantic-media-wiki": "^4.0", "mediawiki/semantic-scribunto": "^2.0", "mediawiki/semantic-result-formats": "^4.0", + "mediawiki/approved-revs": "^1.7", + "mediawiki/semantic-approved-revs": "^0.9", "mediawiki/data-transfer": "^1.0", "samwilson/diagrams": "^0.9" }