Tweaked WikiPage::clear() comment a bit

Change-Id: I9ec27b575de5547d1ab0569c4c2cdd1307f8307a
This commit is contained in:
Aaron Schulz 2013-11-17 11:40:42 -08:00 committed by BryanDavis
parent 4bed5565db
commit 91f29bf1b6

View file

@ -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.
}