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 "Addition of SearchAfterNoDirectMatch hook"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialShortpages.php
diff --git
a/includes/specials/SpecialShortpages.php
b/includes/specials/SpecialShortpages.php
index
ee04574
..
5a4e8f0
100644
(file)
--- a/
includes/specials/SpecialShortpages.php
+++ b/
includes/specials/SpecialShortpages.php
@@
-40,9
+40,9
@@
class ShortPagesPage extends QueryPage {
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_len AS value
' ),
+ 'fields' => array ( '
namespace' => 'page_
namespace',
+ '
title' => 'page_
title',
+ '
value' => 'page_len
' ),
'conds' => array ( 'page_namespace' =>
MWNamespace::getContentNamespaces(),
'page_is_redirect' => 0 ),
'conds' => array ( 'page_namespace' =>
MWNamespace::getContentNamespaces(),
'page_is_redirect' => 0 ),