}
function execute( $par ) {
- global $wgScript;
-
$this->setHeaders();
$this->outputHeader();
$out->addHTML(
Html::openElement(
'form',
- array( 'id' => 'fileduplicatesearch', 'method' => 'get', 'action' => $wgScript )
+ array( 'id' => 'fileduplicatesearch', 'method' => 'get', 'action' => wfScript() )
) . "\n" .
Html::hidden( 'title', $this->getPageTitle()->getPrefixedDBkey() ) . "\n" .
Html::openElement( 'fieldset' ) . "\n" .