Change-Id: I8a23e7b647c082119799b5bc8cfd5ff76c712f85
}
function execute( $par ) {
- global $wgScript;
-
$mime = $par ? $par : $this->getRequest()->getText( 'mime' );
$mime = trim( $mime );
$this->getOutput()->addHTML(
Xml::openElement(
'form',
- array( 'id' => 'specialmimesearch', 'method' => 'get', 'action' => $wgScript )
+ array( 'id' => 'specialmimesearch', 'method' => 'get', 'action' => wfScript() )
) .
Xml::openElement( 'fieldset' ) .
Html::hidden( 'title', $this->getPageTitle()->getPrefixedText() ) .
}
function showMergeForm() {
- global $wgScript;
-
$this->getOutput()->addWikiMsg( 'mergehistory-header' );
$this->getOutput()->addHTML(
Xml::openElement( 'form', array(
'method' => 'get',
- 'action' => $wgScript ) ) .
+ 'action' => wfScript() ) ) .
'<fieldset>' .
Xml::element( 'legend', array(),
$this->msg( 'mergehistory-box' )->text() ) .