Last modified: 2014-05-14 19:16:46 UTC
To make it possible to style documents in the app on wiki.
class Foobar extends ResourceLoaderWikiModule { /** * @param $context ResourceLoaderContext * @return array */ protected function getPages( ResourceLoaderContext $context ) { return array( 'MediaWiki:MobileApp.css' => array( 'type' => 'style' ), ); } } $wgAutoloadClasses['Foobar'] = $dir . 'SyntaxHighlight_GeSHi.local.php'; $wgResourceModules['ext.foo.bar'] = array( 'class' => 'Foobar ' );
Change 132309 had a related patch set uploaded by Reedy: Introduce MediaWiki:App.css https://gerrit.wikimedia.org/r/132309
Change 132309 merged by Ori.livneh: Expose MediaWiki:Mobile.css https://gerrit.wikimedia.org/r/132309