手册:$wgScriptExtension

This page is a translated version of the page Manual:$wgScriptExtension and the translation is 44% complete.
服务器URL及文件路徑: $wgScriptExtension
Extension to append to script names by default.
引进版本:1.11.0
弃用版本:1.25.0 (Gerrit change 244199; git #7628a11d)
移除版本:1.31.0 (Gerrit change 411484; git #de6dab71)
允许的值:(字符串)
默认值:'.php'

细节

Extension to append to script names by default. 既可以是".php"也可以是".php5"。

Some hosting providers used PHP 4 for *.php files, and PHP 5 for *.php5. This variable was provided to support those providers.

Now that this setting has been removed you can set up URL rewriting from ".php5" files to ".php" files to continue supporting ".php5" entry points.