Last modified: 2013-03-28 22:25:01 UTC
There should be a system message that is displayed on the top of the page for user .js (and possibly .css) pages when both viewing the page and when editing.
Security is the prime motivation for this enhancement. Right now, there are a number of system messages that can be used to inform users that they may be screwing themselves by editing a page (clearyourcache, usercssjsyoucanpreview, and userinvalidcssjstitle are the ones I know of), but it would be better to have a single centralized system message for security-related information. The purpose of this new system message would be to inform users that any code they preview or save can have negative consequences.
It is possible to include such a message in the current system messages, but it is both a pain in the ass to target to the correct pages and not the purpose of these system messages. This current situation is fine for enwiki, but other wikis would certainly benefit from a centralized message.
Component: Unknown -> User interface
The enwiki is NOT fine, because I see this useless warning on other users .js pages, which I cannot edit anyway. The proposed new message is not going to fix this annoyance unless it's shown only for the page owner.