r79308 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79307‎ | r79308 | r79309 >
Date:00:47, 31 December 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Follow up to r79305 - obviously it'll fail when it's not over 9000
Modified paths:
  • /trunk/extensions/Validator/includes/parserHooks/Validator_Describe.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Validator/includes/parserHooks/Validator_Describe.php
@@ -192,7 +192,7 @@
193193 */
194194 protected function sortParameters( array &$parameters, array $defaults ) {
195195 $sort = array();
196 - $count = 0;
 196+ $count = 9000;
197197
198198 foreach ( $parameters as $parameter ) {
199199 $position = array_search( $parameter->getName(), $defaults );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r79305Added sort to display default parameters in a logical mannerjeroendedauw23:55, 30 December 2010

Status & tagging log