Index: trunk/extensions/LiveTranslate/LiveTranslate.php |
— | — | @@ -25,7 +25,7 @@ |
26 | 26 | die( 'Not an entry point.' ); |
27 | 27 | } |
28 | 28 | |
29 | | -define( 'LiveTranslate_VERSION', '0.5' ); |
| 29 | +define( 'LiveTranslate_VERSION', '0.5.1' ); |
30 | 30 | |
31 | 31 | $wgExtensionCredits['other'][] = array( |
32 | 32 | 'path' => __FILE__, |
Index: trunk/extensions/LiveTranslate/specials/SpecialLiveTranslate.php |
— | — | @@ -163,7 +163,7 @@ |
164 | 164 | protected function displayTMConfig( array $tms ) { |
165 | 165 | global $wgOut, $wgUser; |
166 | 166 | |
167 | | - $wgOut->addHtml( Html::openElement( |
| 167 | + $wgOut->addHtml( Xml::openElement( |
168 | 168 | 'form', |
169 | 169 | array( |
170 | 170 | 'id' => 'tmform', |
— | — | @@ -189,7 +189,7 @@ |
190 | 190 | |
191 | 191 | $wgOut->addHTML( '<h3>' . htmlspecialchars( wfMsg( 'livetranslate-special-current-tms' ) ) . '</h3>' ); |
192 | 192 | |
193 | | - $wgOut->addHTML( Html::openElement( |
| 193 | + $wgOut->addHTML( Xml::openElement( |
194 | 194 | 'table', |
195 | 195 | array( 'class' => 'wikitable', 'style' => 'width:50%' ) |
196 | 196 | ) ); |
— | — | @@ -207,7 +207,7 @@ |
208 | 208 | $this->displayTMItem( $tm ); |
209 | 209 | } |
210 | 210 | |
211 | | - $wgOut->addHTML( Html::closeElement( 'table' ) ); |
| 211 | + $wgOut->addHTML( Xml::closeElement( 'table' ) ); |
212 | 212 | } |
213 | 213 | else { |
214 | 214 | $wgOut->addWikiMsg( 'livetranslate-special-no-tms-yet' ); |
— | — | @@ -224,7 +224,7 @@ |
225 | 225 | array( 'id' => 'tmform-submit' ) |
226 | 226 | ) . |
227 | 227 | Html::hidden( 'wpEditToken', $wgUser->editToken() ) . |
228 | | - Html::closeElement( 'form' ) |
| 228 | + Xml::closeElement( 'form' ) |
229 | 229 | ); |
230 | 230 | } |
231 | 231 | |