Index: trunk/extensions/Translate/MessageGroups.php |
— | — | @@ -857,7 +857,7 @@ |
858 | 858 | if ( $code === 'en' ) { |
859 | 859 | $stuff = $this->load( 'en' ); |
860 | 860 | /** |
861 | | - * @todo Throws PHP Notice: Undefined index: <key> |
| 861 | + * @todo Throws PHP Notice: Undefined index: \<key> |
862 | 862 | * when keys are added, but createMessageIndex.php is |
863 | 863 | * not run (like when a translatable page from page |
864 | 864 | * translation was added). |
Index: trunk/extensions/Translate/tag/SpecialPageTranslation.php |
— | — | @@ -204,7 +204,7 @@ |
205 | 205 | continue; |
206 | 206 | } |
207 | 207 | |
208 | | - /* Ignore pages which have had <translate> at some point, but which |
| 208 | + /* Ignore pages which have had \<translate> at some point, but which |
209 | 209 | * have never been marked. */ |
210 | 210 | if ( $page['tp:tag'] !== $page['latest'] ) { |
211 | 211 | unset( $pages[$index] ); |
Index: trunk/extensions/Translate/SpecialTranslationChanges.php |
— | — | @@ -228,7 +228,7 @@ |
229 | 229 | * Generate HTML for an arrow or placeholder graphic |
230 | 230 | * @param $dir \string One of '', 'd', 'l', 'r' |
231 | 231 | * @param $alt \string Alt text |
232 | | - * @return string HTML "img" tag |
| 232 | + * @return string HTML \<img> tag |
233 | 233 | */ |
234 | 234 | private function arrow( $dir, $alt = '' ) { |
235 | 235 | global $wgStylePath; |
— | — | @@ -240,7 +240,7 @@ |
241 | 241 | /** |
242 | 242 | * Generate HTML for a right- or left-facing arrow, |
243 | 243 | * depending on language direction. |
244 | | - * @return string HTML "img" tag |
| 244 | + * @return string HTML \<img> tag |
245 | 245 | */ |
246 | 246 | private function sideArrow() { |
247 | 247 | global $wgContLang; |
— | — | @@ -251,7 +251,7 @@ |
252 | 252 | /** |
253 | 253 | * Generate HTML for a down-facing arrow |
254 | 254 | * depending on language direction. |
255 | | - * @return string HTML <img> tag |
| 255 | + * return string HTML \<img> tag |
256 | 256 | */ |
257 | 257 | private function downArrow() { |
258 | 258 | return $this->arrow( 'd', '-' ); |
Index: trunk/extensions/Translate/TranslateEditAddons.php |
— | — | @@ -257,7 +257,7 @@ |
258 | 258 | * Check if a string contains the fuzzy string. |
259 | 259 | * |
260 | 260 | * @param $text \string Arbitrary text |
261 | | - * return \bool If string contains fuzzy string. |
| 261 | + * @return \bool If string contains fuzzy string. |
262 | 262 | */ |
263 | 263 | public static function hasFuzzyString( $text ) { |
264 | 264 | return strpos( $text, TRANSLATE_FUZZY ) !== false; |
— | — | @@ -266,7 +266,7 @@ |
267 | 267 | /** Check if a title is marked as fuzzy. |
268 | 268 | * |
269 | 269 | * @param $title Title |
270 | | - * return \bool If title is marked fuzzy. |
| 270 | + * @return \bool If title is marked fuzzy. |
271 | 271 | */ |
272 | 272 | public static function isFuzzy( Title $title ) { |
273 | 273 | $dbr = wfGetDB( DB_SLAVE ); |
— | — | @@ -291,7 +291,7 @@ |
292 | 292 | /** Check if a title is in a message namespace. |
293 | 293 | * |
294 | 294 | * @param $title Title |
295 | | - * return \bool If title is in a message namespace. |
| 295 | + * @return \bool If title is in a message namespace. |
296 | 296 | */ |
297 | 297 | public static function isMessageNamespace( Title $title ) { |
298 | 298 | global $wgTranslateMessageNamespaces; ; |
Index: trunk/extensions/Translate/Translate.php |
— | — | @@ -506,17 +506,17 @@ |
507 | 507 | # $wgHooks['SkinTemplateOutputPageBeforeExec'][] = 'TranslateTagHooks::addSidebar'; |
508 | 508 | |
509 | 509 | /** |
510 | | - # Register <languages/> |
| 510 | + * Register \<languages/> |
511 | 511 | */ |
512 | 512 | $wgHooks['ParserFirstCallInit'][] = 'efTranslateInitTags'; |
513 | 513 | |
514 | 514 | /** |
515 | | - * Strip <translate> tags etc. from source pages when rendering |
| 515 | + * Strip \<translate> tags etc. from source pages when rendering |
516 | 516 | */ |
517 | 517 | $wgHooks['ParserBeforeStrip'][] = 'PageTranslationHooks::renderTagPage'; |
518 | 518 | |
519 | 519 | /** |
520 | | - * Check syntax for <translate> |
| 520 | + * Check syntax for \<translate> |
521 | 521 | */ |
522 | 522 | $wgHooks['ArticleSave'][] = 'PageTranslationHooks::tpSyntaxCheck'; |
523 | 523 | $wgHooks['EditFilterMerged'][] = 'PageTranslationHooks::tpSyntaxCheckForEditPage'; |