X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialAncientpages.php;h=724435b04fb0956a48131658c6a49197601f298a;hb=80a372f95741f7f187a11b021035189ec940473a;hp=2da24a8ed693283b4ecb9af8adbf45493c26b018;hpb=38ba6b620be9f6333d902055ae1c0c610af4985e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialAncientpages.php b/includes/specials/SpecialAncientpages.php index 2da24a8ed6..724435b04f 100644 --- a/includes/specials/SpecialAncientpages.php +++ b/includes/specials/SpecialAncientpages.php @@ -41,19 +41,19 @@ class AncientPagesPage extends QueryPage { } 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' - ), - 'conds' => array( + ], + 'conds' => [ 'page_namespace' => MWNamespace::getContentNamespaces(), 'page_is_redirect' => 0, 'page_latest=rev_id' - ) - ); + ] + ]; } public function usesTimestamps() {