SpecialMergeHistory uses Title::exists( Title::READ_LATEST ) (which may query master) to decide whether to append additional explanatory message to the output. However, MergeHistory authoritatively knows whether the page is deleted or not and if it passes this fact to the special page, then the special page would have no need to make that query (which can even be unreliable after all due to T265775)
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
MergeHistory: Avoid potential DB query for trivial message variation | mediawiki/core | master | +4 -3 |
Related Objects
Related Objects
- Mentioned Here
- T265775: Retire TitleExists hook
Event Timeline
Comment Actions
Change 674520 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/core@master] MergeHistory: Avoid potential DB query for trivial message variation
Comment Actions
Change 674520 merged by jenkins-bot:
[mediawiki/core@master] MergeHistory: Avoid potential DB query for trivial message variation