24 private int $imageLinksMigrationStage;
27 parent::__construct(
'Mostimages' );
45 $linksTables = [
'imagelinks' ];
46 $titleField =
'il_to';
49 $linksTables = [
'imagelinks',
'linktarget' ];
50 $titleField =
'lt_title';
51 $joinConds = [
'linktarget' => [
'JOIN',
'il_target_id = lt_id' ] ];
55 'tables' => $linksTables,
58 'title' => $titleField,
61 'join_conds' => $joinConds,
63 'GROUP BY' => $titleField,
64 'HAVING' =>
'COUNT(*) > 1'
71 return $this->
msg(
'nimagelinks' )->numParams( $row->value )->escaped() .
'<br />';
82 ImageLinksTable::VIRTUAL_DOMAIN,
92class_alias( SpecialMostImages::class,
'MostimagesPage' );
const SCHEMA_COMPAT_READ_OLD
A class containing constants representing the names of configuration variables.
const ImageLinksSchemaMigrationStage
Name constant for the ImageLinksSchemaMigrationStage setting, for use with Config::get()
Variant of QueryPage which uses a gallery to output results, thus suited for reports generating image...
setDatabaseProvider(IConnectionProvider $databaseProvider)
getConfig()
Shortcut to get main config object.
msg( $key,... $params)
Wrapper around wfMessage that sets the current context.