Index: trunk/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php |
— | — | @@ -240,7 +240,7 @@ |
241 | 241 | * @param string $lang |
242 | 242 | * @return GeSHi |
243 | 243 | */ |
244 | | - private static function prepare( $text, $lang ) { |
| 244 | + public static function prepare( $text, $lang ) { |
245 | 245 | self::initialise(); |
246 | 246 | $geshi = new GeSHi( $text, $lang ); |
247 | 247 | if( $geshi->error() == GESHI_ERROR_NO_SUCH_LANG ) { |
— | — | @@ -260,7 +260,7 @@ |
261 | 261 | * @param GeSHi $geshi |
262 | 262 | * @return string |
263 | 263 | */ |
264 | | - private static function buildHeadItem( $geshi ) { |
| 264 | + public static function buildHeadItem( $geshi ) { |
265 | 265 | global $wgUseSiteCss, $wgSquidMaxage; |
266 | 266 | $lang = $geshi->language; |
267 | 267 | $css = array(); |
— | — | @@ -378,4 +378,4 @@ |
379 | 379 | return self::hSpecialVersion_GeSHi( $extensionTypes ); |
380 | 380 | } |
381 | 381 | |
382 | | -} |
\ No newline at end of file |
| 382 | +} |