jenkins-bot has submitted this change and it was merged.
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(-)
Approvals:
Yurik: Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: I914190c538e0786bd98065e6b42f91c8b53b76f0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ZeroPortal
Gerrit-Branch: master
Gerrit-Owner: Yurik <[email protected]>
Gerrit-Reviewer: Dr0ptp4kt <[email protected]>
Gerrit-Reviewer: Jhobs <[email protected]>
Gerrit-Reviewer: Yurik <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits