r94441 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94440‎ | r94441 | r94442 >
Date:01:18, 14 August 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
small fix and 1.2 rel
Modified paths:
  • /trunk/extensions/LiveTranslate/LiveTranslate.hooks.php (modified) (history)
  • /trunk/extensions/LiveTranslate/LiveTranslate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiveTranslate/LiveTranslate.php
@@ -24,7 +24,7 @@
2525 die( 'Not an entry point.' );
2626 }
2727
28 -define( 'LiveTranslate_VERSION', '1.2 RC1' );
 28+define( 'LiveTranslate_VERSION', '1.2' );
2929
3030 $wgExtensionCredits['other'][] = array(
3131 'path' => __FILE__,
Index: trunk/extensions/LiveTranslate/LiveTranslate.hooks.php
@@ -25,7 +25,8 @@
2626 */
2727 public static function onArticleViewHeader( Article &$article, &$outputDone, &$useParserCache ) {
2828 global $egLiveTranslateLanguages;
29 -
 29+ $egLiveTranslateLanguages = array_unique( $egLiveTranslateLanguages );
 30+
3031 $title = $article->getTitle();
3132
3233 $currentLang = LiveTranslateFunctions::getCurrentLang( $title );

Status & tagging log