Index: trunk/extensions/Translate/Translate.php |
— | — | @@ -11,7 +11,7 @@ |
12 | 12 | * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later |
13 | 13 | */ |
14 | 14 | |
15 | | -define( 'TRANSLATE_VERSION', '8.47' ); |
| 15 | +define( 'TRANSLATE_VERSION', '8.48' ); |
16 | 16 | |
17 | 17 | $wgExtensionCredits['specialpage'][] = array( |
18 | 18 | 'name' => 'Translate', |
— | — | @@ -37,6 +37,10 @@ |
38 | 38 | $wgHooks['UserToggles'][] = 'TranslatePreferences::TranslateUserToggles'; |
39 | 39 | $wgHooks['SpecialRecentChangesQuery'][] = 'TranslateRcFilter::translationFilter'; |
40 | 40 | $wgHooks['SpecialRecentChangesPanel'][] = 'TranslateRcFilter::translationFilterForm'; |
| 41 | +$wgHooks['SpecialPage_initList'][] = 'wfTranslateRemoveAllmessages'; |
| 42 | +function wfTranslateRemoveAllmessages( $list ) { |
| 43 | + unset( $list['Allmessages'] ); return true; |
| 44 | +} |
41 | 45 | |
42 | 46 | $wgAvailableRights[] = 'translate'; |
43 | 47 | |