35 parent::__construct(
'Unusedimages' );
53 'tables' => [
'image',
'imagelinks' ],
56 'title' =>
'img_name',
57 'value' =>
'img_timestamp',
59 'conds' => [
'il_to' => null ],
60 'join_conds' => [
'imagelinks' => [
'LEFT JOIN',
'il_to = img_name' ] ]
65 $retval[
'tables'] = [
'image',
'page',
'categorylinks',
67 $retval[
'conds'][
'page_namespace'] =
NS_FILE;
68 $retval[
'conds'][
'cl_from'] =
null;
69 $retval[
'conds'][] =
'img_name = page_title';
70 $retval[
'join_conds'][
'categorylinks'] = [
71 'LEFT JOIN',
'cl_from = page_id' ];
72 $retval[
'join_conds'][
'imagelinks'] = [
73 'LEFT JOIN',
'il_to = page_title' ];
86 'unusedimagestext-categorizedimgisused'
89 return $this->
msg(
'unusedimagestext' )->parseAsBlock();
101class_alias( SpecialUnusedImages::class,
'SpecialUnusedImages' );
A class containing constants representing the names of configuration variables.
const CountCategorizedImagesAsUsed
Name constant for the CountCategorizedImagesAsUsed 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.