jenkins-bot has submitted this change and it was merged.

Change subject: Tweaked WikiPage::clear() comment a bit
......................................................................


Tweaked WikiPage::clear() comment a bit

Change-Id: I9ec27b575de5547d1ab0569c4c2cdd1307f8307a
---
M includes/WikiPage.php
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  BryanDavis: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/WikiPage.php b/includes/WikiPage.php
index d3743b5..6c2c6ad 100644
--- a/includes/WikiPage.php
+++ b/includes/WikiPage.php
@@ -245,7 +245,8 @@
                $this->mIsRedirect = false;
                $this->mLatest = false;
                // Bug 57026: do not clear mPreparedEdit since 
prepareTextForEdit() already checks
-               // the requested rev ID and immutable content against the 
cached one.
+               // the requested rev ID and content against the cached one for 
equality. For most
+               // content types, the output should not change during the 
lifetime of this cache.
                // Clearing it can cause extra parses on edit for no reason.
        }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/95886
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9ec27b575de5547d1ab0569c4c2cdd1307f8307a
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: BryanDavis <[email protected]>
Gerrit-Reviewer: IAlex <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to