When you visit history of a page and apply some filters ([[ https://en.wikipedia.org/w/index.php?date-range-to=&tagfilter=invalid&title=Tourette_syndrome&action=history&uselang=en | example ]]), you will see just the filter menu and explanations of some markers.
There should be some placeholder explaining why there are no results.
{F31657145}
**Solution:**
- create a message in `languages/i18n/en.json` and documentation in `languages/i18n/qqq.json` (https://www.mediawiki.org/wiki/Localisation)
- override [[ https://doc.wikimedia.org/mediawiki-core/1.34.0/php/classIndexPager.html#a3959420ac3ac815def0012af62f23116 | IndexPager::getEmptyBody ]] in `HistoryPager` class to print the new message (https://www.mediawiki.org/wiki/Manual:Messages_API#Using_messages_in_PHP)
- update [[ https://doc.wikimedia.org/mediawiki-core/1.34.0/php/classHistoryPager.html#adebf0e0d04242bef13048c13a2a128a5 | HistoryPager::getStartBody ]] and [[ https://doc.wikimedia.org/mediawiki-core/1.34.0/php/classHistoryPager.html#a3f3cfae948cfe214e13e769b4c541540 | HistoryPager::getEndBody ]], so that they produce no HTML when `HistoryPager::getNumRows` returns 0
See also {T225573}.
= QA steps
* Visit https://en.wikipedia.beta.wmflabs.org/w/index.php?date-range-to=&tagfilter=sillyqa&title=Main_Page&action=history
* A message should inform you that no matching revisions were found.
* Click filter revisions and remove "sillyqa" from the input box
* Check that the message doesn't show and there are results