Steps to replicate the issue (include links if applicable):
Hello. In MediaWiki, in particular, in Absurdopedia, When viewing the code of the deleted "MediaWiki:" the engine asks for the right to "deletedhistory", but only opens the "editinterface".
To reproduce this situation, you need:
*Download version MediaWiki 1.39.7
- Have the deletedhistory permission (ask the admin, they will provide)
- Find deleted message under the MediaWiki: namespace
- Press the button "View / Restore" ("Просмотреть/восстановить")
What happens?: Flashes: ’Access rights error. This action can perform: Бароны, Рыцари, Чародеи, Маркизы, Короли.’
What should have happened instead?: ’Access rights error: This action can be performed by... Marquises, Sorcerers, Kings.’
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia): MediaWiki 1.39.7 or 1.39.6.
Other information (browser name/version, screenshots, etc.): Google Chrome.