From: Roan Kattouw Date: Wed, 10 Sep 2008 13:30:42 +0000 (+0000) Subject: Tweaks for r40686, r40687: X-Git-Tag: 1.31.0-rc.0~45381 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=35c661f308230d229246f889a062a016793d3162;p=lhc%2Fweb%2Fwiklou.git Tweaks for r40686, r40687: * Instead of type=boolean, just use false (that's the way it's done everywhere else) * Remove bug number from RELEASE-NOTES entry; bug is in no way related to rnrandom --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 46d06c1224..e953e65e38 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -231,7 +231,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 15527) action=rollback can now revert anonymous editors * (bug 15535) prop=info&inprop=protection doesn't list pre-1.10 protections if the page is also protected otherwise (1.10+ style or cascading) -* (bug 14746) list=random now has &rnredirect parameter, to get random redirects. +* list=random now has rnredirect parameter, to get random redirects. === Languages updated in 1.14 === diff --git a/includes/api/ApiQueryRandom.php b/includes/api/ApiQueryRandom.php index 08fb2d4605..e7b8bf46f7 100644 --- a/includes/api/ApiQueryRandom.php +++ b/includes/api/ApiQueryRandom.php @@ -130,9 +130,7 @@ if (!defined('MEDIAWIKI')) { ApiBase :: PARAM_MAX => 10, ApiBase :: PARAM_MAX2 => 20 ), - 'redirect' => array( - ApiBase :: PARAM_TYPE => 'boolean', - ), + 'redirect' => false, ); }