r40699 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40698‎ | r40699 | r40700 >
Date:13:30, 10 September 2008
Author:catrope
Status:old
Tags:
Comment:
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
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/api/ApiQueryRandom.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryRandom.php
@@ -130,9 +130,7 @@
131131 ApiBase :: PARAM_MAX => 10,
132132 ApiBase :: PARAM_MAX2 => 20
133133 ),
134 - 'redirect' => array(
135 - ApiBase :: PARAM_TYPE => 'boolean',
136 - ),
 134+ 'redirect' => false,
137135 );
138136 }
139137
Index: trunk/phase3/RELEASE-NOTES
@@ -231,7 +231,7 @@
232232 * (bug 15527) action=rollback can now revert anonymous editors
233233 * (bug 15535) prop=info&inprop=protection doesn't list pre-1.10 protections
234234 if the page is also protected otherwise (1.10+ style or cascading)
235 -* (bug 14746) list=random now has &rnredirect parameter, to get random redirects.
 235+* list=random now has rnredirect parameter, to get random redirects.
236236
237237 === Languages updated in 1.14 ===
238238

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r40686Add rnredirect parameter, to get a random redirect instead of a random pagesoxred9323:30, 9 September 2008
r40687Forgot the RELEASE-NOTESsoxred9323:33, 9 September 2008