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 "[FileBackend] Fixed bug where "false" could be included in getDirectoryList()."
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialPopularpages.php
diff --git
a/includes/specials/SpecialPopularpages.php
b/includes/specials/SpecialPopularpages.php
index
9f84804
..
5a9f3f7
100644
(file)
--- a/
includes/specials/SpecialPopularpages.php
+++ b/
includes/specials/SpecialPopularpages.php
@@
-37,14
+37,16
@@
class PopularPagesPage extends QueryPage {
return true;
}
return true;
}
- function isSyndicated() { return false; }
+ function isSyndicated() {
+ return false;
+ }
function getQueryInfo() {
return array (
'tables' => array( 'page' ),
function getQueryInfo() {
return array (
'tables' => array( 'page' ),
- 'fields' => array( '
page_namespace AS
namespace',
- '
page_title AS
title',
- '
page_counter AS value
'),
+ 'fields' => array( '
namespace' => 'page_
namespace',
+ '
title' => 'page_
title',
+ '
value' => 'page_counter
'),
'conds' => array( 'page_is_redirect' => 0,
'page_namespace' => MWNamespace::getContentNamespaces() ) );
}
'conds' => array( 'page_is_redirect' => 0,
'page_namespace' => MWNamespace::getContentNamespaces() ) );
}