Manual:$wgScriptExtension

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎中文 • ‎日本語
Paths: $wgScriptExtension
Extension to append to script names by default.
Introduced in version:1.11.0
Removed in version:1.27.0
Allowed values:(string)
Default value:'.php'
Other settings: Alphabetical | By function

Details[edit]

Extension to append to script names by default. This can either be ".php" or ".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.