Legoktm has uploaded a new change for review. https://gerrit.wikimedia.org/r/237970
Change subject: registration: Fix merging of $wgRevokePermissions ...................................................................... registration: Fix merging of $wgRevokePermissions It's the same as $wgGroupPermissions. Change-Id: I9c289219c53314970e7af5998c00d6a372bb00cb --- M includes/registration/ExtensionRegistry.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/70/237970/1 diff --git a/includes/registration/ExtensionRegistry.php b/includes/registration/ExtensionRegistry.php index 4e690aa..8ea12ee 100644 --- a/includes/registration/ExtensionRegistry.php +++ b/includes/registration/ExtensionRegistry.php @@ -167,7 +167,7 @@ // Special case $wgHooks and $wgExtensionCredits, which require a recursive merge. // Ideally it would have been taken care of in the first if block though. $GLOBALS[$key] = array_merge_recursive( $GLOBALS[$key], $val ); - } elseif ( $key === 'wgGroupPermissions' ) { + } elseif ( $key === 'wgGroupPermissions' || $key === 'wgRevokePermissions' ) { // First merge individual groups foreach ( $GLOBALS[$key] as $name => &$groupVal ) { if ( isset( $val[$name] ) ) { -- To view, visit https://gerrit.wikimedia.org/r/237970 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9c289219c53314970e7af5998c00d6a372bb00cb Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: REL1_25 Gerrit-Owner: Legoktm <legoktm.wikipe...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits