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 "libs: Declare dynamic properties and improve doc types"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialMostimages.php
diff --git
a/includes/specials/SpecialMostimages.php
b/includes/specials/SpecialMostimages.php
index
98d8da3
..
1339f4b
100644
(file)
--- a/
includes/specials/SpecialMostimages.php
+++ b/
includes/specials/SpecialMostimages.php
@@
-25,7
+25,7
@@
*/
/**
*/
/**
- * A special page
page that list
most used images
+ * A special page
that lists
most used images
*
* @ingroup SpecialPage
*/
*
* @ingroup SpecialPage
*/
@@
-43,18
+43,18
@@
class MostimagesPage extends ImageQueryPage {
}
function getQueryInfo() {
}
function getQueryInfo() {
- return
array(
- 'tables' =>
array( 'imagelinks' )
,
- 'fields' =>
array(
+ return
[
+ 'tables' =>
[ 'imagelinks' ]
,
+ 'fields' =>
[
'namespace' => NS_FILE,
'title' => 'il_to',
'value' => 'COUNT(*)'
'namespace' => NS_FILE,
'title' => 'il_to',
'value' => 'COUNT(*)'
-
)
,
- 'options' =>
array(
+
]
,
+ 'options' =>
[
'GROUP BY' => 'il_to',
'HAVING' => 'COUNT(*) > 1'
'GROUP BY' => 'il_to',
'HAVING' => 'COUNT(*) > 1'
- )
-
)
;
+ ]
+
]
;
}
function getCellHtml( $row ) {
}
function getCellHtml( $row ) {