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 "content: Use Language::factory( 'en' ) instead of wfGetLangObj( 'en' )"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialAncientpages.php
diff --git
a/includes/specials/SpecialAncientpages.php
b/includes/specials/SpecialAncientpages.php
index
2da24a8
..
9ee1b75
100644
(file)
--- a/
includes/specials/SpecialAncientpages.php
+++ b/
includes/specials/SpecialAncientpages.php
@@
-41,19
+41,19
@@
class AncientPagesPage extends QueryPage {
}
public function getQueryInfo() {
}
public function getQueryInfo() {
- return
array(
- 'tables' =>
array( 'page', 'revision' )
,
- 'fields' =>
array(
+ return
[
+ 'tables' =>
[ 'page', 'revision' ]
,
+ 'fields' =>
[
'namespace' => 'page_namespace',
'title' => 'page_title',
'value' => 'rev_timestamp'
'namespace' => 'page_namespace',
'title' => 'page_title',
'value' => 'rev_timestamp'
-
)
,
- 'conds' =>
array(
+
]
,
+ 'conds' =>
[
'page_namespace' => MWNamespace::getContentNamespaces(),
'page_is_redirect' => 0,
'page_latest=rev_id'
'page_namespace' => MWNamespace::getContentNamespaces(),
'page_is_redirect' => 0,
'page_latest=rev_id'
- )
-
)
;
+ ]
+
]
;
}
public function usesTimestamps() {
}
public function usesTimestamps() {
@@
-64,6
+64,10
@@
class AncientPagesPage extends QueryPage {
return false;
}
return false;
}
+ public function preprocessResults( $db, $res ) {
+ $this->executeLBFromResultWrapper( $res );
+ }
+
/**
* @param Skin $skin
* @param object $result Result row
/**
* @param Skin $skin
* @param object $result Result row