Index: trunk/extensions/Translate/tag/PageTranslationHooks.php |
— | — | @@ -476,7 +476,12 @@ |
477 | 477 | } |
478 | 478 | |
479 | 479 | public static function exportToolbox( $skin ) { |
480 | | - global $wgOut; |
| 480 | + global $wgOut, $wgRequest; |
| 481 | + |
| 482 | + if ( $wgRequest->getVal( 'action', 'view' ) !== 'view' || $wgRequest->getVal( 'oldid' ) ) { |
| 483 | + return true; |
| 484 | + } |
| 485 | + |
481 | 486 | $title = $wgOut->getTitle(); |
482 | 487 | |
483 | 488 | // Check if this is a source page or a translation page |