From 91f29bf1b624151a79a906ccfb7edd73bff1839a Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sun, 17 Nov 2013 11:40:42 -0800 Subject: [PATCH] Tweaked WikiPage::clear() comment a bit Change-Id: I9ec27b575de5547d1ab0569c4c2cdd1307f8307a --- includes/WikiPage.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/WikiPage.php b/includes/WikiPage.php index d3743b5044..6c2c6ad881 100644 --- a/includes/WikiPage.php +++ b/includes/WikiPage.php @@ -245,7 +245,8 @@ class WikiPage implements Page, IDBAccessObject { $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. } -- 2.20.1