r71394 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71393‎ | r71394 | r71395 >
Date:09:42, 21 August 2010
Author:siebrand
Status:deferred
Tags:
Comment:
Documentation update.
Modified paths:
  • /trunk/extensions/Translate/MessageChecks.php (modified) (history)
  • /trunk/extensions/Translate/MessageCollection.php (modified) (history)
  • /trunk/extensions/Translate/groups/FUDforum/Checker.php (modified) (history)
  • /trunk/extensions/Translate/groups/FreeCol/Checker.php (modified) (history)
  • /trunk/extensions/Translate/groups/MediaWiki/Checker.php (modified) (history)
  • /trunk/extensions/Translate/groups/OpenStreetMap/Checker.php (modified) (history)
  • /trunk/extensions/Translate/groups/Shapado/Checker.php (modified) (history)
  • /trunk/extensions/Translate/groups/Voctrain.php (modified) (history)
  • /trunk/extensions/Translate/utils/UserToggles.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/MessageCollection.php
@@ -10,6 +10,8 @@
1111 */
1212
1313 /**
 14+ * Core message collection class.
 15+ *
1416 * @todo Needs documentation.
1517 */
1618 class MessageCollection implements ArrayAccess, Iterator, Countable {
Index: trunk/extensions/Translate/MessageChecks.php
@@ -255,7 +255,7 @@
256256 /**
257257 * Checks for missing and unknown printf formatting characters in
258258 * translations.
259 - * @param $messages \mixed Iterable list of TMessages.
 259+ * @param $messages \mixed Iterable list of TMessage objects.
260260 * @param $code \string Language code
261261 * @param $warnings \array Array where warnings are appended to.
262262 */
@@ -303,7 +303,7 @@
304304 /**
305305 * Checks if the translation has even number of opening and closing
306306 * parentheses. {, [ and ( are checked.
307 - * @param $messages \mixed Iterable list of TMessages.
 307+ * @param $messages \mixed Iterable list of TMessage objects.
308308 * @param $code \string Language code
309309 * @param $warnings \array Array where warnings are appended to.
310310 */
Index: trunk/extensions/Translate/groups/FreeCol/Checker.php
@@ -17,7 +17,7 @@
1818 /**
1919 * Checks for missing and unknown variables in translations.
2020 *
21 - * @param $messages \array Iterable list of TMessages.
 21+ * @param $messages \array Iterable list of TMessage objects.
2222 * @param $code \string Language code of the translations.
2323 * @param $warnings \array Array where warnings are appended to.
2424 */
@@ -60,7 +60,7 @@
6161 /**
6262 * Checks for bad escapes in translations.
6363 *
64 - * @param $messages \array Iterable list of TMessages.
 64+ * @param $messages \array Iterable list of TMessage objects.
6565 * @param $code \string Language code of the translations.
6666 * @param $warnings \array Array where warnings are appended to.
6767 */
Index: trunk/extensions/Translate/groups/Shapado/Checker.php
@@ -17,7 +17,7 @@
1818 /**
1919 * Checks for missing and unknown variables in translations.
2020 *
21 - * @param $messages \array Iterable list of TMessages.
 21+ * @param $messages \array Iterable list of TMessage objects.
2222 * @param $code \string Language code of the translations.
2323 * @param $warnings \array Array where warnings are appended to.
2424 */
Index: trunk/extensions/Translate/groups/OpenStreetMap/Checker.php
@@ -18,7 +18,7 @@
1919 /**
2020 * Checks for missing and unknown variables in translations.
2121 *
22 - * @param $messages \array Iterable list of TMessages.
 22+ * @param $messages \array Iterable list of TMessage objects.
2323 * @param $code \string Language code of the translations.
2424 * @param $warnings \array Array where warnings are appended to.
2525 */
Index: trunk/extensions/Translate/groups/FUDforum/Checker.php
@@ -17,7 +17,7 @@
1818 /**
1919 * Checks for missing and unknown variables in translations.
2020 *
21 - * @param $messages \array Iterable list of TMessages.
 21+ * @param $messages \array Iterable list of TMessage objects.
2222 * @param $code \string Language code of the translations.
2323 * @param $warnings \array Array where warnings are appended to.
2424 */
@@ -60,7 +60,7 @@
6161 /**
6262 * Checks for incorrect syntax in translations.
6363 *
64 - * @param $messages \array Iterable list of TMessages.
 64+ * @param $messages \array Iterable list of TMessage objects.
6565 * @param $code \string Language code of the translations.
6666 * @param $warnings \array Array where warnings are appended to.
6767 */
Index: trunk/extensions/Translate/groups/MediaWiki/Checker.php
@@ -18,7 +18,7 @@
1919 * Checks if the translation uses all variables $[1-9] that the definition
2020 * uses and vice versa.
2121 *
22 - * @param $messages \array Iterable list of TMessages.
 22+ * @param $messages \array Iterable list of TMessage objects.
2323 * @param $code \string Language code of the translations.
2424 * @param $warnings \array Array where warnings are appended to.
2525 */
@@ -67,7 +67,7 @@
6868 * MediaWiki messages like {{MediaWiki:helppage-url}}:. Also links in the
6969 * definition are allowed.
7070 *
71 - * @param $messages \array Iterable list of TMessages.
 71+ * @param $messages \array Iterable list of TMessage objects.
7272 * @param $code \string Language code of the translations.
7373 * @param $warnings \array Array where warnings are appended to.
7474 */
@@ -128,7 +128,7 @@
129129 /**
130130 * Checks if the \<br /> and \<hr /> tags are using the correct syntax.
131131 *
132 - * @param $messages \array Iterable list of TMessages.
 132+ * @param $messages \array Iterable list of TMessage objects.
133133 * @param $code \string Language code of the translations.
134134 * @param $warnings \array Array where warnings are appended to.
135135 */
@@ -173,7 +173,7 @@
174174 /**
175175 * Checks if the translation doesn't use plural while the definition has one.
176176 *
177 - * @param $messages \array Iterable list of TMessages.
 177+ * @param $messages \array Iterable list of TMessage objects.
178178 * @param $code \string Language code of the translations.
179179 * @param $warnings \array Array where warnings are appended to.
180180 */
@@ -199,7 +199,7 @@
200200 /**
201201 * Checks for page names that they have an untranslated namespace.
202202 *
203 - * @param $messages \array Iterable list of TMessages.
 203+ * @param $messages \array Iterable list of TMessage objects.
204204 * @param $code \string Language code of the translations.
205205 * @param $warnings \array Array where warnings are appended to.
206206 */
@@ -226,7 +226,7 @@
227227 /**
228228 * Checks for some miscellaneous messages with special syntax.
229229 *
230 - * @param $messages \array Iterable list of TMessages.
 230+ * @param $messages \array Iterable list of TMessage objects.
231231 * @param $code \string Language code of the translations.
232232 * @param $warnings \array Array where warnings are appended to.
233233 */
Index: trunk/extensions/Translate/groups/Voctrain.php
@@ -26,7 +26,7 @@
2727 class VoctrainMessageChecker extends MessageChecker {
2828 /**
2929 * Checks for missing and unknown parameters
30 - * @param $messages Iterable list of TMessages.
 30+ * @param $messages Iterable list of TMessage objects.
3131 * @param $code Language code of the translations.
3232 * @param $warnings Array where warnings are appended to.
3333 */
Index: trunk/extensions/Translate/utils/UserToggles.php
@@ -26,7 +26,6 @@
2727 return true;
2828 }
2929
30 -
3130 public static function translationAssistLanguages( $user, &$preferences ) {
3231 $select = self::languageSelector();
3332 $select->setTargetId( 'mw-input-translate-editlangs' );

Status & tagging log