From b591e2cdab4b3a4f8a79aac424d18b31953a0c4b Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Thu, 14 Nov 2019 21:47:18 -0800 Subject: [PATCH] Remove 2 unused functions deprecated 5 years ago Change-Id: I8dc549f3c681616a8331c0666c60972db9ff41bf --- includes/SyntaxHighlight.php | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/includes/SyntaxHighlight.php b/includes/SyntaxHighlight.php index 565dcb9e..82199f4a 100644 --- a/includes/SyntaxHighlight.php +++ b/includes/SyntaxHighlight.php @@ -554,26 +554,5 @@ class SyntaxHighlight { 'targets' => [ 'desktop', 'mobile' ], ] ); } - - /** - * Backward-compatibility shim for extensions. - * @deprecated since MW 1.25 - */ - public static function prepare( $text, $lang ) { - wfDeprecated( __METHOD__ ); - return new GeSHi( self::highlight( $text, $lang )->getValue() ); - } - - /** - * Backward-compatibility shim for extensions. - * @deprecated since MW 1.25 - * @param GeSHi $geshi - * @return string - */ - public static function buildHeadItem( $geshi ) { - wfDeprecated( __METHOD__ ); - $geshi->parse_code(); - return ''; - } } class_alias( SyntaxHighlight::class, 'SyntaxHighlight_GeSHi' );