Author: n-roeser
Description:
Currently, the MediaWiki software uses a hard-coded media type (MIME type) of
'text/javascript' for all scripts in the JavaScript language. No type of this
name has been registered with IANA by now, and some users probably want to use a
more correct type of, for example, 'application/x-javascript' until this issue
is resolved.
The attached patch adds the ability to configure the media type which shall be
used for scripts in the JavaScript language. This is a good idea as work on
getting media types for this language registered has already begun. The default
value set by this patch is 'text/javascript'; users can override it in
LocalSettings.php as usual.
The patch is for 1.4.3 or the REL1_4 branch (will work on both at the moment).
It will not apply cleanly to CVS HEAD.
Version: 1.5.x
Severity: minor