For MediaWiki (recent comments | status changes | tags | authors | states | release notes)
Index: trunk/phase3/includes/api/ApiBlock.php =================================================================== --- trunk/phase3/includes/api/ApiBlock.php (revision 42610) +++ trunk/phase3/includes/api/ApiBlock.php (revision 42611) @@ -115,7 +115,6 @@ public function mustBePosted() { return true; } public function getAllowedParams() { - global $wgBlockAllowsUTEdit; return array ( 'user' => null, 'token' => null, @@ -127,7 +126,7 @@ 'autoblock' => false, 'noemail' => false, 'hidename' => false, - 'allowusertalk' => (bool)$wgBlockAllowsUTEdit, + 'allowusertalk' => false, ); }