Manual:$wgProto/zh
Appearance
此功能已在版本1.18.0被完全移除。 |
| 一般设置: $wgProto | |
|---|---|
| The secure server prefix |
|
| 引进版本: | 1.3.0 |
| 移除版本: | 1.18.0 (r90193) |
| 允许的值: | (URL prefix (protocol, host, optional port; no path portion)) |
| 默认值: | dynamically created |
| 其他设置: 按首字母排序 | 按功能排序 | |
Details
This value is set automatically when the value is determined for $wgServer if the server where the MediaWiki installation resides is a secure server.
Note that prior to 1.6.0 this setting was only used temporarily to create $wgServer, and was unset() afterwards, but from 1.6.0 onwards it remains set throughout, and is used to calculate the default value of $wgCookieSecure.
Value is set by includes/DefaultSettings.php in a "best guess" pattern. If you want to change it, you need to overwrite other related values as well or modify DefaultSettings.php.
See also
- $wgServerName (已弃用)
- $wgServer