Avoid deprecated hook LanguageGetSpecialPageAliases.
[philipp/winterrodeln/mediawiki_extensions/wrreport.git] / wrreport_body.php
index 95e4407767894f6fd38ca74d32dbc292a4403a59..59d3997c75ddcfa8a282d2abbc8272430e68e97d 100644 (file)
@@ -1151,15 +1151,6 @@ class SpecialWrReport extends SpecialPage {
        }
 
 
-       static function LanguageGetSpecialPageAliasesHook(&$specialPageArray, $languageCode) {
-               $text = wfMessage('wrreport')->text(); // 'Bahnberichte'
-               $title = Title::newFromText($text); // 'Bahnberichte'
-               $specialPageArray['wrreport'][] = $title->getDBKey(); // 'Bahnberichte'
-               return true;
-       }
-
-
-
        /// \param $par Possibilities:
        /// - action == 'view' (default)
        /// - action == 'preview': Preview new report