Duplicate "latest revision may be special" logic from FlaggedRevs
Duplicate "latest revision may be special" logic from FlaggedRevs

Patchset 2 is optimized for performance.

Bug: T304813
Change-Id: Ida08ae2b37139737dfde3816b3c8afbaa4541a2a

wikimedia/mediawiki-extensions-Kartographer,wikimedia/mediawiki-extensions-Kartographer,wikimedia/mediawiki-extensions-Kartographer