Tweaks for r40686, r40687:
authorRoan Kattouw <catrope@users.mediawiki.org>
Wed, 10 Sep 2008 13:30:42 +0000 (13:30 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Wed, 10 Sep 2008 13:30:42 +0000 (13:30 +0000)
* 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
includes/api/ApiQueryRandom.php

index 46d06c1..e953e65 100644 (file)
@@ -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 ===
 
index 08fb2d4..e7b8bf4 100644 (file)
@@ -130,9 +130,7 @@ if (!defined('MEDIAWIKI')) {
                                ApiBase :: PARAM_MAX => 10,
                                ApiBase :: PARAM_MAX2 => 20
                        ),
-                       'redirect' => array(
-                               ApiBase :: PARAM_TYPE => 'boolean',
-                       ),
+                       'redirect' => false,
                );
        }