[MediaWiki-commits] [Gerrit] mediawiki/core[master]: WikiPage: Update comments related to new PreparedEdit object
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/366981 ) Change subject: WikiPage: Update comments related to new PreparedEdit object .. WikiPage: Update comments related to new PreparedEdit object Follows up 85585c47ecbf219. Change-Id: Iff677257553e20ae37d37142436507b9c8af23a1 --- M includes/page/WikiPage.php 1 file changed, 5 insertions(+), 3 deletions(-) Approvals: Tim Starling: Looks good to me, approved jenkins-bot: Verified diff --git a/includes/page/WikiPage.php b/includes/page/WikiPage.php index 20fb9be..f8f53a1 100644 --- a/includes/page/WikiPage.php +++ b/includes/page/WikiPage.php @@ -50,7 +50,7 @@ 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 @@ * 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 @@ /** * 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 -- To view, visit https://gerrit.wikimedia.org/r/366981 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Iff677257553e20ae37d37142436507b9c8af23a1 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: LegoktmGerrit-Reviewer: Anomie Gerrit-Reviewer: Tim Starling Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] mediawiki/core[master]: WikiPage: Update comments related to new PreparedEdit object
Legoktm has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/366981 ) Change subject: WikiPage: Update comments related to new PreparedEdit object .. WikiPage: Update comments related to new PreparedEdit object Follows up 85585c47ecbf219. Change-Id: Iff677257553e20ae37d37142436507b9c8af23a1 --- M includes/page/WikiPage.php 1 file changed, 5 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/81/366981/1 diff --git a/includes/page/WikiPage.php b/includes/page/WikiPage.php index 20fb9be..f8f53a1 100644 --- a/includes/page/WikiPage.php +++ b/includes/page/WikiPage.php @@ -50,7 +50,7 @@ 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 @@ * 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 @@ /** * 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 -- To view, visit https://gerrit.wikimedia.org/r/366981 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iff677257553e20ae37d37142436507b9c8af23a1 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Legoktm___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits