Index: trunk/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.local.php |
— | — | @@ -0,0 +1,16 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Custom ResourceLoader module that loads a Geshi.css per-wiki. |
| 5 | + */ |
| 6 | +class HighlightGeSHilocal extends ResourceLoaderWikiModule { |
| 7 | + |
| 8 | + /** |
| 9 | + * @param $context ResourceLoaderContext |
| 10 | + * @return array |
| 11 | + */ |
| 12 | + protected function getPages( ResourceLoaderContext $context ) { |
| 13 | + return array( |
| 14 | + 'MediaWiki:Geshi.css' => array( 'type' => 'style' ), |
| 15 | + ); |
| 16 | + } |
| 17 | +} |
Property changes on: trunk/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.local.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 18 | + native |