From: Kunal Mehta Date: Fri, 21 Jul 2017 22:10:09 +0000 (-0700) Subject: WikiPage: Update comments related to new PreparedEdit object X-Git-Tag: 1.31.0-rc.0~2611^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=4d25eb68a57363dcb9e9be981d497cccf50a8c0b WikiPage: Update comments related to new PreparedEdit object Follows up 85585c47ecbf219. Change-Id: Iff677257553e20ae37d37142436507b9c8af23a1 --- diff --git a/includes/page/WikiPage.php b/includes/page/WikiPage.php index 20fb9bebca..f8f53a1103 100644 --- a/includes/page/WikiPage.php +++ b/includes/page/WikiPage.php @@ -50,7 +50,7 @@ class WikiPage implements Page, IDBAccessObject { public $mLatest = false; // !< Integer (false means "not loaded") /**@}}*/ - /** @var stdClass Map of cache fields (text, parser output, ect) for a proposed/new edit */ + /** @var PreparedEdit Map of cache fields (text, parser output, ect) for a proposed/new edit */ public $mPreparedEdit = false; /** @@ -782,7 +782,7 @@ class WikiPage implements Page, IDBAccessObject { * Determine whether a page would be suitable for being counted as an * article in the site_stats table based on the title & its content * - * @param object|bool $editInfo (false): object returned by prepareTextForEdit(), + * @param PreparedEdit|bool $editInfo (false): object returned by prepareTextForEdit(), * if false, the current database state will be used * @return bool */ @@ -1961,7 +1961,9 @@ class WikiPage implements Page, IDBAccessObject { /** * Prepare content which is about to be saved. - * Returns a stdClass with source, pst and output members + * + * Prior to 1.30, this returned a stdClass object with the same class + * members. * * @param Content $content * @param Revision|int|null $revision Revision object. For backwards compatibility, a