MediaWiki  1.23.0
SpecialUncategorizedimages.php
Go to the documentation of this file.
1 <?php
32  function __construct( $name = 'Uncategorizedimages' ) {
33  parent::__construct( $name );
34  }
35 
36  function sortDescending() {
37  return false;
38  }
39 
40  function isExpensive() {
41  return true;
42  }
43 
44  function isSyndicated() {
45  return false;
46  }
47 
48  function getQueryInfo() {
49  return array(
50  'tables' => array( 'page', 'categorylinks' ),
51  'fields' => array( 'namespace' => 'page_namespace',
52  'title' => 'page_title',
53  'value' => 'page_title' ),
54  'conds' => array( 'cl_from IS NULL',
55  'page_namespace' => NS_FILE,
56  'page_is_redirect' => 0 ),
57  'join_conds' => array( 'categorylinks' => array(
58  'LEFT JOIN', 'cl_from=page_id' ) )
59  );
60  }
61 
62  protected function getGroupName() {
63  return 'maintenance';
64  }
65 }
UncategorizedImagesPage\__construct
__construct( $name='Uncategorizedimages')
Definition: SpecialUncategorizedimages.php:32
UncategorizedImagesPage
Special page lists images which haven't been categorised.
Definition: SpecialUncategorizedimages.php:31
php
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
Definition: skin.txt:62
NS_FILE
const NS_FILE
Definition: Defines.php:85
UncategorizedImagesPage\getQueryInfo
getQueryInfo()
Subclasses return an SQL query here, formatted as an array with the following keys: tables => Table(s...
Definition: SpecialUncategorizedimages.php:48
UncategorizedImagesPage\getGroupName
getGroupName()
Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-gro...
Definition: SpecialUncategorizedimages.php:62
array
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
UncategorizedImagesPage\isExpensive
isExpensive()
Is this query expensive (for some definition of expensive)? Then we don't let it run in miser mode.
Definition: SpecialUncategorizedimages.php:40
$name
Allows to change the fields on the form that will be generated $name
Definition: hooks.txt:336
UncategorizedImagesPage\sortDescending
sortDescending()
Override to sort by increasing values.
Definition: SpecialUncategorizedimages.php:36
UncategorizedImagesPage\isSyndicated
isSyndicated()
Sometime we don't want to build rss / atom feeds.
Definition: SpecialUncategorizedimages.php:44
ImageQueryPage
Variant of QueryPage which uses a gallery to output results, thus suited for reports generating image...
Definition: ImageQueryPage.php:31