From f087598bc49bbd169b45a9bd3d1eef85ae0a7844 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Sat, 6 Feb 2016 21:41:03 +0100 Subject: [PATCH] Get timestamp from WikiPage, instead of Article Change-Id: I5009695e5cde669c6bac0d0e116ab5e66a07813f --- includes/page/Article.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/page/Article.php b/includes/page/Article.php index e81fd96658..f8e114a166 100644 --- a/includes/page/Article.php +++ b/includes/page/Article.php @@ -636,7 +636,7 @@ class Article implements Page { # the correct version information. $outputPage->setRevisionId( $this->getRevIdFetched() ); # Preload timestamp to avoid a DB hit - $outputPage->setRevisionTimestamp( $this->getTimestamp() ); + $outputPage->setRevisionTimestamp( $this->mPage->getTimestamp() ); # Pages containing custom CSS or JavaScript get special treatment if ( $this->getTitle()->isCssOrJsPage() || $this->getTitle()->isCssJsSubpage() ) { -- 2.20.1