Index: trunk/extensions/Configure/Configure.page.php |
— | — | @@ -1249,10 +1249,8 @@ |
1250 | 1250 | |
1251 | 1251 | ## Only the class is customised per-cell, so we'll just redefine that. |
1252 | 1252 | $attribs['class'] = 'configure-right-column'; |
1253 | | - if ( $this->isSettingAvailable( $conf ) ) |
1254 | | - $td2 = Xml::tags( 'td', $attribs, $this->buildInput( $conf, $params ) ); |
1255 | | - else |
1256 | | - $td2 = Xml::tags( 'td', $attribs, wfMsgExt( 'configure-setting-not-available', array( 'parseinline' ) ) ); |
| 1253 | + |
| 1254 | + $td2 = Xml::tags( 'td', $attribs, $this->buildInput( $conf, $params ) ); |
1257 | 1255 | |
1258 | 1256 | return Xml::tags( 'tr', array( 'class' => implode( ' ', $rowClasses ) ), $td1 . $td2 ) . "\n"; |
1259 | 1257 | } |
— | — | @@ -1332,6 +1330,8 @@ |
1333 | 1331 | $show = $this->mCanEdit ? |
1334 | 1332 | ( isset( $params['edit'] ) ? $params['edit'] : $this->userCanEdit( $setting ) ) : |
1335 | 1333 | ( isset( $params['read'] ) ? $params['read'] : $this->userCanRead( $setting ) ); |
| 1334 | + |
| 1335 | + $show = $show && $this->isSettingAvailable( $setting ); |
1336 | 1336 | if ( $show ) { |
1337 | 1337 | $thisGroup .= $this->buildTableRow( $setting, $params ); |
1338 | 1338 | } else { |