mediawiki-extensions-Syntax.../SyntaxHighlight_GeSHi.local.php
Siebrand Mazeland c602c5a4a7 Maintenance for extension SyntaxHighlight_GeSHi.
* Use Message class where possible.
* Removed superflous newlines.
* Update .gitignore.

Change-Id: Ic2386183e240662331656ebadcaad1057569fb7c
2012-08-26 11:24:29 +02:00

16 lines
362 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' ),
);
}
}