mediawiki-extensions-Syntax.../SyntaxHighlight_GeSHi.local.php

17 lines
363 B
PHP
Raw Normal View History

2011-11-20 18:08:39 +00:00
<?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' ),
);
}
}