r94295 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94294‎ | r94295 | r94296 >
Date:22:35, 11 August 2011
Author:mah
Status:ok
Tags:
Comment:
w/s
Modified paths:
  • /trunk/phase3/includes/Status.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Status.php
@@ -294,11 +294,11 @@
295295 }
296296 return $result;
297297 }
298 -
 298+
299299 /**
300300 * Returns a list of status messages of the given type, with message and
301301 * params left untouched, like a sane version of getStatusArray
302 - *
 302+ *
303303 * @param $type String
304304 *
305305 * @return Array
@@ -308,7 +308,7 @@
309309 foreach ( $this->errors as $error ) {
310310 if ( $error['type'] === $type ) {
311311 $result[] = $error;
312 - }
 312+ }
313313 }
314314 return $result;
315315 }
@@ -329,7 +329,7 @@
330330 }
331331
332332 /**
333 - * If the specified source message exists, replace it with the specified
 333+ * If the specified source message exists, replace it with the specified
334334 * destination message, but keep the same parameters as in the original error.
335335 *
336336 * Return true if the replacement was done, false otherwise.

Status & tagging log