Fixed #23460 - Allow a literal `%s` to be passed through extra select

- [x] Tests
- [x] Docs
- [x] Changelog
This should be indented so it appears inline with the bulleted list.