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 "rebuildLocalisationCache: Implement --lang option"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialMostcategories.php
diff --git
a/includes/specials/SpecialMostcategories.php
b/includes/specials/SpecialMostcategories.php
index
11f26bd
..
a0dbcf0
100644
(file)
--- a/
includes/specials/SpecialMostcategories.php
+++ b/
includes/specials/SpecialMostcategories.php
@@
-30,7
+30,6
@@
* @ingroup SpecialPage
*/
class MostcategoriesPage extends QueryPage {
* @ingroup SpecialPage
*/
class MostcategoriesPage extends QueryPage {
-
function __construct( $name = 'Mostcategories' ) {
parent::__construct( $name );
}
function __construct( $name = 'Mostcategories' ) {
parent::__construct( $name );
}
@@
-44,22
+43,22
@@
class MostcategoriesPage extends QueryPage {
}
function getQueryInfo() {
}
function getQueryInfo() {
- return array
(
- 'tables' => array
( 'categorylinks', 'page' ),
- 'fields' => array
( 'namespace' => 'page_namespace',
+ return array(
+ 'tables' => array( 'categorylinks', 'page' ),
+ 'fields' => array( 'namespace' => 'page_namespace',
'title' => 'page_title',
'value' => 'COUNT(*)' ),
'title' => 'page_title',
'value' => 'COUNT(*)' ),
- 'conds' => array
( 'page_namespace' => MWNamespace::getContentNamespaces() ),
- 'options' => array
( 'HAVING' => 'COUNT(*) > 1',
+ 'conds' => array( 'page_namespace' => MWNamespace::getContentNamespaces() ),
+ 'options' => array( 'HAVING' => 'COUNT(*) > 1',
'GROUP BY' => array( 'page_namespace', 'page_title' ) ),
'GROUP BY' => array( 'page_namespace', 'page_title' ) ),
- 'join_conds' => array
( 'page' => array
( 'LEFT JOIN',
+ 'join_conds' => array
( 'page' => array
( 'LEFT JOIN',
'page_id = cl_from' ) )
);
}
/**
'page_id = cl_from' ) )
);
}
/**
- * @param
$db DatabaseBase
- * @param $res
+ * @param
DatabaseBase $db
+ * @param
ResultWrapper
$res
*/
function preprocessResults( $db, $res ) {
# There's no point doing a batch check if we aren't caching results;
*/
function preprocessResults( $db, $res ) {
# There's no point doing a batch check if we aren't caching results;
@@
-78,8
+77,8
@@
class MostcategoriesPage extends QueryPage {
}
/**
}
/**
- * @param
$skin S
kin
- * @param
$result
+ * @param
Skin $s
kin
+ * @param
object $result Result row
* @return string
*/
function formatResult( $skin, $result ) {
* @return string
*/
function formatResult( $skin, $result ) {