- I installed Mediawiki brand-new.
- I set
$wgAllowUserJs = true;
at the bottom of LocalSettings.php. - I created a Special:Mypage/common.js file and saved it with contents such as
alert(1)
. - When I bypass the cache, the JavaScript does not execute. Why not? I'm using Mediawiki 1.37.2 and PHP 7.4.29 with MariaDB.
I.hate.spam.mail.here (talk) 04:51, 17 May 2022 (UTC)