Yurik has uploaded a new change for review. https://gerrit.wikimedia.org/r/179394
Change subject: Fixed getAllowedAccountIds() to list all configs for admins ...................................................................... Fixed getAllowedAccountIds() to list all configs for admins Change-Id: I914190c538e0786bd98065e6b42f91c8b53b76f0 --- M includes/LuaLibrary.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ZeroPortal refs/changes/94/179394/1 diff --git a/includes/LuaLibrary.php b/includes/LuaLibrary.php index 0731607..3a4db7f 100644 --- a/includes/LuaLibrary.php +++ b/includes/LuaLibrary.php @@ -128,7 +128,7 @@ */ public function getAllowedAccountIds() { $configs = array(); - $name = $this->getUsernameInt(); + $name = $this->isSiteAdminInt() ? true : $this->getUsernameInt(); if ( $name ) { ApiZeroPortal::iterateAllConfigs( false, function ( ZeroConfig $content, $title ) use ( $name, &$configs ) { -- To view, visit https://gerrit.wikimedia.org/r/179394 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I914190c538e0786bd98065e6b42f91c8b53b76f0 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ZeroPortal Gerrit-Branch: master Gerrit-Owner: Yurik <yu...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits