r71345 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71344‎ | r71345 | r71346 >
Date:10:38, 20 August 2010
Author:nikerabbit
Status:ok
Tags:
Comment:
Tweak documentation
Modified paths:
  • /trunk/extensions/Translate/groups/MediaWiki/Checker.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/groups/MediaWiki/Checker.php
@@ -1,5 +1,12 @@
22 <?php
33
 4+/**
 5+ * MediaWiki specific message checks.
 6+ * @ingroup MessageCheckers
 7+ * @author Niklas Laxström
 8+ * @copyright Copyright © 2008-2009, Niklas Laxström
 9+ * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
 10+ */
411 class MediaWikiMessageChecker extends MessageChecker {
512 /**
613 * Checks if the translation uses all variables $[1-9] that the definition
@@ -105,7 +112,7 @@
106113 }
107114
108115 /**
109 - * Checks if the <br /> and <hr /> tags are using the correct syntax.
 116+ * Checks if the \<br /> and \<hr /> tags are using the correct syntax.
110117 */
111118 protected function XhtmlCheck( $messages, $code, &$warnings ) {
112119 foreach ( $messages as $message ) {
@@ -147,9 +154,6 @@
148155
149156 /**
150157 * Checks if the translation doesn't use plural while the definition has one.
151 - *
152 - * @param $message Instance of TMessage.
153 - * @return True if plural magic word is missing.
154158 */
155159 protected function pluralCheck( $messages, $code, &$warnings ) {
156160 foreach ( $messages as $message ) {

Status & tagging log