Index: trunk/extensions/Translate/TranslateEditAddons.php |
— | — | @@ -81,6 +81,12 @@ |
82 | 82 | return true; |
83 | 83 | } |
84 | 84 | |
| 85 | + static function intro( $object ) { |
| 86 | + $object->suppressIntro = true; |
| 87 | + return true; |
| 88 | + } |
| 89 | + |
| 90 | + |
85 | 91 | static function addTools( $object ) { |
86 | 92 | $object->editFormTextTop .= self::editBoxes( $object ); |
87 | 93 | return true; |
Index: trunk/extensions/Translate/Translate.php |
— | — | @@ -45,6 +45,8 @@ |
46 | 46 | |
47 | 47 | $wgHooks['EditPage::showEditForm:initial'][] = 'TranslateEditAddons::addTools'; |
48 | 48 | $wgHooks['OutputPageBeforeHTML'][] = 'TranslateEditAddons::addNavigation'; |
| 49 | +$wgHooks['AlternateEdit'][] = 'TranslateEditAddons::intro'; |
| 50 | + |
49 | 51 | $wgHooks['UserToggles'][] = 'TranslatePreferences::TranslateUserToggles'; |
50 | 52 | $wgHooks['SpecialRecentChangesQuery'][] = 'TranslateRcFilter::translationFilter'; |
51 | 53 | $wgHooks['SpecialRecentChangesPanel'][] = 'TranslateRcFilter::translationFilterForm'; |