dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "RCFilters: Make extra filters footer non-sticky"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialUncategorizedimages.php
diff --git
a/includes/specials/SpecialUncategorizedimages.php
b/includes/specials/SpecialUncategorizedimages.php
index
17de679
..
1cb27a3
100644
(file)
--- a/
includes/specials/SpecialUncategorizedimages.php
+++ b/
includes/specials/SpecialUncategorizedimages.php
@@
-26,10
+26,9
@@
* Special page lists images which haven't been categorised
*
* @ingroup SpecialPage
* Special page lists images which haven't been categorised
*
* @ingroup SpecialPage
+ * @todo FIXME: Use an instance of UncategorizedPagesPage or something
*/
*/
-// @todo FIXME: Use an instance of UncategorizedPagesPage or something
class UncategorizedImagesPage extends ImageQueryPage {
class UncategorizedImagesPage extends ImageQueryPage {
-
function __construct( $name = 'Uncategorizedimages' ) {
parent::__construct( $name );
}
function __construct( $name = 'Uncategorizedimages' ) {
parent::__construct( $name );
}
@@
-47,17
+46,17
@@
class UncategorizedImagesPage extends ImageQueryPage {
}
function getQueryInfo() {
}
function getQueryInfo() {
- return
array(
- 'tables' =>
array( 'page', 'categorylinks' )
,
- 'fields' =>
array(
'namespace' => 'page_namespace',
+ return
[
+ 'tables' =>
[ 'page', 'categorylinks' ]
,
+ 'fields' =>
[
'namespace' => 'page_namespace',
'title' => 'page_title',
'title' => 'page_title',
- 'value' => 'page_title'
)
,
- 'conds' =>
array(
'cl_from IS NULL',
+ 'value' => 'page_title'
]
,
+ 'conds' =>
[
'cl_from IS NULL',
'page_namespace' => NS_FILE,
'page_namespace' => NS_FILE,
- 'page_is_redirect' => 0
)
,
- 'join_conds' =>
array( 'categorylinks' => array(
- 'LEFT JOIN', 'cl_from=page_id'
) )
-
)
;
+ 'page_is_redirect' => 0
]
,
+ 'join_conds' =>
[ 'categorylinks' => [
+ 'LEFT JOIN', 'cl_from=page_id'
] ]
+
]
;
}
protected function getGroupName() {
}
protected function getGroupName() {