Skip to content

Instantly share code, notes, and snippets.

@dantman
Last active December 15, 2015 14:19
Show Gist options
  • Save dantman/5273637 to your computer and use it in GitHub Desktop.
Save dantman/5273637 to your computer and use it in GitHub Desktop.
Typical RL definition for skins.
<?php
$wgResourceModules['skins.yourskin'] = array(
'styles' => array(
'yourskin/yourskin.css' => array( 'media' => 'screen' ),
),
'remoteBasePath' => &$GLOBALS['wgStylePath'],
'localBasePath' => &$GLOBALS['wgStyleDirectory'],
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment