mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-15 02:24:07 +00:00
revert r28371 to r28375
This commit is contained in:
parent
7cd371c2d6
commit
cdb0223ee8
|
@ -42,11 +42,10 @@ if( !defined( 'MEDIAWIKI' ) )
|
|||
die();
|
||||
|
||||
$wgExtensionCredits['parserhook']['SyntaxHighlight_GeSHi'] = array(
|
||||
'name' => 'SyntaxHighlight',
|
||||
'version' => '1.1',
|
||||
'author' => array( 'Brion Vibber', 'Tim Starling', 'Rob Church' ),
|
||||
'description' => 'Provides syntax highlighting using [http://qbnz.com/highlighter/ GeSHi Highlighter]',
|
||||
'url' => 'http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi',
|
||||
'name' => 'SyntaxHighlight',
|
||||
'author' => array( 'Brion Vibber', 'Tim Starling', 'Rob Church' ),
|
||||
'description' => 'Provides syntax highlighting using [http://qbnz.com/highlighter/ GeSHi Highlighter]',
|
||||
'url' => 'http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi',
|
||||
);
|
||||
|
||||
$wgAutoloadClasses['SyntaxHighlight_GeSHi'] = dirname( __FILE__ ) . '/SyntaxHighlight_GeSHi.class.php';
|
||||
|
@ -60,4 +59,4 @@ $wgExtensionFunctions[] = 'efSyntaxHighlight_GeSHiSetup';
|
|||
function efSyntaxHighlight_GeSHiSetup() {
|
||||
global $wgParser;
|
||||
$wgParser->setHook( 'source', array( 'SyntaxHighlight_GeSHi', 'parserHook' ) );
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue