Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -17,7 +17,7 @@ |
18 | 18 | * http://www.mediawiki.org/wiki/Manual:Configuration_settings |
19 | 19 | */ |
20 | 20 | |
21 | | -/** |
| 21 | +/** |
22 | 22 | * @cond file_level_code |
23 | 23 | * This is not a valid entry point, perform no further processing unless MEDIAWIKI is defined |
24 | 24 | */ |
— | — | @@ -40,16 +40,16 @@ |
41 | 41 | /** Name of the site. It must be changed in LocalSettings.php */ |
42 | 42 | $wgSitename = 'MediaWiki'; |
43 | 43 | |
44 | | -/** |
45 | | - * URL of the server. It will be automatically built including https mode. |
| 44 | +/** |
| 45 | + * URL of the server. It will be automatically built including https mode. |
46 | 46 | * |
47 | 47 | * Example: |
48 | 48 | * <code> |
49 | 49 | * $wgServer = http://example.com |
50 | 50 | * </code> |
51 | 51 | * |
52 | | - * This is usually detected correctly by MediaWiki. If MediaWiki detects the |
53 | | - * wrong server, it will redirect incorrectly after you save a page. In that |
| 52 | + * This is usually detected correctly by MediaWiki. If MediaWiki detects the |
| 53 | + * wrong server, it will redirect incorrectly after you save a page. In that |
54 | 54 | * case, set this variable to fix it. |
55 | 55 | */ |
56 | 56 | $wgServer = ''; |
— | — | @@ -118,10 +118,10 @@ |
119 | 119 | ( strpos( php_sapi_name(), 'isapi' ) === false ); |
120 | 120 | |
121 | 121 | /** |
122 | | - * The extension to append to script names by default. This can either be .php |
| 122 | + * The extension to append to script names by default. This can either be .php |
123 | 123 | * or .php5. |
124 | 124 | * |
125 | | - * Some hosting providers use PHP 4 for *.php files, and PHP 5 for *.php5. This |
| 125 | + * Some hosting providers use PHP 4 for *.php files, and PHP 5 for *.php5. This |
126 | 126 | * variable is provided to support those providers. |
127 | 127 | */ |
128 | 128 | $wgScriptExtension = '.php'; |
— | — | @@ -134,12 +134,12 @@ |
135 | 135 | $wgScript = false; |
136 | 136 | |
137 | 137 | /** |
138 | | - * The URL path to redirect.php. This is a script that is used by the Nostalgia |
| 138 | + * The URL path to redirect.php. This is a script that is used by the Nostalgia |
139 | 139 | * skin. |
140 | 140 | * |
141 | 141 | * Defaults to "{$wgScriptPath}/redirect{$wgScriptExtension}". |
142 | 142 | */ |
143 | | -$wgRedirectScript = false; ///< defaults to |
| 143 | +$wgRedirectScript = false; ///< defaults to |
144 | 144 | /**@}*/ |
145 | 145 | |
146 | 146 | |
— | — | @@ -153,8 +153,8 @@ |
154 | 154 | * These will relatively rarely need to be set manually, unless you are |
155 | 155 | * splitting style sheets or images outside the main document root. |
156 | 156 | * |
157 | | - * In this section, a "path" is usually a host-relative URL, i.e. a URL without |
158 | | - * the host part, that starts with a slash. In most cases a full URL is also |
| 157 | + * In this section, a "path" is usually a host-relative URL, i.e. a URL without |
| 158 | + * the host part, that starts with a slash. In most cases a full URL is also |
159 | 159 | * acceptable. A "directory" is a local file path. |
160 | 160 | * |
161 | 161 | * In both paths and directories, trailing slashes should not be included. |
— | — | @@ -169,13 +169,13 @@ |
170 | 170 | $wgStyleSheetPath = &$wgStylePath; |
171 | 171 | |
172 | 172 | /** |
173 | | - * The URL path of the skins directory. Should not point to an external domain. |
| 173 | + * The URL path of the skins directory. Should not point to an external domain. |
174 | 174 | * Defaults to "{$wgScriptPath}/skins". |
175 | 175 | */ |
176 | 176 | $wgLocalStylePath = false; |
177 | 177 | |
178 | 178 | /** |
179 | | - * The URL path of the extensions directory. |
| 179 | + * The URL path of the extensions directory. |
180 | 180 | * Defaults to "{$wgScriptPath}/extensions". |
181 | 181 | */ |
182 | 182 | $wgExtensionAssetsPath = false; |
— | — | @@ -186,10 +186,10 @@ |
187 | 187 | $wgStyleDirectory = false; |
188 | 188 | |
189 | 189 | /** |
190 | | - * The URL path for primary article page views. This path should contain $1, |
191 | | - * which is replaced by the article title. |
| 190 | + * The URL path for primary article page views. This path should contain $1, |
| 191 | + * which is replaced by the article title. |
192 | 192 | * |
193 | | - * Defaults to "{$wgScript}/$1" or "{$wgScript}?title=$1", depending on |
| 193 | + * Defaults to "{$wgScript}/$1" or "{$wgScript}?title=$1", depending on |
194 | 194 | * $wgUsePathInfo. |
195 | 195 | */ |
196 | 196 | $wgArticlePath = false; |
— | — | @@ -224,31 +224,31 @@ |
225 | 225 | /** |
226 | 226 | * The URL path of the math directory. Defaults to "{$wgUploadPath}/math". |
227 | 227 | * |
228 | | - * See http://www.mediawiki.org/wiki/Manual:Enable_TeX for details about how to |
| 228 | + * See http://www.mediawiki.org/wiki/Manual:Enable_TeX for details about how to |
229 | 229 | * set up mathematical formula display. |
230 | 230 | */ |
231 | 231 | $wgMathPath = false; |
232 | 232 | |
233 | 233 | /** |
234 | | - * The filesystem path of the math directory. |
| 234 | + * The filesystem path of the math directory. |
235 | 235 | * Defaults to "{$wgUploadDirectory}/math". |
236 | 236 | * |
237 | | - * See http://www.mediawiki.org/wiki/Manual:Enable_TeX for details about how to |
| 237 | + * See http://www.mediawiki.org/wiki/Manual:Enable_TeX for details about how to |
238 | 238 | * set up mathematical formula display. |
239 | 239 | */ |
240 | 240 | $wgMathDirectory = false; |
241 | 241 | |
242 | 242 | /** |
243 | | - * The local filesystem path to a temporary directory. This is not required to |
244 | | - * be web accessible. |
| 243 | + * The local filesystem path to a temporary directory. This is not required to |
| 244 | + * be web accessible. |
245 | 245 | * |
246 | 246 | * Defaults to "{$wgUploadDirectory}/tmp". |
247 | 247 | */ |
248 | 248 | $wgTmpDirectory = false; |
249 | 249 | |
250 | 250 | /** |
251 | | - * If set, this URL is added to the start of $wgUploadPath to form a complete |
252 | | - * upload URL. |
| 251 | + * If set, this URL is added to the start of $wgUploadPath to form a complete |
| 252 | + * upload URL. |
253 | 253 | */ |
254 | 254 | $wgUploadBaseUrl = ""; |
255 | 255 | |
— | — | @@ -296,8 +296,8 @@ |
297 | 297 | $wgImgAuthDetails = false; |
298 | 298 | |
299 | 299 | /** |
300 | | - * If this is enabled, img_auth.php will not allow image access unless the wiki |
301 | | - * is private. This improves security when image uploads are hosted on a |
| 300 | + * If this is enabled, img_auth.php will not allow image access unless the wiki |
| 301 | + * is private. This improves security when image uploads are hosted on a |
302 | 302 | * separate domain. |
303 | 303 | */ |
304 | 304 | $wgImgAuthPublicTest = true; |
— | — | @@ -342,7 +342,7 @@ |
343 | 343 | * - descBaseUrl URL of image description pages, e.g. http://en.wikipedia.org/wiki/File: |
344 | 344 | * - scriptDirUrl URL of the MediaWiki installation, equivalent to $wgScriptPath, e.g. |
345 | 345 | * http://en.wikipedia.org/w |
346 | | - * - scriptExtension Script extension of the MediaWiki installation, equivalent to |
| 346 | + * - scriptExtension Script extension of the MediaWiki installation, equivalent to |
347 | 347 | * $wgScriptExtension, e.g. .php5 defaults to .php |
348 | 348 | * |
349 | 349 | * - articleUrl Equivalent to $wgArticlePath, e.g. http://en.wikipedia.org/wiki/$1 |
— | — | @@ -446,7 +446,7 @@ |
447 | 447 | |
448 | 448 | /** |
449 | 449 | * Point the upload link for missing files to an external URL, as with |
450 | | - * $wgUploadNavigationUrl. The URL will get (?|&)wpDestFile=<filename> |
| 450 | + * $wgUploadNavigationUrl. The URL will get (?|&)wpDestFile=<filename> |
451 | 451 | * appended to it as appropriate. |
452 | 452 | */ |
453 | 453 | $wgUploadMissingFileUrl = false; |
— | — | @@ -463,13 +463,13 @@ |
464 | 464 | $wgSharedThumbnailScriptPath = false; |
465 | 465 | |
466 | 466 | /** |
467 | | - * Set this to false if you do not want MediaWiki to divide your images |
| 467 | + * Set this to false if you do not want MediaWiki to divide your images |
468 | 468 | * directory into many subdirectories, for improved performance. |
469 | 469 | * |
470 | | - * It's almost always good to leave this enabled. In previous versions of |
471 | | - * MediaWiki, some users set this to false to allow images to be added to the |
472 | | - * wiki by simply copying them into $wgUploadDirectory and then running |
473 | | - * maintenance/rebuildImages.php to register them in the database. This is no |
| 470 | + * It's almost always good to leave this enabled. In previous versions of |
| 471 | + * MediaWiki, some users set this to false to allow images to be added to the |
| 472 | + * wiki by simply copying them into $wgUploadDirectory and then running |
| 473 | + * maintenance/rebuildImages.php to register them in the database. This is no |
474 | 474 | * longer recommended, use maintenance/importImages.php instead. |
475 | 475 | * |
476 | 476 | * Note that this variable may be ignored if $wgLocalFileRepo is set. |
— | — | @@ -510,7 +510,7 @@ |
511 | 511 | # May contain harmful executables for Windows victims |
512 | 512 | 'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl' ); |
513 | 513 | |
514 | | -/** |
| 514 | +/** |
515 | 515 | * Files with these mime types will never be allowed as uploads |
516 | 516 | * if $wgVerifyMimeType is enabled. |
517 | 517 | */ |
— | — | @@ -718,40 +718,40 @@ |
719 | 719 | $wgUseImageResize = true; |
720 | 720 | |
721 | 721 | |
722 | | -/** |
723 | | - * Internal name of virus scanner. This servers as a key to the |
724 | | - * $wgAntivirusSetup array. Set this to NULL to disable virus scanning. If not |
| 722 | +/** |
| 723 | + * Internal name of virus scanner. This servers as a key to the |
| 724 | + * $wgAntivirusSetup array. Set this to NULL to disable virus scanning. If not |
725 | 725 | * null, every file uploaded will be scanned for viruses. |
726 | 726 | */ |
727 | 727 | $wgAntivirus= null; |
728 | 728 | |
729 | | -/** |
730 | | - * Configuration for different virus scanners. This an associative array of |
731 | | - * associative arrays. It contains one setup array per known scanner type. |
| 729 | +/** |
| 730 | + * Configuration for different virus scanners. This an associative array of |
| 731 | + * associative arrays. It contains one setup array per known scanner type. |
732 | 732 | * The entry is selected by $wgAntivirus, i.e. |
733 | 733 | * valid values for $wgAntivirus are the keys defined in this array. |
734 | 734 | * |
735 | | - * The configuration array for each scanner contains the following keys: |
| 735 | + * The configuration array for each scanner contains the following keys: |
736 | 736 | * "command", "codemap", "messagepattern": |
737 | 737 | * |
738 | | - * "command" is the full command to call the virus scanner - %f will be |
739 | | - * replaced with the name of the file to scan. If not present, the filename |
740 | | - * will be appended to the command. Note that this must be overwritten if the |
| 738 | + * "command" is the full command to call the virus scanner - %f will be |
| 739 | + * replaced with the name of the file to scan. If not present, the filename |
| 740 | + * will be appended to the command. Note that this must be overwritten if the |
741 | 741 | * scanner is not in the system path; in that case, plase set |
742 | | - * $wgAntivirusSetup[$wgAntivirus]['command'] to the desired command with full |
| 742 | + * $wgAntivirusSetup[$wgAntivirus]['command'] to the desired command with full |
743 | 743 | * path. |
744 | 744 | * |
745 | | - * "codemap" is a mapping of exit code to return codes of the detectVirus |
| 745 | + * "codemap" is a mapping of exit code to return codes of the detectVirus |
746 | 746 | * function in SpecialUpload. |
747 | | - * - An exit code mapped to AV_SCAN_FAILED causes the function to consider |
748 | | - * the scan to be failed. This will pass the file if $wgAntivirusRequired |
| 747 | + * - An exit code mapped to AV_SCAN_FAILED causes the function to consider |
| 748 | + * the scan to be failed. This will pass the file if $wgAntivirusRequired |
749 | 749 | * is not set. |
750 | | - * - An exit code mapped to AV_SCAN_ABORTED causes the function to consider |
751 | | - * the file to have an usupported format, which is probably imune to |
| 750 | + * - An exit code mapped to AV_SCAN_ABORTED causes the function to consider |
| 751 | + * the file to have an usupported format, which is probably imune to |
752 | 752 | * virusses. This causes the file to pass. |
753 | | - * - An exit code mapped to AV_NO_VIRUS will cause the file to pass, meaning |
| 753 | + * - An exit code mapped to AV_NO_VIRUS will cause the file to pass, meaning |
754 | 754 | * no virus was found. |
755 | | - * - All other codes (like AV_VIRUS_FOUND) will cause the function to report |
| 755 | + * - All other codes (like AV_VIRUS_FOUND) will cause the function to report |
756 | 756 | * a virus. |
757 | 757 | * - You may use "*" as a key in the array to catch all exit codes not mapped otherwise. |
758 | 758 | * |
— | — | @@ -806,7 +806,7 @@ |
807 | 807 | $wgMimeInfoFile= "includes/mime.info"; |
808 | 808 | #$wgMimeInfoFile= null; #use built-in defaults only. |
809 | 809 | |
810 | | -/** |
| 810 | +/** |
811 | 811 | * Switch for loading the FileInfo extension by PECL at runtime. |
812 | 812 | * This should be used only if fileinfo is installed as a shared object |
813 | 813 | * or a dynamic library. |
— | — | @@ -824,7 +824,7 @@ |
825 | 825 | */ |
826 | 826 | $wgMimeDetectorCommand = null; |
827 | 827 | |
828 | | -/** |
| 828 | +/** |
829 | 829 | * Switch for trivial mime detection. Used by thumb.php to disable all fancy |
830 | 830 | * things, because only a few types of images are needed and file extensions |
831 | 831 | * can be trusted. |
— | — | @@ -1021,7 +1021,7 @@ |
1022 | 1022 | $wgPasswordSender = $wgEmergencyContact; |
1023 | 1023 | |
1024 | 1024 | /** |
1025 | | - * True: from page editor if s/he opted-in. False: Enotif mails appear to come |
| 1025 | + * True: from page editor if s/he opted-in. False: Enotif mails appear to come |
1026 | 1026 | * from $wgEmergencyContact |
1027 | 1027 | */ |
1028 | 1028 | $wgEnotifFromEditor = false; |
— | — | @@ -1033,7 +1033,7 @@ |
1034 | 1034 | |
1035 | 1035 | /** |
1036 | 1036 | * Require email authentication before sending mail to an email addres. This is |
1037 | | - * highly recommended. It prevents MediaWiki from being used as an open spam |
| 1037 | + * highly recommended. It prevents MediaWiki from being used as an open spam |
1038 | 1038 | * relay. |
1039 | 1039 | */ |
1040 | 1040 | $wgEmailAuthentication = true; |
— | — | @@ -1050,13 +1050,13 @@ |
1051 | 1051 | $wgEnotifUserTalk = false; |
1052 | 1052 | |
1053 | 1053 | /** |
1054 | | - * Set the Reply-to address in notifications to the editor's address, if user |
| 1054 | + * Set the Reply-to address in notifications to the editor's address, if user |
1055 | 1055 | * allowed this in the preferences. |
1056 | 1056 | */ |
1057 | 1057 | $wgEnotifRevealEditorAddress = false; |
1058 | 1058 | |
1059 | 1059 | /** |
1060 | | - * Send notification mails on minor edits to watchlist pages. This is enabled |
| 1060 | + * Send notification mails on minor edits to watchlist pages. This is enabled |
1061 | 1061 | * by default. Does not affect user talk notifications. |
1062 | 1062 | */ |
1063 | 1063 | $wgEnotifMinorEdits = true; |
— | — | @@ -1077,7 +1077,7 @@ |
1078 | 1078 | $wgEnotifMaxRecips = 500; |
1079 | 1079 | |
1080 | 1080 | /** |
1081 | | - * Send mails via the job queue. This can be useful to reduce the time it |
| 1081 | + * Send mails via the job queue. This can be useful to reduce the time it |
1082 | 1082 | * takes to save a page that a lot of people are watching. |
1083 | 1083 | */ |
1084 | 1084 | $wgEnotifUseJobQ = false; |
— | — | @@ -1088,7 +1088,7 @@ |
1089 | 1089 | $wgEnotifUseRealName = false; |
1090 | 1090 | |
1091 | 1091 | /** |
1092 | | - * Array of usernames who will be sent a notification email for every change |
| 1092 | + * Array of usernames who will be sent a notification email for every change |
1093 | 1093 | * which occurs on a wiki. |
1094 | 1094 | */ |
1095 | 1095 | $wgUsersNotifiedOnAllChanges = array(); |
— | — | @@ -1118,7 +1118,7 @@ |
1119 | 1119 | /** Separate password for maintenance tasks. Leave as null to use the default. */ |
1120 | 1120 | $wgDBadminpassword = null; |
1121 | 1121 | |
1122 | | -/** |
| 1122 | +/** |
1123 | 1123 | * Search type. |
1124 | 1124 | * Leave as null to select the default search engine for the |
1125 | 1125 | * selected database type (eg SearchMySQL), or set to a class |
— | — | @@ -1133,11 +1133,11 @@ |
1134 | 1134 | |
1135 | 1135 | /** |
1136 | 1136 | * SQL Mode - default is turning off all modes, including strict, if set. |
1137 | | - * null can be used to skip the setting for performance reasons and assume |
| 1137 | + * null can be used to skip the setting for performance reasons and assume |
1138 | 1138 | * DBA has done his best job. |
1139 | 1139 | * String override can be used for some additional fun :-) |
1140 | 1140 | */ |
1141 | | -$wgSQLMode = ''; |
| 1141 | +$wgSQLMode = ''; |
1142 | 1142 | |
1143 | 1143 | /** Mediawiki schema */ |
1144 | 1144 | $wgDBmwschema = 'mediawiki'; |
— | — | @@ -1169,7 +1169,7 @@ |
1170 | 1170 | * MediaWiki's tables may have side effects if you try to share them. |
1171 | 1171 | * EXPERIMENTAL |
1172 | 1172 | * |
1173 | | - * $wgSharedPrefix is the table prefix for the shared database. It defaults to |
| 1173 | + * $wgSharedPrefix is the table prefix for the shared database. It defaults to |
1174 | 1174 | * $wgDBprefix. |
1175 | 1175 | */ |
1176 | 1176 | $wgSharedDB = null; |
— | — | @@ -1394,7 +1394,7 @@ |
1395 | 1395 | $wgMaxArticleSize = 2048; |
1396 | 1396 | |
1397 | 1397 | /** |
1398 | | - * The minimum amount of memory that MediaWiki "needs"; MediaWiki will try to |
| 1398 | + * The minimum amount of memory that MediaWiki "needs"; MediaWiki will try to |
1399 | 1399 | * raise PHP's memory limit if it's below this amount. |
1400 | 1400 | */ |
1401 | 1401 | $wgMemoryLimit = "50M"; |
— | — | @@ -1417,8 +1417,8 @@ |
1418 | 1418 | $wgCacheDirectory = false; |
1419 | 1419 | |
1420 | 1420 | /** |
1421 | | - * Main cache type. This should be a cache with fast access, but it may have |
1422 | | - * limited space. By default, it is disabled, since the database is not fast |
| 1421 | + * Main cache type. This should be a cache with fast access, but it may have |
| 1422 | + * limited space. By default, it is disabled, since the database is not fast |
1423 | 1423 | * enough to make it worthwhile. |
1424 | 1424 | * |
1425 | 1425 | * The options are: |
— | — | @@ -1428,8 +1428,8 @@ |
1429 | 1429 | * - CACHE_DB: Store cache objects in the DB |
1430 | 1430 | * - CACHE_MEMCACHED: MemCached, must specify servers in $wgMemCacheServers |
1431 | 1431 | * - CACHE_ACCEL: eAccelerator, APC, XCache or WinCache |
1432 | | - * - CACHE_DBA: Use PHP's DBA extension to store in a DBM-style |
1433 | | - * database. This is slow, and is not recommended for |
| 1432 | + * - CACHE_DBA: Use PHP's DBA extension to store in a DBM-style |
| 1433 | + * database. This is slow, and is not recommended for |
1434 | 1434 | * anything other than debugging. |
1435 | 1435 | * |
1436 | 1436 | * @see $wgMessageCacheType, $wgParserCacheType |
— | — | @@ -1437,7 +1437,7 @@ |
1438 | 1438 | $wgMainCacheType = CACHE_NONE; |
1439 | 1439 | |
1440 | 1440 | /** |
1441 | | - * The cache type for storing the contents of the MediaWiki namespace. This |
| 1441 | + * The cache type for storing the contents of the MediaWiki namespace. This |
1442 | 1442 | * cache is used for a small amount of data which is expensive to regenerate. |
1443 | 1443 | * |
1444 | 1444 | * For available types see $wgMainCacheType. |
— | — | @@ -1445,7 +1445,7 @@ |
1446 | 1446 | $wgMessageCacheType = CACHE_ANYTHING; |
1447 | 1447 | |
1448 | 1448 | /** |
1449 | | - * The cache type for storing article HTML. This is used to store data which |
| 1449 | + * The cache type for storing article HTML. This is used to store data which |
1450 | 1450 | * is expensive to regenerate, and benefits from having plenty of storage space. |
1451 | 1451 | * |
1452 | 1452 | * For available types see $wgMainCacheType. |
— | — | @@ -1453,7 +1453,7 @@ |
1454 | 1454 | $wgParserCacheType = CACHE_ANYTHING; |
1455 | 1455 | |
1456 | 1456 | /** |
1457 | | - * The expiry time for the parser cache, in seconds. The default is 86.4k |
| 1457 | + * The expiry time for the parser cache, in seconds. The default is 86.4k |
1458 | 1458 | * seconds, otherwise known as a day. |
1459 | 1459 | */ |
1460 | 1460 | $wgParserCacheExpireTime = 86400; |
— | — | @@ -1464,17 +1464,17 @@ |
1465 | 1465 | $wgDBAhandler = 'db3'; |
1466 | 1466 | |
1467 | 1467 | /** |
1468 | | - * Store sessions in MemCached. This can be useful to improve performance, or to |
1469 | | - * avoid the locking behaviour of PHP's default session handler, which tends to |
| 1468 | + * Store sessions in MemCached. This can be useful to improve performance, or to |
| 1469 | + * avoid the locking behaviour of PHP's default session handler, which tends to |
1470 | 1470 | * prevent multiple requests for the same user from acting concurrently. |
1471 | 1471 | */ |
1472 | 1472 | $wgSessionsInMemcached = false; |
1473 | 1473 | |
1474 | | -/** |
| 1474 | +/** |
1475 | 1475 | * This is used for setting php's session.save_handler. In practice, you will |
1476 | 1476 | * almost never need to change this ever. Other options might be 'user' or |
1477 | 1477 | * 'session_mysql.' Setting to null skips setting this entirely (which might be |
1478 | | - * useful if you're doing cross-application sessions, see bug 11381) |
| 1478 | + * useful if you're doing cross-application sessions, see bug 11381) |
1479 | 1479 | */ |
1480 | 1480 | $wgSessionHandler = 'files'; |
1481 | 1481 | |
— | — | @@ -1484,8 +1484,8 @@ |
1485 | 1485 | /** The list of MemCached servers and port numbers */ |
1486 | 1486 | $wgMemCachedServers = array( '127.0.0.1:11000' ); |
1487 | 1487 | |
1488 | | -/** |
1489 | | - * Use persistent connections to MemCached, which are shared across multiple |
| 1488 | +/** |
| 1489 | + * Use persistent connections to MemCached, which are shared across multiple |
1490 | 1490 | * requests. |
1491 | 1491 | */ |
1492 | 1492 | $wgMemCachedPersistent = false; |
— | — | @@ -1569,8 +1569,8 @@ |
1570 | 1570 | */ |
1571 | 1571 | $wgUseFileCache = false; |
1572 | 1572 | |
1573 | | -/** |
1574 | | - * Directory where the cached page will be saved. |
| 1573 | +/** |
| 1574 | + * Directory where the cached page will be saved. |
1575 | 1575 | * Defaults to "$wgCacheDirectory/html". |
1576 | 1576 | */ |
1577 | 1577 | $wgFileCacheDirectory = false; |
— | — | @@ -1646,17 +1646,17 @@ |
1647 | 1647 | /************************************************************************//** |
1648 | 1648 | * @name HTTP proxy (Squid) settings |
1649 | 1649 | * |
1650 | | - * Many of these settings apply to any HTTP proxy used in front of MediaWiki, |
| 1650 | + * Many of these settings apply to any HTTP proxy used in front of MediaWiki, |
1651 | 1651 | * although they are referred to as Squid settings for historical reasons. |
1652 | 1652 | * |
1653 | | - * Achieving a high hit ratio with an HTTP proxy requires special |
1654 | | - * configuration. See http://www.mediawiki.org/wiki/Manual:Squid_caching for |
| 1653 | + * Achieving a high hit ratio with an HTTP proxy requires special |
| 1654 | + * configuration. See http://www.mediawiki.org/wiki/Manual:Squid_caching for |
1655 | 1655 | * more details. |
1656 | 1656 | * |
1657 | 1657 | * @{ |
1658 | 1658 | */ |
1659 | 1659 | |
1660 | | -/** |
| 1660 | +/** |
1661 | 1661 | * Enable/disable Squid. |
1662 | 1662 | * See http://www.mediawiki.org/wiki/Manual:Squid_caching |
1663 | 1663 | */ |
— | — | @@ -1668,7 +1668,7 @@ |
1669 | 1669 | /** Send X-Vary-Options header for better caching (requires patched Squid) */ |
1670 | 1670 | $wgUseXVO = false; |
1671 | 1671 | |
1672 | | -/** |
| 1672 | +/** |
1673 | 1673 | * Internal server name as known to Squid, if different. Example: |
1674 | 1674 | * <code> |
1675 | 1675 | * $wgInternalServer = 'http://yourinternal.tld:8000'; |
— | — | @@ -1708,23 +1708,23 @@ |
1709 | 1709 | /** Maximum number of titles to purge in any one client operation */ |
1710 | 1710 | $wgMaxSquidPurgeTitles = 400; |
1711 | 1711 | |
1712 | | -/** |
| 1712 | +/** |
1713 | 1713 | * HTCP multicast address. Set this to a multicast IP address to enable HTCP. |
1714 | 1714 | * |
1715 | | - * Note that MediaWiki uses the old non-RFC compliant HTCP format, which was |
| 1715 | + * Note that MediaWiki uses the old non-RFC compliant HTCP format, which was |
1716 | 1716 | * present in the earliest Squid implementations of the protocol. |
1717 | 1717 | */ |
1718 | 1718 | $wgHTCPMulticastAddress = false; |
1719 | 1719 | |
1720 | | -/** |
1721 | | - * HTCP multicast port. |
| 1720 | +/** |
| 1721 | + * HTCP multicast port. |
1722 | 1722 | * @see $wgHTCPMulticastAddress |
1723 | 1723 | */ |
1724 | 1724 | $wgHTCPPort = 4827; |
1725 | 1725 | |
1726 | | -/** |
1727 | | - * HTCP multicast TTL. |
1728 | | - * @see $wgHTCPMulticastAddress |
| 1726 | +/** |
| 1727 | + * HTCP multicast TTL. |
| 1728 | + * @see $wgHTCPMulticastAddress |
1729 | 1729 | */ |
1730 | 1730 | $wgHTCPMulticastTTL = 1; |
1731 | 1731 | |
— | — | @@ -1773,29 +1773,29 @@ |
1774 | 1774 | $wgOutputEncoding = 'UTF-8'; |
1775 | 1775 | |
1776 | 1776 | /** |
1777 | | - * Character set for use in the article edit box. Language-specific encodings |
1778 | | - * may be defined. |
| 1777 | + * Character set for use in the article edit box. Language-specific encodings |
| 1778 | + * may be defined. |
1779 | 1779 | * |
1780 | | - * This historic feature is one of the first that was added by former MediaWiki |
| 1780 | + * This historic feature is one of the first that was added by former MediaWiki |
1781 | 1781 | * team leader Brion Vibber, and is used to support the Esperanto x-system. |
1782 | 1782 | */ |
1783 | 1783 | $wgEditEncoding = ''; |
1784 | 1784 | |
1785 | 1785 | /** |
1786 | | - * Set this to true to replace Arabic presentation forms with their standard |
| 1786 | + * Set this to true to replace Arabic presentation forms with their standard |
1787 | 1787 | * forms in the U+0600-U+06FF block. This only works if $wgLanguageCode is |
1788 | 1788 | * set to "ar". |
1789 | 1789 | * |
1790 | | - * Note that pages with titles containing presentation forms will become |
| 1790 | + * Note that pages with titles containing presentation forms will become |
1791 | 1791 | * inaccessible, run maintenance/cleanupTitles.php to fix this. |
1792 | 1792 | */ |
1793 | 1793 | $wgFixArabicUnicode = true; |
1794 | 1794 | |
1795 | 1795 | /** |
1796 | 1796 | * Set this to true to replace ZWJ-based chillu sequences in Malayalam text |
1797 | | - * with their Unicode 5.1 equivalents. This only works if $wgLanguageCode is |
1798 | | - * set to "ml". Note that some clients (even new clients as of 2010) do not |
1799 | | - * support these characters. |
| 1797 | + * with their Unicode 5.1 equivalents. This only works if $wgLanguageCode is |
| 1798 | + * set to "ml". Note that some clients (even new clients as of 2010) do not |
| 1799 | + * support these characters. |
1800 | 1800 | * |
1801 | 1801 | * If you enable this on an existing wiki, run maintenance/cleanupTitles.php to |
1802 | 1802 | * fix any ZWJ sequences in existing page titles. |
— | — | @@ -1815,20 +1815,20 @@ |
1816 | 1816 | $wgAllUnicodeFixes = false; |
1817 | 1817 | |
1818 | 1818 | /** |
1819 | | - * Set this to eg 'ISO-8859-1' to perform character set conversion when |
1820 | | - * loading old revisions not marked with "utf-8" flag. Use this when |
1821 | | - * converting a wiki from MediaWiki 1.4 or earlier to UTF-8 without the |
| 1819 | + * Set this to eg 'ISO-8859-1' to perform character set conversion when |
| 1820 | + * loading old revisions not marked with "utf-8" flag. Use this when |
| 1821 | + * converting a wiki from MediaWiki 1.4 or earlier to UTF-8 without the |
1822 | 1822 | * burdensome mass conversion of old text data. |
1823 | 1823 | * |
1824 | | - * NOTE! This DOES NOT touch any fields other than old_text.Titles, comments, |
1825 | | - * user names, etc still must be converted en masse in the database before |
| 1824 | + * NOTE! This DOES NOT touch any fields other than old_text.Titles, comments, |
| 1825 | + * user names, etc still must be converted en masse in the database before |
1826 | 1826 | * continuing as a UTF-8 wiki. |
1827 | 1827 | */ |
1828 | 1828 | $wgLegacyEncoding = false; |
1829 | 1829 | |
1830 | 1830 | /** |
1831 | | - * Browser Blacklist for unicode non compliant browsers. Contains a list of |
1832 | | - * regexps : "/regexp/" matching problematic browsers. These browsers will |
| 1831 | + * Browser Blacklist for unicode non compliant browsers. Contains a list of |
| 1832 | + * regexps : "/regexp/" matching problematic browsers. These browsers will |
1833 | 1833 | * be served encoded unicode in the edit box instead of real unicode. |
1834 | 1834 | */ |
1835 | 1835 | $wgBrowserBlackList = array( |
— | — | @@ -1884,12 +1884,12 @@ |
1885 | 1885 | */ |
1886 | 1886 | $wgLegacySchemaConversion = false; |
1887 | 1887 | |
1888 | | -/** |
| 1888 | +/** |
1889 | 1889 | * Enable to allow rewriting dates in page text. |
1890 | 1890 | * DOES NOT FORMAT CORRECTLY FOR MOST LANGUAGES. |
1891 | 1891 | */ |
1892 | 1892 | $wgUseDynamicDates = false; |
1893 | | -/** |
| 1893 | +/** |
1894 | 1894 | * Enable dates like 'May 12' instead of '12 May', this only takes effect if |
1895 | 1895 | * the interface is set to English. |
1896 | 1896 | */ |
— | — | @@ -1925,7 +1925,7 @@ |
1926 | 1926 | /** Default variant code, if false, the default will be the language code */ |
1927 | 1927 | $wgDefaultLanguageVariant = false; |
1928 | 1928 | |
1929 | | -/** |
| 1929 | +/** |
1930 | 1930 | * Disabled variants array of language variant conversion. Example: |
1931 | 1931 | * <code> |
1932 | 1932 | * $wgDisabledVariants[] = 'zh-mo'; |
— | — | @@ -2097,7 +2097,7 @@ |
2098 | 2098 | $wgXhtmlNamespaces = array(); |
2099 | 2099 | |
2100 | 2100 | /** |
2101 | | - * Show IP address, for non-logged in users. It's necessary to switch this off |
| 2101 | + * Show IP address, for non-logged in users. It's necessary to switch this off |
2102 | 2102 | * for some forms of caching. |
2103 | 2103 | */ |
2104 | 2104 | $wgShowIPinHeader = true; |
— | — | @@ -2117,7 +2117,7 @@ |
2118 | 2118 | $wgExtraSubtitle = ''; |
2119 | 2119 | |
2120 | 2120 | /** |
2121 | | - * If this is set, a "donate" link will appear in the sidebar. Set it to a URL. |
| 2121 | + * If this is set, a "donate" link will appear in the sidebar. Set it to a URL. |
2122 | 2122 | */ |
2123 | 2123 | $wgSiteSupportPage = ''; |
2124 | 2124 | |
— | — | @@ -2142,8 +2142,8 @@ |
2143 | 2143 | $wgAllowUserSkin = true; |
2144 | 2144 | |
2145 | 2145 | /** |
2146 | | - * Specify the name of a skin that should not be presented in the list of |
2147 | | - * available skins. Use for blacklisting a skin which you do not want to |
| 2146 | + * Specify the name of a skin that should not be presented in the list of |
| 2147 | + * available skins. Use for blacklisting a skin which you do not want to |
2148 | 2148 | * remove from the .../skins/ directory |
2149 | 2149 | */ |
2150 | 2150 | $wgSkipSkin = ''; |
— | — | @@ -2536,7 +2536,7 @@ |
2537 | 2537 | /** Whether to allow inline image pointing to other websites */ |
2538 | 2538 | $wgAllowExternalImages = false; |
2539 | 2539 | |
2540 | | -/** |
| 2540 | +/** |
2541 | 2541 | * If the above is false, you can specify an exception here. Image URLs |
2542 | 2542 | * that start with this string are then rendered, while all others are not. |
2543 | 2543 | * You can use this to set up a trusted, simple repository of images. |
— | — | @@ -2646,7 +2646,7 @@ |
2647 | 2647 | $wgAllowDisplayTitle = true; |
2648 | 2648 | |
2649 | 2649 | /** |
2650 | | - * For consistency, restrict DISPLAYTITLE to titles that normalize to the same |
| 2650 | + * For consistency, restrict DISPLAYTITLE to titles that normalize to the same |
2651 | 2651 | * canonical DB key. |
2652 | 2652 | */ |
2653 | 2653 | $wgRestrictDisplayTitle = true; |
— | — | @@ -2921,12 +2921,12 @@ |
2922 | 2922 | /** Allow sysops to ban IP ranges */ |
2923 | 2923 | $wgSysopRangeBans = true; |
2924 | 2924 | |
2925 | | -/** |
| 2925 | +/** |
2926 | 2926 | * Number of seconds before autoblock entries expire. Default 86400 = 1 day. |
2927 | 2927 | */ |
2928 | 2928 | $wgAutoblockExpiry = 86400; |
2929 | 2929 | |
2930 | | -/** |
| 2930 | +/** |
2931 | 2931 | * Set this to true to allow blocked users to edit their own user talk page. |
2932 | 2932 | */ |
2933 | 2933 | $wgBlockAllowsUTEdit = false; |
— | — | @@ -2935,10 +2935,10 @@ |
2936 | 2936 | $wgSysopEmailBans = true; |
2937 | 2937 | |
2938 | 2938 | /** |
2939 | | - * Limits on the possible sizes of range blocks. |
| 2939 | + * Limits on the possible sizes of range blocks. |
2940 | 2940 | * |
2941 | | - * CIDR notation is hard to understand, it's easy to mistakenly assume that a |
2942 | | - * /1 is a small range and a /31 is a large range. Setting this to half the |
| 2941 | + * CIDR notation is hard to understand, it's easy to mistakenly assume that a |
| 2942 | + * /1 is a small range and a /31 is a large range. Setting this to half the |
2943 | 2943 | * number of bits avoids such errors. |
2944 | 2944 | */ |
2945 | 2945 | $wgBlockCIDRLimit = array( |
— | — | @@ -2964,11 +2964,11 @@ |
2965 | 2965 | * |
2966 | 2966 | * Special:Userlogin and Special:Resetpass are always whitelisted. |
2967 | 2967 | * |
2968 | | - * NOTE: This will only work if $wgGroupPermissions['*']['read'] is false -- |
| 2968 | + * NOTE: This will only work if $wgGroupPermissions['*']['read'] is false -- |
2969 | 2969 | * see below. Otherwise, ALL pages are accessible, regardless of this setting. |
2970 | 2970 | * |
2971 | | - * Also note that this will only protect _pages in the wiki_. Uploaded files |
2972 | | - * will remain readable. You can use img_auth.php to protect uploaded files, |
| 2971 | + * Also note that this will only protect _pages in the wiki_. Uploaded files |
| 2972 | + * will remain readable. You can use img_auth.php to protect uploaded files, |
2973 | 2973 | * see http://www.mediawiki.org/wiki/Manual:Image_Authorization |
2974 | 2974 | */ |
2975 | 2975 | $wgWhitelistRead = false; |
— | — | @@ -3178,11 +3178,11 @@ |
3179 | 3179 | $wgNonincludableNamespaces = array(); |
3180 | 3180 | |
3181 | 3181 | /** |
3182 | | - * Number of seconds an account is required to age before it's given the |
3183 | | - * implicit 'autoconfirm' group membership. This can be used to limit |
| 3182 | + * Number of seconds an account is required to age before it's given the |
| 3183 | + * implicit 'autoconfirm' group membership. This can be used to limit |
3184 | 3184 | * privileges of new accounts. |
3185 | 3185 | * |
3186 | | - * Accounts created by earlier versions of the software may not have a |
| 3186 | + * Accounts created by earlier versions of the software may not have a |
3187 | 3187 | * recorded creation date, and will always be considered to pass the age test. |
3188 | 3188 | * |
3189 | 3189 | * When left at 0, all registered accounts will pass. |
— | — | @@ -3232,7 +3232,7 @@ |
3233 | 3233 | ); |
3234 | 3234 | |
3235 | 3235 | /** |
3236 | | - * $wgAddGroups and $wgRemoveGroups can be used to give finer control over who |
| 3236 | + * $wgAddGroups and $wgRemoveGroups can be used to give finer control over who |
3237 | 3237 | * can assign which groups at Special:Userrights. Example configuration: |
3238 | 3238 | * |
3239 | 3239 | * @code |
— | — | @@ -3281,7 +3281,7 @@ |
3282 | 3282 | /** Same as the above except for edit summaries */ |
3283 | 3283 | $wgSummarySpamRegex = array(); |
3284 | 3284 | |
3285 | | -/** |
| 3285 | +/** |
3286 | 3286 | * Similarly you can get a function to do the job. The function will be given |
3287 | 3287 | * the following args: |
3288 | 3288 | * - a Title object for the article the edit is made on |
— | — | @@ -3378,9 +3378,9 @@ |
3379 | 3379 | */ |
3380 | 3380 | $wgRateLimitsExcludedIPs = array(); |
3381 | 3381 | |
3382 | | -/** |
3383 | | - * Log IP addresses in the recentchanges table; can be accessed only by |
3384 | | - * extensions (e.g. CheckUser) or a DB admin |
| 3382 | +/** |
| 3383 | + * Log IP addresses in the recentchanges table; can be accessed only by |
| 3384 | + * extensions (e.g. CheckUser) or a DB admin |
3385 | 3385 | */ |
3386 | 3386 | $wgPutIPinRC = true; |
3387 | 3387 | |
— | — | @@ -3628,7 +3628,7 @@ |
3629 | 3629 | /** Don't put non-profiling info into log file */ |
3630 | 3630 | $wgProfileOnly = false; |
3631 | 3631 | |
3632 | | -/** |
| 3632 | +/** |
3633 | 3633 | * Log sums from profiling into "profiling" table in db. |
3634 | 3634 | * |
3635 | 3635 | * You have to create a 'profiling' table in your database before using |
— | — | @@ -3644,15 +3644,15 @@ |
3645 | 3645 | /** Should application server host be put into profiling table */ |
3646 | 3646 | $wgProfilePerHost = false; |
3647 | 3647 | |
3648 | | -/** |
| 3648 | +/** |
3649 | 3649 | * Host for UDP profiler. |
3650 | 3650 | * |
3651 | | - * The host should be running a daemon which can be obtained from MediaWiki |
| 3651 | + * The host should be running a daemon which can be obtained from MediaWiki |
3652 | 3652 | * Subversion at: http://svn.wikimedia.org/svnroot/mediawiki/trunk/udpprofile |
3653 | 3653 | */ |
3654 | 3654 | $wgUDPProfilerHost = '127.0.0.1'; |
3655 | 3655 | |
3656 | | -/** |
| 3656 | +/** |
3657 | 3657 | * Port for UDP profiler. |
3658 | 3658 | * @see $wgUDPProfilerHost |
3659 | 3659 | */ |
— | — | @@ -3914,7 +3914,7 @@ |
3915 | 3915 | * @{ |
3916 | 3916 | */ |
3917 | 3917 | |
3918 | | -/** |
| 3918 | +/** |
3919 | 3919 | * @cond file_level_code |
3920 | 3920 | * Set $wgCommandLineMode if it's not set already, to avoid notices |
3921 | 3921 | */ |
— | — | @@ -3967,16 +3967,16 @@ |
3968 | 3968 | $wgRCMaxAge = 13 * 7 * 24 * 3600; |
3969 | 3969 | |
3970 | 3970 | /** |
3971 | | - * Filter $wgRCLinkDays by $wgRCMaxAge to avoid showing links for numbers |
3972 | | - * higher than what will be stored. Note that this is disabled by default |
3973 | | - * because we sometimes do have RC data which is beyond the limit for some |
3974 | | - * reason, and some users may use the high numbers to display that data which |
| 3971 | + * Filter $wgRCLinkDays by $wgRCMaxAge to avoid showing links for numbers |
| 3972 | + * higher than what will be stored. Note that this is disabled by default |
| 3973 | + * because we sometimes do have RC data which is beyond the limit for some |
| 3974 | + * reason, and some users may use the high numbers to display that data which |
3975 | 3975 | * is still there. |
3976 | 3976 | */ |
3977 | 3977 | $wgRCFilterByAge = false; |
3978 | 3978 | |
3979 | 3979 | /** |
3980 | | - * List of Days and Limits options to list in the Special:Recentchanges and |
| 3980 | + * List of Days and Limits options to list in the Special:Recentchanges and |
3981 | 3981 | * Special:Recentchangeslinked pages. |
3982 | 3982 | */ |
3983 | 3983 | $wgRCLinkLimits = array( 50, 100, 250, 500 ); |
— | — | @@ -4352,12 +4352,12 @@ |
4353 | 4353 | $wgExceptionHooks = array(); |
4354 | 4354 | |
4355 | 4355 | /** |
4356 | | - * List of page property names and descriptions of what they are. |
4357 | | - * This is used for the API prop=pageprops module to know which |
4358 | | - * page props to search for. The help message is only seen from |
| 4356 | + * List of page property names and descriptions of what they are. |
| 4357 | + * This is used for the API prop=pageprops module to know which |
| 4358 | + * page props to search for. The help message is only seen from |
4359 | 4359 | * the API help page. |
4360 | 4360 | */ |
4361 | | -$wgPageProps = array( |
| 4361 | +$wgPageProps = array( |
4362 | 4362 | 'hiddencat' => 'Whether or not the page has a category with the __HIDDENCAT__ magic word', |
4363 | 4363 | ); |
4364 | 4364 | |
— | — | @@ -4765,9 +4765,9 @@ |
4766 | 4766 | |
4767 | 4767 | /************************************************************************//** |
4768 | 4768 | * @name AJAX and API |
4769 | | - * Note: The AJAX entry point which this section refers to is gradually being |
| 4769 | + * Note: The AJAX entry point which this section refers to is gradually being |
4770 | 4770 | * replaced by the API entry point, api.php. They are essentially equivalent. |
4771 | | - * Both of them are used for dynamic client-side features, via XHR. |
| 4771 | + * Both of them are used for dynamic client-side features, via XHR. |
4772 | 4772 | * @{ |
4773 | 4773 | */ |
4774 | 4774 | |
— | — | @@ -5053,23 +5053,23 @@ |
5054 | 5054 | |
5055 | 5055 | /** |
5056 | 5056 | * The location of the MediaWiki package repository to use. |
5057 | | - * |
| 5057 | + * |
5058 | 5058 | * @since 1.17 |
5059 | 5059 | * @var string |
5060 | 5060 | */ |
5061 | 5061 | $wgRepositoryApiLocation = 'http://www.mediawiki.org/w/api.php'; |
5062 | 5062 | |
5063 | 5063 | /** |
5064 | | - * The location of the remote web interface for the selected repository. |
5065 | | - * |
| 5064 | + * The location of the remote web interface for the selected repository. |
| 5065 | + * |
5066 | 5066 | * @since 1.17 |
5067 | 5067 | * @var string |
5068 | 5068 | */ |
5069 | 5069 | $wgRepositoryLocation = 'http://www.mediawiki.org/wiki/Special:Repository'; |
5070 | 5070 | |
5071 | 5071 | /** |
5072 | | - * List of package states to filter update detection and extension listing on. |
5073 | | - * |
| 5072 | + * List of package states to filter update detection and extension listing on. |
| 5073 | + * |
5074 | 5074 | * @since 1.17 |
5075 | 5075 | * @var array |
5076 | 5076 | */ |
— | — | @@ -5081,7 +5081,7 @@ |
5082 | 5082 | 'stable', |
5083 | 5083 | //'deprecated', |
5084 | 5084 | ); |
5085 | | - |
| 5085 | + |
5086 | 5086 | /** |
5087 | 5087 | * For really cool vim folding this needs to be at the end: |
5088 | 5088 | * vim: foldmarker=@{,@} foldmethod=marker |