From 63601400e476c6cf43d985f3e7b9864681695ed4 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Fri, 18 Jan 2013 16:46:04 +0100 Subject: Update to MediaWiki 1.20.2 this update includes: * adjusted Arch Linux skin * updated FluxBBAuthPlugin * patch for https://bugzilla.wikimedia.org/show_bug.cgi?id=44024 --- skins/MonoBook.php | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) (limited to 'skins/MonoBook.php') diff --git a/skins/MonoBook.php b/skins/MonoBook.php index f1fe5090..0bd7134b 100644 --- a/skins/MonoBook.php +++ b/skins/MonoBook.php @@ -1,10 +1,25 @@ html( 'headelement' ); ?>
-
+
data['sitenotice']) { ?>
html('sitenotice') ?>
@@ -78,7 +93,7 @@ class MonoBookTemplate extends BaseTemplate { data['newtalk'] ) { ?>
html('newtalk') ?>
data['showjumplinks']) { ?> - +
msg('jumpto') ?> msg('jumptonavigation') ?>msg( 'comma-separator' ) ?>msg('jumptosearch') ?>
html('bodytext') ?> @@ -158,6 +173,9 @@ echo $footerEnd; /*************************************************************************************************/ + /** + * @param $sidebar array + */ protected function renderPortals( $sidebar ) { if ( !isset( $sidebar['SEARCH'] ) ) $sidebar['SEARCH'] = true; if ( !isset( $sidebar['TOOLBOX'] ) ) $sidebar['TOOLBOX'] = true; @@ -265,6 +283,10 @@ echo $footerEnd; } /*************************************************************************************************/ + /** + * @param $bar string + * @param $cont array|string + */ function customBox( $bar, $cont ) { $portletAttribs = array( 'class' => 'generated-sidebar portlet', 'id' => Sanitizer::escapeId( "p-$bar" ) ); $tooltip = Linker::titleAttrib( "p-$bar" ); -- cgit v1.2.2