mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-27 16:30:12 +00:00
Search & replace war on old wf* xml functions
This commit is contained in:
parent
a4bd412bc6
commit
e26669a126
|
@ -56,7 +56,7 @@ class CiteForm {
|
|||
global $wgOut, $wgTitle;
|
||||
|
||||
$wgOut->addHTML(
|
||||
wfElement( 'form',
|
||||
Xml::element( 'form',
|
||||
array(
|
||||
'id' => 'specialcite',
|
||||
'method' => 'get',
|
||||
|
@ -64,9 +64,9 @@ class CiteForm {
|
|||
),
|
||||
null
|
||||
) .
|
||||
wfOpenElement( 'label' ) .
|
||||
Xml::openElement( 'label' ) .
|
||||
wfMsgHtml( 'cite_page' ) . ' ' .
|
||||
wfElement( 'input',
|
||||
Xml::element( 'input',
|
||||
array(
|
||||
'type' => 'text',
|
||||
'size' => 30,
|
||||
|
@ -76,15 +76,15 @@ class CiteForm {
|
|||
''
|
||||
) .
|
||||
' ' .
|
||||
wfElement( 'input',
|
||||
Xml::element( 'input',
|
||||
array(
|
||||
'type' => 'submit',
|
||||
'value' => wfMsgHtml( 'cite_submit' )
|
||||
),
|
||||
''
|
||||
) .
|
||||
wfCloseElement( 'label' ) .
|
||||
wfCloseElement( 'form' )
|
||||
Xml::closeElement( 'label' ) .
|
||||
Xml::closeElement( 'form' )
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue