The "NS_IMAGE" constant, which you use in your LocalSettings.php, has
been replaced by "NS_FILE" and removed in MediaWiki 1.34 (a while ago).
It looks like PHP 7.4 was just ignoring it (and presumably some of the
configuration you intended for the Image/File namespace was not applying
correctly), but PHP 8 treats it as an error.
The solution is to just replace all occurrences of NS_IMAGE with NS_FILE
(and NS_IMAGE_TALK with NS_FILE_TALK).
(Congrats on running MediaWiki for long enough that your configuration
still used NS_IMAGE ;) )
--
Bartosz Dziewoński
_______________________________________________
MediaWiki-l mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/