mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-30 17:54:20 +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;
|
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' )
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue