Search & replace war on old wf* xml functions

This commit is contained in:
Aaron Schulz 2008-12-20 09:32:47 +00:00
parent a4bd412bc6
commit e26669a126

View file

@ -56,7 +56,7 @@ class CiteForm {
global $wgOut, $wgTitle; global $wgOut, $wgTitle;
$wgOut->addHTML( $wgOut->addHTML(
wfElement( 'form', Xml::element( 'form',
array( array(
'id' => 'specialcite', 'id' => 'specialcite',
'method' => 'get', 'method' => 'get',
@ -64,9 +64,9 @@ class CiteForm {
), ),
null null
) . ) .
wfOpenElement( 'label' ) . Xml::openElement( 'label' ) .
wfMsgHtml( 'cite_page' ) . ' ' . wfMsgHtml( 'cite_page' ) . ' ' .
wfElement( 'input', Xml::element( 'input',
array( array(
'type' => 'text', 'type' => 'text',
'size' => 30, 'size' => 30,
@ -76,15 +76,15 @@ class CiteForm {
'' ''
) . ) .
' ' . ' ' .
wfElement( 'input', Xml::element( 'input',
array( array(
'type' => 'submit', 'type' => 'submit',
'value' => wfMsgHtml( 'cite_submit' ) 'value' => wfMsgHtml( 'cite_submit' )
), ),
'' ''
) . ) .
wfCloseElement( 'label' ) . Xml::closeElement( 'label' ) .
wfCloseElement( 'form' ) Xml::closeElement( 'form' )
); );
} }