Aaron Schulz has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/95886


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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/86/95886/1

diff --git a/includes/WikiPage.php b/includes/WikiPage.php
index 5fc01cc..cf2c904 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: newchange
Gerrit-Change-Id: I9ec27b575de5547d1ab0569c4c2cdd1307f8307a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>

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

Reply via email to