r95752 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95751‎ | r95752 | r95753 >
Date:11:06, 30 August 2011
Author:siebrand
Status:ok
Tags:
Comment:
Clarify special skin class.
Modified paths:
  • /trunk/extensions/Translate/TranslateEditAddons.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/TranslateEditAddons.php
@@ -108,8 +108,9 @@
109109 }
110110
111111 protected static function addTab( $skin, &$tabs, $name, $data, &$index ) {
 112+ // SkinChihuahua is an exception for userbase.kde.org.
112113 if ( $skin instanceof SkinVector || $skin instanceof SkinChihuahua ) {
113 - $data['class'] = false; // Vector needs it for some reason
 114+ $data['class'] = false; // These skins need it for some reason
114115 $tabs['namespaces'][$name] = $data;
115116 } else {
116117 array_splice( $tabs, $index++, 0, array( $name => $data ) );

Status & tagging log