diff options
author | Alex Legler <alex@a3li.li> | 2016-01-06 17:58:38 +0100 |
---|---|---|
committer | Alex Legler <alex@a3li.li> | 2016-01-06 17:58:38 +0100 |
commit | 0fa826b5981216e2420a5f8c710fb125f36e8288 (patch) | |
tree | 3e0199c42755af356ed88a887027136932248bd2 /SkinTyrian.php | |
parent | Tyrian sync (diff) | |
download | skin-tyrian-0fa826b5981216e2420a5f8c710fb125f36e8288.tar.gz skin-tyrian-0fa826b5981216e2420a5f8c710fb125f36e8288.tar.bz2 skin-tyrian-0fa826b5981216e2420a5f8c710fb125f36e8288.zip |
Adapt to MediaWiki 1.26
Also, if anyone reads this who is knowledgeable on the MediaWiki
ResourceLoader, how do I make my skin load a javascript file?
Diffstat (limited to 'SkinTyrian.php')
-rw-r--r-- | SkinTyrian.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/SkinTyrian.php b/SkinTyrian.php index ab5e934..8833da2 100644 --- a/SkinTyrian.php +++ b/SkinTyrian.php @@ -3,7 +3,7 @@ * Tyrian -- the new look of gentoo.org * MediaWiki implementation based on MonoBook nouveau. * - * Copyright (C) 2014-2015 Alex Legler <a3li@gentoo.org> + * Copyright (C) 2014-2016 Alex Legler <a3li@gentoo.org> */ /** @@ -15,9 +15,13 @@ class SkinTyrian extends SkinTemplate { public $stylename = 'Tyrian'; public $template = 'TyrianTemplate'; + private $output; + const CDN_URL = 'https://1b9a50f4f9de4348cd9f-e703bc50ba0aa66772a874f8c7698be7.ssl.cf5.rackcdn.com/'; function setupSkinUserCss(OutputPage $out) { + $this->output = $out; + parent::setupSkinUserCss($out); $out->addStyle(SkinTyrian::CDN_URL . 'bootstrap.min.css'); @@ -29,4 +33,4 @@ class SkinTyrian extends SkinTemplate { 'skins.tyrian.styles' )); } -}
\ No newline at end of file +} |