mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-15 02:24:07 +00:00
Disable Ie260c22680ec9a
Comment out new hook rather than a blanket revert Change-Id: I58b2e0b9f485ac5bf3c38776f8d5981644ebe360
This commit is contained in:
parent
064fb261db
commit
256bd6f090
|
@ -55,13 +55,13 @@ $wgAutoloadClasses['SyntaxHighlight_GeSHi'] = $dir . 'SyntaxHighlight_GeSHi.clas
|
|||
$wgHooks['ParserFirstCallInit'][] = 'efSyntaxHighlight_GeSHiSetup';
|
||||
$wgHooks['ExtensionTypes'][] = 'SyntaxHighlight_GeSHi::hSpecialVersion_GeSHi';
|
||||
|
||||
if ( defined( 'MW_SUPPORTS_CONTENTHANDLER' ) ) {
|
||||
//if ( defined( 'MW_SUPPORTS_CONTENTHANDLER' ) ) {
|
||||
// since MW 1.21
|
||||
$wgHooks['ContentGetParserOutput'][] = 'SyntaxHighlight_GeSHi::renderHook';
|
||||
} else {
|
||||
// $wgHooks['ContentGetParserOutput'][] = 'SyntaxHighlight_GeSHi::renderHook';
|
||||
//} else {
|
||||
// B/C until 1.20
|
||||
$wgHooks['ShowRawCssJs'][] = 'SyntaxHighlight_GeSHi::viewHook';
|
||||
}
|
||||
//}
|
||||
|
||||
|
||||
$wgAutoloadClasses['HighlightGeSHilocal'] = $dir . 'SyntaxHighlight_GeSHi.local.php';
|
||||
|
|
Loading…
Reference in a new issue