X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Flogging%2FLogPage.php;h=6b70ceca4d801308bd054b15b185630c6f5f0eeb;hb=c1d57500741a70f70d402d7027a2f675bdea9730;hp=2e289170077ceb5bb758d92c8d1e21e566d17b7b;hpb=48db568102e33be97eb4381d561ea0b4a96de6ed;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/logging/LogPage.php b/includes/logging/LogPage.php index 2e28917007..6b70ceca4d 100644 --- a/includes/logging/LogPage.php +++ b/includes/logging/LogPage.php @@ -211,42 +211,6 @@ class LogPage { return in_array( $type, LogPage::validTypes() ); } - /** - * Get the name for the given log type - * - * @param string $type Log type - * @return string Log name - * @deprecated since 1.19, warnings in 1.21. Use getName() - */ - public static function logName( $type ) { - global $wgLogNames; - - wfDeprecated( __METHOD__, '1.21' ); - - if ( isset( $wgLogNames[$type] ) ) { - return str_replace( '_', ' ', wfMessage( $wgLogNames[$type] )->text() ); - } else { - // Bogus log types? Perhaps an extension was removed. - return $type; - } - } - - /** - * Get the log header for the given log type - * - * @todo handle missing log types - * @param string $type Logtype - * @return string Header text of this logtype - * @deprecated since 1.19, warnings in 1.21. Use getDescription() - */ - public static function logHeader( $type ) { - global $wgLogHeaders; - - wfDeprecated( __METHOD__, '1.21' ); - - return wfMessage( $wgLogHeaders[$type] )->parse(); - } - /** * Generate text for a log entry. * Only LogFormatter should call this function.