예제 #1
0
 /** Using kiwix. */
 function initPage(OutputPage $out)
 {
     parent::initPage($out);
     $this->skinname = 'Monobook';
     $this->stylename = 'Monobook';
     $this->template = 'KiwixBaseSkin';
 }
 /**
  * initialize the page
  */
 public function initPage(OutputPage $out)
 {
     global $wgSiteJS;
     parent::initPage($out);
     $out->addModuleScripts('skins.bootstrapmediawiki');
     $out->addMeta('viewport', 'width=device-width, initial-scale=1, maximum-scale=1');
 }
예제 #3
0
 /** Using monobook. */
 function initPage(&$out)
 {
     SkinTemplate::initPage($out);
     $this->skinname = 'monobook';
     $this->stylename = 'monobook';
     $this->template = 'MonoBookTemplate';
 }
예제 #4
0
 /** Using monoproject. */
 function initPage(&$out)
 {
     SkinTemplate::initPage($out);
     $this->skinname = 'Mono2';
     $this->stylename = 'Mono2';
     $this->template = 'Mono2Template';
 }
예제 #5
0
 /** Using monobook. */
 function initPage(&$out)
 {
     SkinTemplate::initPage($out);
     $this->skinname = 'wolfbane';
     $this->stylename = 'wolfbane';
     $this->template = 'wolfbane';
 }
예제 #6
0
 /** Using osbridge. */
 function initPage(OutputPage $out)
 {
     parent::initPage($out);
     $this->skinname = 'osbridge';
     $this->stylename = 'osbridge';
     $this->template = 'OSBridgeTemplate';
 }
예제 #7
0
 /** Using monobook. */
 function initPage(&$out)
 {
     SkinTemplate::initPage($out);
     $this->skinname = 'fedora';
     $this->stylename = 'fedora';
     $this->template = 'FedoraTemplate';
 }
예제 #8
0
 /** Using monobook. */
 function initPage(&$out)
 {
     SkinTemplate::initPage($out);
     $this->skinname = 'monobook';
     $this->stylename = 'monobook';
     $this->template = 'KiwixStaticDumpTemplate';
 }
예제 #9
0
 /** Using GuMax */
 function initPage(&$out)
 {
     SkinTemplate::initPage($out);
     $this->skinname = 'gumax';
     $this->stylename = 'gumax';
     $this->template = 'GuMaxTemplate';
 }
예제 #10
0
 function initPage(&$out)
 {
     SkinTemplate::initPage($out);
     $this->skinname = 'haputimes';
     $this->stylename = 'haputimes';
     $this->template = 'HapuTimesTemplate';
 }
예제 #11
0
 function initPage(&$out)
 {
     SkinTemplate::initPage($out);
     $this->skinname = 'openkore';
     $this->stylename = 'openkore';
     $this->template = 'OpenKoreTemplate';
 }
예제 #12
0
 function initPage(&$out)
 {
     SkinTemplate::initPage($out);
     $this->skinname = 'agp';
     $this->stylename = 'agp';
     $this->template = 'AGPTemplate';
 }
예제 #13
0
 /** Using Bootstrap */
 function initPage(&$out)
 {
     SkinTemplate::initPage($out);
     $this->skinname = 'bootstrap';
     $this->stylename = 'bootstrap';
     $this->template = 'BootstrapTemplate';
 }
예제 #14
0
 function initPage(&$out)
 {
     SkinTemplate::initPage($out);
     $this->skinname = 'uadphilecon';
     $this->stylename = 'uadphilecon';
     $this->template = 'UADPhilEconTemplate';
 }
예제 #15
0
	/**
	 * @author Inez Korczynski <*****@*****.**>
	 */
	public function initPage(&$out) {

		wfDebugLog('lyricsminimal', '##### SkinLyricsMinimal initPage #####');

		wfProfileIn(__METHOD__);
		global $wgHooks, $wgCityId, $wgCat;

		SkinTemplate::initPage($out);

		$this->skinname  = 'lyricsminimal';
		$this->stylename = 'lyricsminimal';
		$this->template  = 'LyricsMinimalTemplate';

		// Get category information (id, name, url)
		$cats = wfGetBreadCrumb();
		$idx = count($cats)-2;
		if(isset($cats[$idx])) {
			$wgCat = $cats[$idx];
			wfDebugLog('lyricsminimal', 'There is category info');
		} else {
			$wgCat = array('id' => -1);
			wfDebugLog('lyricsminimal', 'No category info');
		}

		// Function addVariables will be called to populate all needed data to render skin
		$wgHooks['SkinTemplateOutputPageBeforeExec'][] = array(&$this, 'addVariables');

		wfProfileOut(__METHOD__);
	}
예제 #16
0
 /** Using monobook. */
 function initPage(&$out)
 {
     SkinTemplate::initPage($out);
     $this->skinname = 'mamut';
     $this->stylename = 'mamut';
     $this->template = 'MamutTemplate';
 }
예제 #17
0
 /** Using monobook. */
 function initPage(OutputPage $out)
 {
     parent::initPage($out);
     $this->skinname = 'monobook';
     $this->stylename = 'monobook';
     $this->template = 'MonoBookTemplate';
 }
예제 #18
0
 /** Using fusionforge. */
 function initPage(OutputPage $out)
 {
     parent::initPage($out);
     $this->skinname = 'fusionforge';
     $this->stylename = 'fusionforge';
     $this->template = 'FusionForgeTemplate';
 }
예제 #19
0
 /** Using RoundedBlue. */
 function initPage(&$out)
 {
     SkinTemplate::initPage($out);
     $this->skinname = 'RoundedBlue';
     $this->stylename = 'RoundedBlue';
     $this->template = 'RoundedBlueTemplate';
 }
예제 #20
0
 function initPage(OutputPage $out)
 {
     parent::initPage($out);
     $this->skinname = 'modern';
     $this->stylename = 'modern';
     $this->template = 'ModernTemplate';
 }
예제 #21
0
 /** Using gforge. */
 function initPage(&$out)
 {
     SkinTemplate::initPage($out);
     $this->skinname = 'gforge';
     $this->stylename = 'gforge';
     $this->template = 'GForgeTemplate';
 }
 /** Using cavendish. */
 function initPage(&$out)
 {
     SkinTemplate::initPage($out);
     $this->skinname = 'cavendish';
     $this->stylename = 'cavendish';
     $this->template = 'cavendishTemplate';
 }
예제 #23
0
 /** Using monobook. */
 function initPage(&$out)
 {
     SkinTemplate::initPage($out);
     $this->skinname = 'gamegardens';
     $this->stylename = 'gamegardens';
     $this->template = 'GameGardensTemplate';
 }
 /** Using roundedblue. */
 function initPage(OutputPage $out)
 {
     parent::initPage($out);
     $this->skinname = 'roundedblue';
     $this->stylename = 'roundedblue';
     $this->template = 'RoundedBlueTemplate';
 }
예제 #25
0
 function initPage(OutputPage $out)
 {
     SkinTemplate::initPage($out);
     $this->skinname = 'simple';
     $this->stylename = 'simple';
     $this->template = 'MonoBookTemplate';
 }
예제 #26
0
 /** Using GuMaxDD */
 function initPage(OutputPage $out)
 {
     parent::initPage($out);
     $this->skinname = 'gumaxdd';
     $this->stylename = 'gumaxdd';
     $this->template = 'GuMaxDDTemplate';
 }
예제 #27
0
 /** Using monobook. */
 function initPage(&$out)
 {
     global $wgStylePath;
     SkinTemplate::initPage($out);
     $this->template = 'SkinOfflineTemplate';
     $this->skinpath = "{$wgStylePath}/offline";
 }
예제 #28
0
 /**
  * @param $out OutputPage
  */
 public function initPage(OutputPage $out)
 {
     parent::initPage($out);
     $out->addMeta('viewport', 'width=device-width, initial-scale=1, maximum-scale=1');
     $out->addModuleStyles(array('mediawiki.skinning.content.externallinks', 'skins.timeless', 'skins.timeless.misc'));
     $out->addModules(array('skins.timeless.js', 'skins.timeless.mobile'));
 }
예제 #29
0
 public function initPage(OutputPage $out)
 {
     global $wgStylePath;
     parent::initPage($out);
     $out->addHeadItem('metaview', '<meta name="viewport" content="width=device-width, initial-scale=1.0">');
     $out->addModules('skins.bswiki.js');
 }
예제 #30
0
 /** Using ontoskin. */
 function initPage(&$out)
 {
     SkinTemplate::initPage($out);
     $this->skinname = 'ontoskin';
     $this->stylename = 'ontoskin';
     $this->template = 'OntoSkinTemplate';
 }