mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-16 11:00:20 +00:00
17 lines
363 B
PHP
17 lines
363 B
PHP
|
<?php
|
||
|
/**
|
||
|
* Custom ResourceLoader module that loads a Geshi.css per-wiki.
|
||
|
*/
|
||
|
class HighlightGeSHilocal extends ResourceLoaderWikiModule {
|
||
|
|
||
|
/**
|
||
|
* @param $context ResourceLoaderContext
|
||
|
* @return array
|
||
|
*/
|
||
|
protected function getPages( ResourceLoaderContext $context ) {
|
||
|
return array(
|
||
|
'MediaWiki:Geshi.css' => array( 'type' => 'style' ),
|
||
|
);
|
||
|
}
|
||
|
}
|