From e6cf4db8943efa94d7e8c294ab2242ef5f60f1f6 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Wed, 26 Dec 2007 17:51:21 +0000 Subject: [PATCH] (bug 12413) meta=userinfo missing tag --- RELEASE-NOTES | 1 + includes/api/ApiQueryUserInfo.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 9fe10acb74..a162aacca4 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -383,6 +383,7 @@ Full API documentation is available at http://www.mediawiki.org/wiki/API * Added list=allcategories module * (bug 12321) API list=blocks reveals private data * Fix output of wfSajaxSearch +* (bug 12413) meta=userinfo missing tag === Languages updated in 1.12 === diff --git a/includes/api/ApiQueryUserInfo.php b/includes/api/ApiQueryUserInfo.php index b653c47411..6857ca7dbd 100644 --- a/includes/api/ApiQueryUserInfo.php +++ b/includes/api/ApiQueryUserInfo.php @@ -75,7 +75,7 @@ class ApiQueryUserInfo extends ApiQueryBase { } } - $result->addValue(null, $this->getModuleName(), $vals); + $result->addValue("query", $this->getModuleName(), $vals); } protected function getAllowedParams() { -- 2.20.1