From ff4502c24b7c93a9fd9420a43e201d1472823f75 Mon Sep 17 00:00:00 2001 From: Lens0021 / Leslie Date: Sun, 30 Jun 2024 16:56:25 +0900 Subject: [PATCH] mw 1.42 fixes including Gadgets (#855) * femiwiki: Bump extensions to 1.5.2 * femiwiki: Gadget configuration has breaking changes * Update README.md --- dockers/femiwiki/Dockerfile | 2 +- dockers/femiwiki/LocalSettings.php | 3 ++- dockers/femiwiki/README.md | 4 ++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/dockers/femiwiki/Dockerfile b/dockers/femiwiki/Dockerfile index 9e8fb11f..40e17ef4 100644 --- a/dockers/femiwiki/Dockerfile +++ b/dockers/femiwiki/Dockerfile @@ -8,7 +8,7 @@ # FROM --platform=$TARGETPLATFORM ghcr.io/femiwiki/caddy:1.0.0 AS caddy -FROM --platform=$TARGETPLATFORM ghcr.io/femiwiki/femiwiki-extensions:1.5.1 AS extensions +FROM --platform=$TARGETPLATFORM ghcr.io/femiwiki/femiwiki-extensions:1.5.2 AS extensions FROM --platform=$TARGETPLATFORM ghcr.io/femiwiki/mediawiki:3.0.0 diff --git a/dockers/femiwiki/LocalSettings.php b/dockers/femiwiki/LocalSettings.php index 55a6dead..3e6f9228 100644 --- a/dockers/femiwiki/LocalSettings.php +++ b/dockers/femiwiki/LocalSettings.php @@ -588,7 +588,8 @@ // Gadgets wfLoadExtension( 'Gadgets' ); -$wgGadgetsRepoClass = '\MediaWiki\Extension\Gadgets\GadgetDefinitionNamespaceRepo'; +$wgGadgetsRepoClass = '\MediaWiki\Extension\Gadgets\MultiGadgetRepo'; +$wgGadgetsRepo = 'json+definition'; $wgGroupPermissions['interface-admin']['gadgets-edit'] = true; $wgGroupPermissions['interface-admin']['gadgets-definition-edit'] = true; $wgGrantPermissions['editinterface']['gadgets-edit'] = true; diff --git a/dockers/femiwiki/README.md b/dockers/femiwiki/README.md index 0b3c5785..e5481901 100644 --- a/dockers/femiwiki/README.md +++ b/dockers/femiwiki/README.md @@ -1,5 +1,9 @@ # femiwiki +## v1.2.3 + +- Bump femiwiki/femiwiki-extensions to v1.5.2 + ## v1.2.2 - `chmod` before executing scripts