Manual:$wgJsMimeType

From MediaWiki.org
Jump to: navigation, search
This page is a translated version of the page Manual:$wgJsMimeType and the translation is 33% complete.

Other languages:
English • ‎日本語 • ‎polski
MIME types: $wgJsMimeType
Media type (MIME type) to use for JavaScript scripts.
導入されたバージョン: 1.5.0 (r8895)
除去されたバージョン: 1.22.0 (Gerrit change 64638; git #1f956360)
可能な値: 文字列
既定値: 'text/javascript'
他の設定: アルファベット順 | 機能順

詳細

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.

注 注: 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).