Index: trunk/extensions/Translate/tag/PageTranslationHooks.php |
— | — | @@ -412,10 +412,11 @@ |
413 | 413 | } |
414 | 414 | |
415 | 415 | public static function header( Title $title ) { |
416 | | - if ( TranslatablePage::isSourcePage( $title ) ) { |
| 416 | + if ( TranslatablePage::isTranslationPage( $title ) ) { |
| 417 | + self::translationPageHeader( $title ); |
| 418 | + } else { |
| 419 | + // Check for pages that are tagged or marked |
417 | 420 | self::sourcePageHeader( $title ); |
418 | | - } elseif ( TranslatablePage::isTranslationPage( $title ) ) { |
419 | | - self::translationPageHeader( $title ); |
420 | 421 | } |
421 | 422 | } |
422 | 423 | |