mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-15 10:39:53 +00:00
c602c5a4a7
* Use Message class where possible. * Removed superflous newlines. * Update .gitignore. Change-Id: Ic2386183e240662331656ebadcaad1057569fb7c
16 lines
362 B
PHP
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' ),
|
|
);
|
|
}
|
|
}
|