Index: trunk/extensions/Translate/groups/MediaWiki/Checker.php |
— | — | @@ -1,5 +1,12 @@ |
2 | 2 | <?php |
3 | 3 | |
| 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 | + */ |
4 | 11 | class MediaWikiMessageChecker extends MessageChecker { |
5 | 12 | /** |
6 | 13 | * Checks if the translation uses all variables $[1-9] that the definition |
— | — | @@ -105,7 +112,7 @@ |
106 | 113 | } |
107 | 114 | |
108 | 115 | /** |
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. |
110 | 117 | */ |
111 | 118 | protected function XhtmlCheck( $messages, $code, &$warnings ) { |
112 | 119 | foreach ( $messages as $message ) { |
— | — | @@ -147,9 +154,6 @@ |
148 | 155 | |
149 | 156 | /** |
150 | 157 | * 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. |
154 | 158 | */ |
155 | 159 | protected function pluralCheck( $messages, $code, &$warnings ) { |
156 | 160 | foreach ( $messages as $message ) { |