Tweaked WikiPage::clear() comment a bit
Change-Id: I9ec27b575de5547d1ab0569c4c2cdd1307f8307a
This commit is contained in:
parent
4bed5565db
commit
91f29bf1b6
1 changed files with 2 additions and 1 deletions
|
|
@ -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.
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue