jenkins-bot has submitted this change and it was merged. 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(-) Approvals: Gilles: Looks good to me, approved Legoktm: Looks good to me, approved jenkins-bot: Verified 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: merged Gerrit-Change-Id: I9c289219c53314970e7af5998c00d6a372bb00cb Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: REL1_25 Gerrit-Owner: Legoktm <legoktm.wikipe...@gmail.com> Gerrit-Reviewer: Gilles <gdu...@wikimedia.org> Gerrit-Reviewer: Legoktm <legoktm.wikipe...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits