Remove 2 unused functions deprecated 5 years ago

Change-Id: I8dc549f3c681616a8331c0666c60972db9ff41bf
This commit is contained in:
Max Semenik 2019-11-14 21:47:18 -08:00
parent 49b74bff7f
commit b591e2cdab

View file

@ -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' );