<div id="mw_main">
<div id="mw_contentwrapper">
<!-- navigation portlet -->
-<?php $this->cactions( $skin ); ?>
+<?php $this->cactions(); ?>
<!-- content -->
<div id="mw_content">
parent::setupSkinUserCss( $out );
$out->addModuleStyles( 'skins.monobook' );
-
+
// Ugh. Can't do this properly because $wgHandheldStyle may be a URL
if( $wgHandheldStyle ) {
// Currently in testing... try 'chick/main.css'
$out->addStyle( $wgHandheldStyle, 'handheld' );
}
-
+
// TODO: Migrate all of these
//$out->addStyle( 'monobook/IE50Fixes.css', 'screen', 'lt IE 5.5000' );
//$out->addStyle( 'monobook/IE55Fixes.css', 'screen', 'IE 5.5000' );
</div>
</div></div>
<div id="column-one"<?php $this->html('userlangattributes') ?>>
-<?php $this->cactions( $this->skin ); ?>
+<?php $this->cactions(); ?>
<div class="portlet" id="p-personal">
<h5><?php $this->msg('personaltools') ?></h5>
<div class="pBody">
*
* @param $skin Skin
*/
- function cactions( Skin $skin ) {
+ function cactions() {
?>
<div id="p-cactions" class="portlet">
<h5><?php $this->msg('views') ?></h5>
<ul><?php
foreach($this->data['content_actions'] as $key => $tab) {
$linkAttribs = array( 'href' => $tab['href'] );
-
+
if( isset( $tab["tooltiponly"] ) && $tab["tooltiponly"] ) {
$title = Linker::titleAttrib( "ca-$key" );
if ( $title !== false ) {
$linkAttribs += Linker::tooltipAndAccesskeyAttribs( "ca-$key" );
}
$linkHtml = Html::element( 'a', $linkAttribs, $tab['text'] );
-
+
/* Surround with a <li> */
$liAttribs = array( 'id' => Sanitizer::escapeId( "ca-$key" ) );
if( $tab['class'] ) {
global $wgLocalStylePath, $wgRequest;
parent::initPage( $out );
-
+
// Append CSS which includes IE only behavior fixes for hover support -
// this is better than including this in a CSS fille since it doesn't
// wait for the CSS file to load before fetching the HTC file.
htmlspecialchars( $wgLocalStylePath ) .
"/{$this->stylename}/csshover{$min}.htc\")}</style><![endif]-->"
);
-
+
$out->addModuleScripts( 'skins.vector' );
}
// Build additional attributes for navigation urls
//$nav = $this->skin->buildNavigationUrls();
$nav = $this->data['content_navigation'];
-
+
if ( $wgVectorUseIconWatch ) {
$mode = $this->skin->getTitle()->userIsWatching() ? 'unwatch' : 'watch';
if ( isset( $nav['actions'][$mode] ) ) {
if ( $section == 'views' && !( isset( $link['primary'] ) && $link['primary'] ) ) {
$link['class'] = rtrim( 'collapsible ' . $link['class'], ' ' );
}
-
+
$xmlID = isset( $link['id'] ) ? $link['id'] : 'ca-' . $xmlID;
$nav[$section][$key]['attributes'] =
' id="' . Sanitizer::escapeId( $xmlID ) . '"';
/**
* Render a series of portals
*
- * @params $portals array
+ * @param $portals array
*/
private function renderPortals( $portals ) {
// Force the rendering of the following portals