From a4a6352480a689812b18e960a91791519b6401c4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Sat, 19 Jan 2008 10:27:59 +0000 Subject: [PATCH] * Xml:: --- includes/SpecialVersion.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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; } -- 2.20.1