Steps to reproduce
- Open my sandbox
- Start editing using the Visual editor or Visual wikitext editor
- Open the Find and Replace window
- Enter 'Random' in the Find box
- Enter 'Stochastic' in the Replace box
- Tap on the 'Replace' button until all instances have been replaced
Actual results
- 1 of 1 is shown after last replacement in the the Find box
- The text 'Stocha' is highlighted.
Expected results
- 1 of 1 should not be shown after the last replacement in the Find box.
- The text 'Stocha' should not be highlighted as the Find box contains 'Random'.
This was initially noted in https://www.mediawiki.org/wiki/Topic:U4xce6zad8m1j04s