Index: trunk/extensions/Translate/specials/SpecialLanguageStats.php |
— | — | @@ -89,28 +89,28 @@ |
90 | 90 | $out .= Html::openElement( 'tr' ); |
91 | 91 | $out .= Html::openElement( 'td', array( 'class' => 'mw-label' ) ); |
92 | 92 | $out .= Xml::label( wfMsg( 'translate-language-code-field-name' ), 'code' ); |
93 | | - $out .= Html::closeElement( 'td' ); |
| 93 | + $out .= Xml::closeElement( 'td' ); |
94 | 94 | $out .= Html::openElement( 'td', array( 'class' => 'mw-input' ) ); |
95 | 95 | $out .= Xml::input( 'code', 30, str_replace( '_', ' ', $code ), array( 'id' => 'code' ) ); |
96 | | - $out .= Html::closeElement( 'td' ); |
97 | | - $out .= Html::closeElement( 'tr' ); |
| 96 | + $out .= Xml::closeElement( 'td' ); |
| 97 | + $out .= Xml::closeElement( 'tr' ); |
98 | 98 | |
99 | 99 | $out .= Html::openElement( 'tr' ); |
100 | 100 | $out .= Html::openElement( 'td', array( 'colspan' => 2 ) ); |
101 | 101 | $out .= Xml::checkLabel( wfMsg( 'translate-suppress-complete' ), 'suppresscomplete', 'suppresscomplete', $suppressComplete ); |
102 | | - $out .= Html::closeElement( 'td' ); |
103 | | - $out .= Html::closeElement( 'tr' ); |
| 102 | + $out .= Xml::closeElement( 'td' ); |
| 103 | + $out .= Xml::closeElement( 'tr' ); |
104 | 104 | |
105 | 105 | $out .= Html::openElement( 'tr' ); |
106 | 106 | $out .= Html::openElement( 'td', array( 'class' => 'mw-input', 'colspan' => 2 ) ); |
107 | 107 | $out .= Xml::submitButton( wfMsg( 'allpagessubmit' ) ); |
108 | | - $out .= Html::closeElement( 'td' ); |
109 | | - $out .= Html::closeElement( 'tr' ); |
| 108 | + $out .= Xml::closeElement( 'td' ); |
| 109 | + $out .= Xml::closeElement( 'tr' ); |
110 | 110 | |
111 | | - $out .= Html::closeElement( 'table' ); |
112 | | - $out .= Html::closeElement( 'fieldset' ); |
113 | | - $out .= Html::closeElement( 'form' ); |
114 | | - $out .= Html::closeElement( 'div' ); |
| 111 | + $out .= Xml::closeElement( 'table' ); |
| 112 | + $out .= Xml::closeElement( 'fieldset' ); |
| 113 | + $out .= Xml::closeElement( 'form' ); |
| 114 | + $out .= Xml::closeElement( 'div' ); |
115 | 115 | |
116 | 116 | return $out; |
117 | 117 | } |
— | — | @@ -187,7 +187,7 @@ |
188 | 188 | $out .= "\n\t\t" . Html::element( 'th', array( 'title' => self::newlineToWordSeparator( wfMsg( 'translate-untranslated-tooltip' ) ) ), wfMsg( 'translate-untranslated' ) ); |
189 | 189 | $out .= "\n\t\t" . Html::element( 'th', array( 'title' => self::newlineToWordSeparator( wfMsg( 'translate-percentage-complete-tooltip' ) ) ), wfMsg( 'translate-percentage-complete' ) ); |
190 | 190 | $out .= "\n\t\t" . Html::element( 'th', array( 'title' => self::newlineToWordSeparator( wfMsg( 'translate-percentage-fuzzy-tooltip' ) ) ), wfMsg( 'translate-percentage-fuzzy' ) ); |
191 | | - $out .= "\n\t" . Html::closeElement( 'tr' ); |
| 191 | + $out .= "\n\t" . Xml::closeElement( 'tr' ); |
192 | 192 | |
193 | 193 | return $out; |
194 | 194 | } |
— | — | @@ -217,7 +217,7 @@ |
218 | 218 | |
219 | 219 | if ( $out ) { |
220 | 220 | $out = $this->createHeader( $code ) . "\n" . $out; |
221 | | - $out .= Html::closeElement( 'table' ); |
| 221 | + $out .= Xml::closeElement( 'table' ); |
222 | 222 | } else { |
223 | 223 | $out = wfMsgExt( 'translate-nothing-to-do', 'parse' ); |
224 | 224 | } |
— | — | @@ -313,7 +313,7 @@ |
314 | 314 | $this->getBackgroundColour( $fuzzy, $total, true ), |
315 | 315 | sprintf( '%1.3f', $fuzzy / $total ) ); |
316 | 316 | |
317 | | - $out .= "\n\t" . Html::closeElement( 'tr' ) . "\n"; |
| 317 | + $out .= "\n\t" . Xml::closeElement( 'tr' ) . "\n"; |
318 | 318 | return $out; |
319 | 319 | } |
320 | 320 | |