From 35c661f308230d229246f889a062a016793d3162 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Wed, 10 Sep 2008 13:30:42 +0000 Subject: [PATCH] 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 --- RELEASE-NOTES | 2 +- includes/api/ApiQueryRandom.php | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) 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, ); } -- 2.20.1