dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "resourceloader: Remove comment about XmlJsCode wrapper"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialFileDuplicateSearch.php
diff --git
a/includes/specials/SpecialFileDuplicateSearch.php
b/includes/specials/SpecialFileDuplicateSearch.php
index
98f6072
..
f047e1f
100644
(file)
--- a/
includes/specials/SpecialFileDuplicateSearch.php
+++ b/
includes/specials/SpecialFileDuplicateSearch.php
@@
-1,4
+1,5
@@
<?php
<?php
+
use MediaWiki\MediaWikiServices;
/**
use MediaWiki\MediaWikiServices;
/**
@@
-30,7
+31,7
@@
use MediaWiki\MediaWikiServices;
*
* @ingroup SpecialPage
*/
*
* @ingroup SpecialPage
*/
-class
FileDuplicateSearchPage
extends QueryPage {
+class
SpecialFileDuplicateSearch
extends QueryPage {
protected $hash = '', $filename = '';
/**
protected $hash = '', $filename = '';
/**
@@
-108,7
+109,7
@@
class FileDuplicateSearchPage extends QueryPage {
$this->hash = '';
$title = Title::newFromText( $this->filename, NS_FILE );
if ( $title && $title->getText() != '' ) {
$this->hash = '';
$title = Title::newFromText( $this->filename, NS_FILE );
if ( $title && $title->getText() != '' ) {
- $this->file =
wfF
indFile( $title );
+ $this->file =
MediaWikiServices::getInstance()->getRepoGroup()->f
indFile( $title );
}
$out = $this->getOutput();
}
$out = $this->getOutput();