Ejemplo n.º 1
0
 function __construct()
 {
     global $wgOut;
     parent::__construct('VenusTemplate', 'venus');
     $wgOut->addModuleStyles('skins.venus');
     $this->strictAssetUrlCheck = true;
     $this->pushRLModulesToBottom = true;
 }
Ejemplo n.º 2
0
 function __construct()
 {
     //required to let Common.css and MonoBook.css be output
     //@see Skin::setupUserCss
     $this->themename = '';
     parent::__construct();
     //allow non-strick asset check agains skin, @see WikiaSkin::getScripts and WikiaSkin::getStyles
     $this->strictAssetUrlCheck = false;
 }
Ejemplo n.º 3
0
	function __construct() {
		parent::__construct( 'MonoBookTemplate', 'wikiaapp');

		//non-strict checks of css/js/scss assets/packages
		$this->strictAssetUrlCheck = false;

		$this->mRenderColumnOne = false;
		$this->useHeadElement = true;
	}
Ejemplo n.º 4
0
	function __construct() {
		parent::__construct( 'CampfireTemplate', 'campfire' );

		//non-strict checks of css/js/scss assets/packages
		$this->strictAssetUrlCheck = false;

		global $IP, $wgAutoloadClasses, $wgExtensionMessagesFiles;
		$dir = dirname( __FILE__ );

		$wgExtensionMessagesFiles['Campfire'] = $IP . '/extensions/wikia/Campfire/Campfire.i18n.php';

		$wgAutoloadClasses['CampfireController'] = $dir . '/campfire/modules/CampfireController.class.php';
		$wgAutoloadClasses['CampfireBodyController'] = $dir . '/campfire/modules/CampfireBodyController.class.php';
		$wgAutoloadClasses['CampfireHeaderController'] = $dir . '/campfire/modules/CampfireHeaderController.class.php';
		$wgAutoloadClasses['CampfireCategoriesController'] = $dir . '/campfire/modules/CampfireCategoriesController.class.php';
		$wgAutoloadClasses['CampfireFooterController'] = $dir . '/campfire/modules/CampfireFooterController.class.php';
	}
Ejemplo n.º 5
0
 function __construct()
 {
     parent::__construct('WikiaMobileTemplate', 'wikiamobile');
 }
Ejemplo n.º 6
0
 function __construct()
 {
     parent::__construct('OasisTemplate', 'oasis');
     //non-strict checks of css/js/scss assets/packages
     $this->strictAssetUrlCheck = false;
 }