Index: trunk/phase3/includes/SpecialVersion.php |
— | — | @@ -102,7 +102,7 @@ |
103 | 103 | wfRunHooks( 'SpecialVersionExtensionTypes', array( &$this, &$extensionTypes ) ); |
104 | 104 | |
105 | 105 | $out = "<h2>Extensions</h2>\n"; |
106 | | - $out .= wfOpenElement('table', array('id' => 'sv-ext') ); |
| 106 | + $out .= Xml::openElement('table', array('id' => 'sv-ext') ); |
107 | 107 | |
108 | 108 | foreach ( $extensionTypes as $type => $text ) { |
109 | 109 | if ( isset ( $wgExtensionCredits[$type] ) && count ( $wgExtensionCredits[$type] ) ) { |
— | — | @@ -143,7 +143,7 @@ |
144 | 144 | $out .= $this->openExtType('Skin extension functions'); |
145 | 145 | $out .= '<tr><td colspan="3">' . $this->listToText( $wgSkinExtensionFunction ) . "</td></tr>\n"; |
146 | 146 | } |
147 | | - $out .= wfCloseElement( 'table' ); |
| 147 | + $out .= Xml::closeElement( 'table' ); |
148 | 148 | return $out; |
149 | 149 | } |
150 | 150 | |
— | — | @@ -187,7 +187,7 @@ |
188 | 188 | ksort( $myWgHooks ); |
189 | 189 | |
190 | 190 | $ret = "<h2>Hooks</h2>\n" |
191 | | - . wfOpenElement('table', array('id' => 'sv-hooks') ) |
| 191 | + . Xml::openElement('table', array('id' => 'sv-hooks') ) |
192 | 192 | . "<tr><th>Hook name</th><th>Subscribed by</th></tr>\n"; |
193 | 193 | |
194 | 194 | foreach ($myWgHooks as $hook => $hooks) |
— | — | @@ -205,13 +205,13 @@ |
206 | 206 | |
207 | 207 | if(!$this->firstExtOpened) { |
208 | 208 | // Insert a spacing line |
209 | | - $out .= '<tr class="sv-space">' . wfElement( 'td', $opt ) . "</tr>\n"; |
| 209 | + $out .= '<tr class="sv-space">' . Xml::element( 'td', $opt ) . "</tr>\n"; |
210 | 210 | } |
211 | 211 | $this->firstExtOpened = false; |
212 | 212 | |
213 | 213 | if($name) { $opt['id'] = "sv-$name"; } |
214 | 214 | |
215 | | - $out .= "<tr>" . wfElement( 'th', $opt, $text) . "</tr>\n"; |
| 215 | + $out .= "<tr>" . Xml::element( 'th', $opt, $text) . "</tr>\n"; |
216 | 216 | return $out; |
217 | 217 | } |
218 | 218 | |