Skip to content

Commit

Permalink
mw 1.42 fixes including Gadgets (#855)
Browse files Browse the repository at this point in the history
* femiwiki: Bump extensions to 1.5.2

* femiwiki: Gadget configuration has breaking changes

* Update README.md
  • Loading branch information
lens0021 authored Jun 30, 2024
1 parent 11f7f3d commit ff4502c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dockers/femiwiki/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion dockers/femiwiki/LocalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 4 additions & 0 deletions dockers/femiwiki/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# femiwiki

## v1.2.3

- Bump femiwiki/femiwiki-extensions to v1.5.2

## v1.2.2

- `chmod` before executing scripts
Expand Down

0 comments on commit ff4502c

Please sign in to comment.