r50433 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50432‎ | r50433 | r50434 >
Date:11:42, 10 May 2009
Author:nikerabbit
Status:ok
Tags:
Comment:
* Purge completion percentages here too
Modified paths:
  • /trunk/extensions/Translate/tag/PageTranslationHooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/tag/PageTranslationHooks.php
@@ -101,6 +101,9 @@
102102 self::$allowTargetEdit = true;
103103 $article->doEdit( $text, $summary, $flags );
104104 self::$allowTargetEdit = false;
 105+
 106+ // purge cache
 107+ $page->getTranslationPercentages( true );
105108 }
106109
107110 public static function addSidebar( $out, $tpl ) {

Status & tagging log