27 namespace MediaWiki\Specials;
54 parent::__construct(
'ListDuplicatedFiles' );
80 'tables' => [
'image' ],
83 'title' =>
'MIN(img_name)',
87 'GROUP BY' =>
'img_sha1',
88 'HAVING' =>
'count(*) > 1',
114 $msg = $this->
msg(
'listduplicatedfiles-entry' )
115 ->params( $image1->getText() )
116 ->numParams( $result->value - 1 )
117 ->params( $dupeSearch->getPrefixedDBkey() );
119 return $msg->parse();
124 parent::execute( $par );
135 class_alias( SpecialListDuplicatedFiles::class,
'SpecialListDuplicatedFiles' );
This is a class for doing query pages; since they're almost all the same, we factor out some of the f...
setDatabaseProvider(IConnectionProvider $databaseProvider)
executeLBFromResultWrapper(IResultWrapper $res, $ns=null)
Creates a new LinkBatch object, adds all pages from the passed result wrapper (MUST include title and...
setLinkBatchFactory(LinkBatchFactory $linkBatchFactory)
Parent class for all special pages.
static getTitleFor( $name, $subpage=false, $fragment='')
Get a localised Title object for a specified special page name If you don't need a full Title object,...
msg( $key,... $params)
Wrapper around wfMessage that sets the current context.
addHelpLink( $to, $overrideBaseUrl=false)
Adds help link with an icon via page indicators.
The base class for all skins.