Index: trunk/extensions/Translate/tag/PageTranslationHooks.php |
— | — | @@ -528,10 +528,10 @@ |
529 | 529 | return true; |
530 | 530 | } |
531 | 531 | |
532 | | - public static function formatLogEntry( $type, $action, $title, $forContent, $params ) { |
| 532 | + public static function formatLogEntry( $type, $action, $title, $forUI, $params ) { |
533 | 533 | global $wgLang, $wgContLang; |
534 | 534 | |
535 | | - $language = $forContent ? $wgContLang : $wgLang; |
| 535 | + $language = $forUI === null ? $wgContLang : $wgLang; |
536 | 536 | $opts = array( 'parseinline', 'language' => $language ); |
537 | 537 | |
538 | 538 | $_ = unserialize( $params[0] ); |