Index: trunk/extensions/Configure/Configure.page.php |
— | — | @@ -1024,18 +1024,18 @@ |
1025 | 1025 | $attribs['valign'] = 'top'; |
1026 | 1026 | $msgVal = wfMsgExt( $msg, array( 'parseinline' ) ); |
1027 | 1027 | $rawVal = Xml::element( 'tt', null, "\$$conf" ); |
1028 | | - if ( wfEmptyMsg( $msg, $msgVal ) ) |
1029 | | - $msgVal = $rawVal; |
1030 | | - else |
1031 | | - $msgVal = "$msgVal ($rawVal)"; |
1032 | 1028 | if ( $showLink ) { |
1033 | 1029 | $url = 'http://www.mediawiki.org/wiki/Manual:$' . $conf; |
1034 | | - $link = Xml::tags( 'a', array( 'href' => $url, 'class' => 'configure-doc' ), $msgVal ); |
| 1030 | + $link = Xml::tags( 'a', array( 'href' => $url, 'class' => 'configure-doc' ), $rawVal ); |
1035 | 1031 | } else { |
1036 | | - $link = $msgVal; |
| 1032 | + $link = $rawVal; |
1037 | 1033 | } |
| 1034 | + if ( wfEmptyMsg( $msg, $msgVal ) ) |
| 1035 | + $msgVal = $link; |
| 1036 | + else |
| 1037 | + $msgVal = "$msgVal ($link)"; |
1038 | 1038 | $attribs['class'] = 'configure-left-column'; |
1039 | | - $td1 = Xml::openElement( 'td', $attribs ) . $link . '</td>'; |
| 1039 | + $td1 = Xml::openElement( 'td', $attribs ) . $msgVal . '</td>'; |
1040 | 1040 | $attribs['class'] = 'configure-right-column'; |
1041 | 1041 | if ( $this->isSettingAvailable( $conf ) ) |
1042 | 1042 | $td2 = Xml::openElement( 'td', $attribs ) . $this->buildInput( $conf, $params ) . '</td>'; |