Manual:$wgScriptExtension/zh
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed completely in version <tvar name=ver>1.31.0</tvar>.</translate> |
<translate> Server URLs and file paths</translate>: $wgScriptExtension | |
---|---|
Extension to append to script names by default. |
|
<translate> Introduced in version:</translate> | 1.11.0 |
<translate> Deprecated in version:</translate> | 1.25.0 (Gerrit change 244199; git #7628a11d) |
<translate> Removed in version:</translate> | 1.31.0 (Gerrit change 411484; git #de6dab71) |
<translate> Allowed values:</translate> | (字符串) |
<translate> Default value:</translate> | '.php' |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
细节
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.
Categories:
- MediaWiki configuration settings/zh
- MediaWiki configuration settings introduced in version 1.11.0/zh
- MediaWiki configuration settings deprecated in version 1.25.0/zh
- MediaWiki configuration settings removed in version 1.31.0/zh
- Pages with broken file links
- MediaWiki deprecated or obsolete features/zh
- Path variables/zh