From: Jeroen De Dauw Date: Mon, 13 Feb 2012 19:13:30 +0000 (+0000) Subject: fix doc X-Git-Tag: 1.31.0-rc.0~24727 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=abfdd0b617fca604c5a11eb3cd50b01884b47ce5;p=lhc%2Fweb%2Fwiklou.git fix doc --- diff --git a/includes/Revision.php b/includes/Revision.php index f8e68900e7..f155e6ae54 100644 --- a/includes/Revision.php +++ b/includes/Revision.php @@ -501,7 +501,7 @@ class Revision { /** * Get parent revision ID (the original previous page revision) * - * @return Integer + * @return Integer|null */ public function getParentId() { return $this->mParentId; diff --git a/includes/WikiPage.php b/includes/WikiPage.php index ea66ab75df..b8e7211573 100644 --- a/includes/WikiPage.php +++ b/includes/WikiPage.php @@ -445,6 +445,7 @@ class WikiPage extends Page { if ( !$this->mTimestamp ) { $this->loadLastEdit(); } + return wfTimestamp( TS_MW, $this->mTimestamp ); }