I want MediaWiki:Nopagetext-nopermission
to detect whether a page is editable or not by the current user.
I have tested with PROTECTIONLEVEL. However, it detects only manual protection actions, not namespace editing or presence in blacklist.
It would be nice if a magic word was added to allow for detection.
You may think it's overkill: why add a magic word, when blacklist is supposed to prevent creation of non-existing pages? Only existing pages use wikitext, and therefore magic words.
There is the notable exception of MediaWiki (system messages) namespace, though. My use case regards exactly that.
EDIT: My use case is: on my wiki, only registered users can edit. Registration is subject to approval (with Extension:ConfirmAccount). I want to show to logged out users a text on non-existing, non-protected, non-blacklisted pages that advises them to log in or request an account.
EDIT 2: I have done my use case with Extension:WikiTextLoggedInOut, and I do not feel any more the need for the addition.
Also (unrelated) my own opinion: changing extension name, and potentially breaking stuff, due to DEI issues alone is overkill