r43678 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r43677‎ | r43678 | r43679 >
Date:16:05, 18 November 2008
Author:catrope
Status:ok
Tags:
Comment:
API: (bug 12760) meta=userinfo&uiprop=ratelimits doesn't list group-specific rate limits
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/api/ApiQueryUserInfo.php (modified) (history)

Diff [purge]

Index: trunk/phase3/RELEASE-NOTES
@@ -444,6 +444,8 @@
445445 * (bug 16225) Titles like Talk:Talk:Foo broke apfrom and friends
446446 * meta=siteinfo&siprop=interwikimap no longer throws an exception for empty
447447 sifilter parameter.
 448+* (bug 12760) meta=userinfo&uiprop=ratelimits doesn't list group-specific rate
 449+ limits
448450
449451 === Languages updated in 1.14 ===
450452
Index: trunk/phase3/includes/api/ApiQueryUserInfo.php
@@ -113,6 +113,7 @@
114114 if(!$wgUser->isAnon())
115115 $categories[] = 'newbie';
116116 }
 117+ $categories = array_merge($categories, $wgUser->getGroups());
117118
118119 // Now get the actual limits
119120 $retval = array();

Status & tagging log