Wikia code/skins/MonoBook.php
< Wikia code | skins
This page is obsolete. It is being retained for archival purposes. It may document extensions or features that are obsolete and/or no longer supported. Do not rely on the information here being up-to-date. The information shown below refers to the now unmaintained 1.16 MediaWiki release. The current stable release number is 1.42.1. |
--- D:\Programming\SVN\mediawiki\branches\REL1_16\phase3\skins\MonoBook.php 2011-07-18 22:30:42.505859400 +0100
+++ D:\Programming\SVN\wikia\trunk\skins\MonoBook.php 2011-08-17 15:06:30.880859400 +0100
@@ -18,7 +18,12 @@
* @todo document
* @ingroup Skins
*/
-class SkinMonoBook extends SkinTemplate {
+
+/* Wikia change begin - @author: Macbre */
+/* use Wikia specific class between SkinTemplate and SkinMonoBook */
+class SkinMonoBook extends WikiaSkinMonoBook {
+/* Wikia change end */
+
/** Using monobook. */
var $skinname = 'monobook', $stylename = 'monobook',
$template = 'MonoBookTemplate', $useHeadElement = true;
@@ -70,7 +76,13 @@
$this->html( 'headelement' );
?><div id="globalWrapper">
-<div id="column-content"><div id="content" <?php $this->html("specialpageattributes") ?>>
+<div id="column-content">
+<?php
+/* Wikia change begin - @author: Hyun */
+ method_exists($this->skin, "printTopHtml") && $this->skin->printTopHtml();
+/* Wikia change end */
+?>
+<div id="content" <?php $this->html("specialpageattributes") ?>>
<a id="top"></a>
<?php if($this->data['sitenotice']) { ?><div id="siteNotice"><?php $this->html('sitenotice') ?></div><?php } ?>
@@ -160,9 +172,20 @@
$this->customBox( $boxName, $cont );
}
}
+
+ /* Wikia change begin - @author: Macbre */
+ if (method_exists($skin, 'wikiaBox')) {
+ $skin->wikiaBox();
+ }
+ /* Wikia change end */
?>
</div><!-- end of the left (by default at least) column -->
<div class="visualClear"></div>
+<?php
+ /* Wikia change begin - @author: Macbre */
+ $this->html('ads-column');
+ /* Wikia change end */
+?>
<div id="footer"<?php $this->html('userlangattributes') ?>>
<?php
if($this->data['poweredbyico']) { ?>
@@ -176,6 +199,9 @@
$footerlinks = array(
'lastmod', 'viewcount', 'numberofwatchingusers', 'credits', 'copyright',
'privacy', 'about', 'disclaimer', 'tagline',
+ /* Wikia change begin - @author: macbre */
+ 'contact', 'advertise', 'hosting'
+ /* Wikia change end */
);
$validFooterLinks = array();
foreach( $footerlinks as $aLink ) {