From: Aaron Schulz Date: Sun, 17 Nov 2013 19:40:42 +0000 (-0800) Subject: Tweaked WikiPage::clear() comment a bit X-Git-Tag: 1.31.0-rc.0~18052^2 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=91f29bf1b624151a79a906ccfb7edd73bff1839a;p=lhc%2Fweb%2Fwiklou.git Tweaked WikiPage::clear() comment a bit Change-Id: I9ec27b575de5547d1ab0569c4c2cdd1307f8307a --- 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. }