From: Niklas Laxström Date: Sat, 19 Jan 2008 10:27:59 +0000 (+0000) Subject: * Xml:: X-Git-Tag: 1.31.0-rc.0~49910 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=a4a6352480a689812b18e960a91791519b6401c4;p=lhc%2Fweb%2Fwiklou.git * Xml:: --- diff --git a/includes/SpecialVersion.php b/includes/SpecialVersion.php index f63f995f6b..501ba9a44b 100644 --- a/includes/SpecialVersion.php +++ b/includes/SpecialVersion.php @@ -102,7 +102,7 @@ class SpecialVersion { wfRunHooks( 'SpecialVersionExtensionTypes', array( &$this, &$extensionTypes ) ); $out = "

Extensions

\n"; - $out .= wfOpenElement('table', array('id' => 'sv-ext') ); + $out .= Xml::openElement('table', array('id' => 'sv-ext') ); foreach ( $extensionTypes as $type => $text ) { if ( isset ( $wgExtensionCredits[$type] ) && count ( $wgExtensionCredits[$type] ) ) { @@ -143,7 +143,7 @@ class SpecialVersion { $out .= $this->openExtType('Skin extension functions'); $out .= '' . $this->listToText( $wgSkinExtensionFunction ) . "\n"; } - $out .= wfCloseElement( 'table' ); + $out .= Xml::closeElement( 'table' ); return $out; } @@ -187,7 +187,7 @@ class SpecialVersion { ksort( $myWgHooks ); $ret = "

Hooks

\n" - . wfOpenElement('table', array('id' => 'sv-hooks') ) + . Xml::openElement('table', array('id' => 'sv-hooks') ) . "Hook nameSubscribed by\n"; foreach ($myWgHooks as $hook => $hooks) @@ -205,13 +205,13 @@ class SpecialVersion { if(!$this->firstExtOpened) { // Insert a spacing line - $out .= '' . wfElement( 'td', $opt ) . "\n"; + $out .= '' . Xml::element( 'td', $opt ) . "\n"; } $this->firstExtOpened = false; if($name) { $opt['id'] = "sv-$name"; } - $out .= "" . wfElement( 'th', $opt, $text) . "\n"; + $out .= "" . Xml::element( 'th', $opt, $text) . "\n"; return $out; }