X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialFileDuplicateSearch.php;h=fc26c9030dd437ff9efc50ad92c500e1b6de0b43;hb=038bde3276d1caa9804fbea170b1921cc9058546;hp=b6c9d55d0e5153212f800aa75587842edb7a06f2;hpb=487823ba8954ef50a44937c55276cad9b5742cc1;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialFileDuplicateSearch.php b/includes/specials/SpecialFileDuplicateSearch.php index b6c9d55d0e..fc26c9030d 100644 --- a/includes/specials/SpecialFileDuplicateSearch.php +++ b/includes/specials/SpecialFileDuplicateSearch.php @@ -59,7 +59,7 @@ class FileDuplicateSearchPage extends QueryPage { /** * Fetch dupes from all connected file repositories. * - * @return array of File objects + * @return array Array of File objects */ function getDupes() { return RepoGroup::singleton()->findBySha1( $this->hash ); @@ -67,7 +67,7 @@ class FileDuplicateSearchPage extends QueryPage { /** * - * @param array $dupes of File objects + * @param array $dupes Array of File objects */ function showList( $dupes ) { $html = array(); @@ -96,8 +96,6 @@ class FileDuplicateSearchPage extends QueryPage { } function execute( $par ) { - global $wgScript; - $this->setHeaders(); $this->outputHeader(); @@ -115,7 +113,7 @@ class FileDuplicateSearchPage extends QueryPage { $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" .