After T76554, all JSON pages that are in the userspace are automatically protected so that only the user and sysops can edit it.
This is okay except the change also meant you get these warnings at the top of the JSON page:
* //Code that you insert on this page could contain malicious content capable of compromising your account.// ([[ https://en.wikipedia.org/wiki/MediaWiki:Jswarning | MediaWiki:Jswarning ]])
* //The code will be executed when previewing this page.// ([[ https://en.wikipedia.org/wiki/MediaWiki:Jswarning | MediaWiki:Jswarning ]])
* //After saving, you have to bypass your browser's cache to see the changes.// ([[ https://en.wikipedia.org/wiki/MediaWiki:Clearyourcache | MediaWiki:Clearyourcache ]])
Depending on what's using the JSON, these statements could be true, but in many cases they are not or are misleading, such as bot configuration pages like https://en.wikipedia.org/wiki/User:Community_Tech_bot/Popular_pages_config.json
I am not sure what a solution is here, I'm just creating this ticket following the request at T76554#4188287