Manual:$wgJsMimeType

From MediaWiki.org
Jump to: navigation, search
MIME types: $wgJsMimeType
Media type (MIME type) to use for JavaScript scripts.
Introduced in version: 1.5.0 (r8895)
Removed in version: still in use
Allowed values: (string)
Default value: 'text/javascript'

Other settings: Alphabetical | By Function


Details [edit]

Use this variable to set the media type (MIME type) which is used for scripts written in the JavaScript scripting language.

See RFC 4329 and MediaWiki bug #2064 for details.

NOTE: In theory, this should be set to 'application/javascript' for all new wikis. Standard-compliant browsers support this setting. Internet Explorer from Microsoft does not support it in its current version (version 7).