48 parent::__construct(
'ListDuplicatedFiles' );
74 'tables' => [
'image' ],
77 'title' =>
'MIN(img_name)',
81 'GROUP BY' =>
'img_sha1',
82 'HAVING' =>
'count(*) > 1',
105 $image1 = Title::makeTitle( $result->namespace, $result->title );
108 $msg = $this->
msg(
'listduplicatedfiles-entry' )
109 ->params( $image1->getText() )
110 ->numParams( $result->value - 1 )
111 ->params( $dupeSearch->getPrefixedDBkey() );
113 return $msg->parse();
118 parent::execute( $par );
127class_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.