MediaWiki
REL1_24
|
Special:ListDuplicatedFiles Lists all files where the current version is a duplicate of the current version of some other file. More...
Public Member Functions | |
__construct ($name= 'ListDuplicatedFiles') | |
formatResult ($skin, $result) | |
getQueryInfo () | |
Get all the duplicates by grouping on sha1s. | |
isExpensive () | |
Is this query expensive (for some definition of expensive)? Then we don't let it run in miser mode. | |
isSyndicated () | |
Sometime we don't want to build rss / atom feeds. | |
preprocessResults ($db, $res) | |
Pre-fill the link cache. | |
Protected Member Functions | |
getGroupName () | |
Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'. |
Special:ListDuplicatedFiles Lists all files where the current version is a duplicate of the current version of some other file.
Definition at line 32 of file SpecialListDuplicatedFiles.php.
ListDuplicatedFilesPage::__construct | ( | $ | name = 'ListDuplicatedFiles' | ) |
Definition at line 33 of file SpecialListDuplicatedFiles.php.
References $name.
ListDuplicatedFilesPage::formatResult | ( | $ | skin, |
$ | result | ||
) |
Skin | $skin | |
object | $result | Result row |
Reimplemented from QueryPage.
Definition at line 96 of file SpecialListDuplicatedFiles.php.
References $result, SpecialPage\getTitleFor(), Title\makeTitle(), and SpecialPage\msg().
ListDuplicatedFilesPage::getGroupName | ( | ) | [protected] |
Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'.
Reimplemented from SpecialPage.
Definition at line 110 of file SpecialListDuplicatedFiles.php.
Get all the duplicates by grouping on sha1s.
A cheaper (but less useful) version of this query would be to not care how many duplicates a particular file has, and do a self-join on image table. However this version should be no more expensive then Special:MostLinked, which seems to get handled fine with however we are doing cached special pages.
Reimplemented from QueryPage.
Definition at line 56 of file SpecialListDuplicatedFiles.php.
References array().
Is this query expensive (for some definition of expensive)? Then we don't let it run in miser mode.
$wgDisableQueryPages causes all query pages to be declared expensive. Some query pages are always expensive.
Reimplemented from QueryPage.
Definition at line 37 of file SpecialListDuplicatedFiles.php.
Sometime we don't want to build rss / atom feeds.
Reimplemented from QueryPage.
Definition at line 41 of file SpecialListDuplicatedFiles.php.
ListDuplicatedFilesPage::preprocessResults | ( | $ | db, |
$ | res | ||
) |
Pre-fill the link cache.
DatabaseBase | $db | |
ResultWrapper | $res |
Reimplemented from QueryPage.
Definition at line 77 of file SpecialListDuplicatedFiles.php.