aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'TyrianTemplate.php')
-rw-r--r--TyrianTemplate.php18
1 files changed, 6 insertions, 12 deletions
diff --git a/TyrianTemplate.php b/TyrianTemplate.php
index 2f12ff4..f0e28f5 100644
--- a/TyrianTemplate.php
+++ b/TyrianTemplate.php
@@ -8,7 +8,7 @@
*/
class TyrianTemplate extends BaseTemplate {
public function execute() {
- wfSuppressWarnings();
+ MediaWiki\suppressWarnings();
$this->html( 'headelement' );
@@ -62,18 +62,12 @@ class TyrianTemplate extends BaseTemplate {
</div>
</div>
- <?php $this->footer(); ?>
-
- <script>
- window.RLQ = window.RLQ || []; window.RLQ.push( function () {
- $.getScript("https://assets.gentoo.org/tyrian/bootstrap.min.js");
- } );
- </script>
<?php
+ $this->footer();
$this->printTrail();
echo Html::closeElement( 'body' );
echo Html::closeElement( 'html' );
- wfRestoreWarnings();
+ MediaWiki\suppressWarnings(true);
} // end of execute() method
/*************************************************************************************************/
@@ -178,8 +172,8 @@ class TyrianTemplate extends BaseTemplate {
<div class="col-xs-3 col-md-2">
<ul class="footerlinks three-icons">
<li><a href="https://twitter.com/gentoo" title="@Gentoo on Twitter"><span class="fa fa-twitter fa-fw"></span></a></li>
- <li><a href="https://plus.google.com/+Gentoo" title="+Gentoo on Google+"><span class="fa fa-google-plus fa-fw"></span></a></li>
<li><a href="https://www.facebook.com/gentoo.org" title="Gentoo on Facebook"><span class="fa fa-facebook fa-fw"></span></a></li>
+ <li></li>
</ul>
</div>
<div class="col-xs-9 col-md-9">
@@ -315,8 +309,8 @@ class TyrianTemplate extends BaseTemplate {
echo $this->makeListItem( $key, $tbitem );
}
- wfRunHooks( 'MonoBookTemplateToolboxEnd', [&$this] );
- wfRunHooks( 'SkinTemplateToolboxEnd', [ &$this, true ] );
+ Hooks::Run( 'MonoBookTemplateToolboxEnd', [&$this] );
+ Hooks::Run( 'SkinTemplateToolboxEnd', [ &$this, true ] );
?>
</ul>
</li>