Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -36,7 +36,7 @@ |
37 | 37 | $wgVersion = '1.19alpha'; |
38 | 38 | |
39 | 39 | /** Name of the site. It must be changed in LocalSettings.php */ |
40 | | -$wgSitename = 'MediaWiki'; |
| 40 | +$wgSitename = 'MediaWiki'; |
41 | 41 | |
42 | 42 | /** |
43 | 43 | * URL of the server. |
— | — | @@ -115,7 +115,7 @@ |
116 | 116 | * |
117 | 117 | * Will default to "{$wgScriptPath}/index{$wgScriptExtension}" in Setup.php |
118 | 118 | */ |
119 | | -$wgScript = false; |
| 119 | +$wgScript = false; |
120 | 120 | |
121 | 121 | /** |
122 | 122 | * The URL path to redirect.php. This is a script that is used by the Nostalgia |
— | — | @@ -123,14 +123,14 @@ |
124 | 124 | * |
125 | 125 | * Will default to "{$wgScriptPath}/redirect{$wgScriptExtension}" in Setup.php |
126 | 126 | */ |
127 | | -$wgRedirectScript = false; |
| 127 | +$wgRedirectScript = false; |
128 | 128 | |
129 | 129 | /** |
130 | 130 | * The URL path to load.php. |
131 | 131 | * |
132 | 132 | * Defaults to "{$wgScriptPath}/load{$wgScriptExtension}". |
133 | 133 | */ |
134 | | -$wgLoadScript = false; |
| 134 | +$wgLoadScript = false; |
135 | 135 | |
136 | 136 | |
137 | 137 | /**@}*/ |
— | — | @@ -156,14 +156,14 @@ |
157 | 157 | /** |
158 | 158 | * The URL path of the skins directory. Will default to "{$wgScriptPath}/skins" in Setup.php |
159 | 159 | */ |
160 | | -$wgStylePath = false; |
| 160 | +$wgStylePath = false; |
161 | 161 | $wgStyleSheetPath = &$wgStylePath; |
162 | 162 | |
163 | 163 | /** |
164 | 164 | * The URL path of the skins directory. Should not point to an external domain. |
165 | 165 | * Defaults to "{$wgScriptPath}/skins". |
166 | 166 | */ |
167 | | -$wgLocalStylePath = false; |
| 167 | +$wgLocalStylePath = false; |
168 | 168 | |
169 | 169 | /** |
170 | 170 | * The URL path of the extensions directory. |
— | — | @@ -184,12 +184,12 @@ |
185 | 185 | * Will default to "{$wgScript}/$1" or "{$wgScript}?title=$1" in Setup.php, |
186 | 186 | * depending on $wgUsePathInfo. |
187 | 187 | */ |
188 | | -$wgArticlePath = false; |
| 188 | +$wgArticlePath = false; |
189 | 189 | |
190 | 190 | /** |
191 | 191 | * The URL path for the images directory. Will default to "{$wgScriptPath}/images" in Setup.php |
192 | 192 | */ |
193 | | -$wgUploadPath = false; |
| 193 | +$wgUploadPath = false; |
194 | 194 | |
195 | 195 | /** |
196 | 196 | * The maximum age of temporary (incomplete) uploaded files |
— | — | @@ -199,24 +199,24 @@ |
200 | 200 | /** |
201 | 201 | * The filesystem path of the images directory. Defaults to "{$IP}/images". |
202 | 202 | */ |
203 | | -$wgUploadDirectory = false; |
| 203 | +$wgUploadDirectory = false; |
204 | 204 | |
205 | 205 | /** |
206 | 206 | * The URL path of the wiki logo. The logo size should be 135x135 pixels. |
207 | 207 | * Will default to "{$wgStylePath}/common/images/wiki.png" in Setup.php |
208 | 208 | */ |
209 | | -$wgLogo = false; |
| 209 | +$wgLogo = false; |
210 | 210 | |
211 | 211 | /** |
212 | 212 | * The URL path of the shortcut icon. |
213 | 213 | */ |
214 | | -$wgFavicon = '/favicon.ico'; |
| 214 | +$wgFavicon = '/favicon.ico'; |
215 | 215 | |
216 | 216 | /** |
217 | 217 | * The URL path of the icon for iPhone and iPod Touch web app bookmarks. |
218 | 218 | * Defaults to no icon. |
219 | 219 | */ |
220 | | -$wgAppleTouchIcon = false; |
| 220 | +$wgAppleTouchIcon = false; |
221 | 221 | |
222 | 222 | /** |
223 | 223 | * The local filesystem path to a temporary directory. This is not required to |
— | — | @@ -224,13 +224,13 @@ |
225 | 225 | * |
226 | 226 | * Will default to "{$wgUploadDirectory}/tmp" in Setup.php |
227 | 227 | */ |
228 | | -$wgTmpDirectory = false; |
| 228 | +$wgTmpDirectory = false; |
229 | 229 | |
230 | 230 | /** |
231 | 231 | * If set, this URL is added to the start of $wgUploadPath to form a complete |
232 | 232 | * upload URL. |
233 | 233 | */ |
234 | | -$wgUploadBaseUrl = ""; |
| 234 | +$wgUploadBaseUrl = ''; |
235 | 235 | |
236 | 236 | /** |
237 | 237 | * To enable remote on-demand scaling, set this to the thumbnail base URL. |
— | — | @@ -281,7 +281,7 @@ |
282 | 282 | /** |
283 | 283 | * Set this to true if you use img_auth and want the user to see details on why access failed. |
284 | 284 | */ |
285 | | -$wgImgAuthDetails = false; |
| 285 | +$wgImgAuthDetails = false; |
286 | 286 | |
287 | 287 | /** |
288 | 288 | * If this is enabled, img_auth.php will not allow image access unless the wiki |
— | — | @@ -507,7 +507,7 @@ |
508 | 508 | * |
509 | 509 | * Note that this variable may be ignored if $wgLocalFileRepo is set. |
510 | 510 | */ |
511 | | -$wgHashedUploadDirectory = true; |
| 511 | +$wgHashedUploadDirectory = true; |
512 | 512 | |
513 | 513 | /** |
514 | 514 | * Set the following to false especially if you have a set of files that need to |
— | — | @@ -642,11 +642,11 @@ |
643 | 643 | * |
644 | 644 | * Use Image Magick instead of PHP builtin functions. |
645 | 645 | */ |
646 | | -$wgUseImageMagick = false; |
| 646 | +$wgUseImageMagick = false; |
647 | 647 | /** The convert command shipped with ImageMagick */ |
648 | | -$wgImageMagickConvertCommand = '/usr/bin/convert'; |
| 648 | +$wgImageMagickConvertCommand = '/usr/bin/convert'; |
649 | 649 | /** The identify command shipped with ImageMagick */ |
650 | | -$wgImageMagickIdentifyCommand = '/usr/bin/identify'; |
| 650 | +$wgImageMagickIdentifyCommand = '/usr/bin/identify'; |
651 | 651 | |
652 | 652 | /** Sharpening parameter to ImageMagick */ |
653 | 653 | $wgSharpenParameter = '0x0.4'; |
— | — | @@ -802,7 +802,7 @@ |
803 | 803 | * $wgAntivirusSetup array. Set this to NULL to disable virus scanning. If not |
804 | 804 | * null, every file uploaded will be scanned for viruses. |
805 | 805 | */ |
806 | | -$wgAntivirus= null; |
| 806 | +$wgAntivirus = null; |
807 | 807 | |
808 | 808 | /** |
809 | 809 | * Configuration for different virus scanners. This an associative array of |
— | — | @@ -915,11 +915,11 @@ |
916 | 916 | * array = ( 'rootElement' => 'associatedMimeType' ) |
917 | 917 | */ |
918 | 918 | $wgXMLMimeTypes = array( |
919 | | - 'http://www.w3.org/2000/svg:svg' => 'image/svg+xml', |
920 | | - 'svg' => 'image/svg+xml', |
921 | | - 'http://www.lysator.liu.se/~alla/dia/:diagram' => 'application/x-dia-diagram', |
922 | | - 'http://www.w3.org/1999/xhtml:html' => 'text/html', // application/xhtml+xml? |
923 | | - 'html' => 'text/html', // application/xhtml+xml? |
| 919 | + 'http://www.w3.org/2000/svg:svg' => 'image/svg+xml', |
| 920 | + 'svg' => 'image/svg+xml', |
| 921 | + 'http://www.lysator.liu.se/~alla/dia/:diagram' => 'application/x-dia-diagram', |
| 922 | + 'http://www.w3.org/1999/xhtml:html' => 'text/html', // application/xhtml+xml? |
| 923 | + 'html' => 'text/html', // application/xhtml+xml? |
924 | 924 | ); |
925 | 925 | |
926 | 926 | /** |
— | — | @@ -930,13 +930,14 @@ |
931 | 931 | * change it if you alter the array (see bug 8858). |
932 | 932 | * This is the list of settings the user can choose from: |
933 | 933 | */ |
934 | | -$wgImageLimits = array ( |
935 | | - array(320,240), |
936 | | - array(640,480), |
937 | | - array(800,600), |
938 | | - array(1024,768), |
939 | | - array(1280,1024), |
940 | | - array(10000,10000) ); |
| 934 | +$wgImageLimits = array( |
| 935 | + array( 320, 240 ), |
| 936 | + array( 640, 480 ), |
| 937 | + array( 800, 600 ), |
| 938 | + array( 1024, 768 ), |
| 939 | + array( 1280, 1024 ), |
| 940 | + array( 10000, 10000 ) |
| 941 | +); |
941 | 942 | |
942 | 943 | /** |
943 | 944 | * Adjust thumbnails on image pages according to a user setting. In order to |
— | — | @@ -1088,7 +1089,7 @@ |
1089 | 1090 | /** |
1090 | 1091 | * The time, in seconds, when an emailed temporary password expires. |
1091 | 1092 | */ |
1092 | | -$wgNewPasswordExpiry = 3600 * 24 * 7; |
| 1093 | +$wgNewPasswordExpiry = 3600 * 24 * 7; |
1093 | 1094 | |
1094 | 1095 | /** |
1095 | 1096 | * The time, in seconds, when an email confirmation email expires |
— | — | @@ -1108,7 +1109,7 @@ |
1109 | 1110 | * "password" => password |
1110 | 1111 | * </code> |
1111 | 1112 | */ |
1112 | | -$wgSMTP = false; |
| 1113 | +$wgSMTP = false; |
1113 | 1114 | |
1114 | 1115 | /** |
1115 | 1116 | * Additional email parameters, will be passed as the last argument to mail() call. |
— | — | @@ -1120,7 +1121,7 @@ |
1121 | 1122 | * True: from page editor if s/he opted-in. False: Enotif mails appear to come |
1122 | 1123 | * from $wgEmergencyContact |
1123 | 1124 | */ |
1124 | | -$wgEnotifFromEditor = false; |
| 1125 | +$wgEnotifFromEditor = false; |
1125 | 1126 | |
1126 | 1127 | // TODO move UPO to preferences probably ? |
1127 | 1128 | # If set to true, users get a corresponding option in their preferences and can choose to enable or disable at their discretion |
— | — | @@ -1132,30 +1133,30 @@ |
1133 | 1134 | * highly recommended. It prevents MediaWiki from being used as an open spam |
1134 | 1135 | * relay. |
1135 | 1136 | */ |
1136 | | -$wgEmailAuthentication = true; |
| 1137 | +$wgEmailAuthentication = true; |
1137 | 1138 | |
1138 | 1139 | /** |
1139 | 1140 | * Allow users to enable email notification ("enotif") on watchlist changes. |
1140 | 1141 | */ |
1141 | | -$wgEnotifWatchlist = false; |
| 1142 | +$wgEnotifWatchlist = false; |
1142 | 1143 | |
1143 | 1144 | /** |
1144 | 1145 | * Allow users to enable email notification ("enotif") when someone edits their |
1145 | 1146 | * user talk page. |
1146 | 1147 | */ |
1147 | | -$wgEnotifUserTalk = false; |
| 1148 | +$wgEnotifUserTalk = false; |
1148 | 1149 | |
1149 | 1150 | /** |
1150 | 1151 | * Set the Reply-to address in notifications to the editor's address, if user |
1151 | 1152 | * allowed this in the preferences. |
1152 | 1153 | */ |
1153 | | -$wgEnotifRevealEditorAddress = false; |
| 1154 | +$wgEnotifRevealEditorAddress = false; |
1154 | 1155 | |
1155 | 1156 | /** |
1156 | 1157 | * Send notification mails on minor edits to watchlist pages. This is enabled |
1157 | 1158 | * by default. Does not affect user talk notifications. |
1158 | 1159 | */ |
1159 | | -$wgEnotifMinorEdits = true; |
| 1160 | +$wgEnotifMinorEdits = true; |
1160 | 1161 | |
1161 | 1162 | /** |
1162 | 1163 | * Send a generic mail instead of a personalised mail for each user. This |
— | — | @@ -1197,20 +1198,20 @@ |
1198 | 1199 | * @{ |
1199 | 1200 | */ |
1200 | 1201 | /** Database host name or IP address */ |
1201 | | -$wgDBserver = 'localhost'; |
| 1202 | +$wgDBserver = 'localhost'; |
1202 | 1203 | /** Database port number (for PostgreSQL) */ |
1203 | | -$wgDBport = 5432; |
| 1204 | +$wgDBport = 5432; |
1204 | 1205 | /** Name of the database */ |
1205 | | -$wgDBname = 'my_wiki'; |
| 1206 | +$wgDBname = 'my_wiki'; |
1206 | 1207 | /** Database username */ |
1207 | | -$wgDBuser = 'wikiuser'; |
| 1208 | +$wgDBuser = 'wikiuser'; |
1208 | 1209 | /** Database user's password */ |
1209 | | -$wgDBpassword = ''; |
| 1210 | +$wgDBpassword = ''; |
1210 | 1211 | /** Database type */ |
1211 | | -$wgDBtype = 'mysql'; |
| 1212 | +$wgDBtype = 'mysql'; |
1212 | 1213 | |
1213 | 1214 | /** Separate username for maintenance tasks. Leave as null to use the default. */ |
1214 | | -$wgDBadminuser = null; |
| 1215 | +$wgDBadminuser = null; |
1215 | 1216 | /** Separate password for maintenance tasks. Leave as null to use the default. */ |
1216 | 1217 | $wgDBadminpassword = null; |
1217 | 1218 | |
— | — | @@ -1220,12 +1221,12 @@ |
1221 | 1222 | * selected database type (eg SearchMySQL), or set to a class |
1222 | 1223 | * name to override to a custom search engine. |
1223 | 1224 | */ |
1224 | | -$wgSearchType = null; |
| 1225 | +$wgSearchType = null; |
1225 | 1226 | |
1226 | 1227 | /** Table name prefix */ |
1227 | | -$wgDBprefix = ''; |
| 1228 | +$wgDBprefix = ''; |
1228 | 1229 | /** MySQL table options to use during installation or update */ |
1229 | | -$wgDBTableOptions = 'ENGINE=InnoDB'; |
| 1230 | +$wgDBTableOptions = 'ENGINE=InnoDB'; |
1230 | 1231 | |
1231 | 1232 | /** |
1232 | 1233 | * SQL Mode - default is turning off all modes, including strict, if set. |
— | — | @@ -1236,10 +1237,10 @@ |
1237 | 1238 | $wgSQLMode = ''; |
1238 | 1239 | |
1239 | 1240 | /** Mediawiki schema */ |
1240 | | -$wgDBmwschema = 'mediawiki'; |
| 1241 | +$wgDBmwschema = 'mediawiki'; |
1241 | 1242 | |
1242 | 1243 | /** To override default SQLite data directory ($docroot/../data) */ |
1243 | | -$wgSQLiteDataDir = ''; |
| 1244 | +$wgSQLiteDataDir = ''; |
1244 | 1245 | |
1245 | 1246 | /** |
1246 | 1247 | * Make all database connections secretly go to localhost. Fool the load balancer |
— | — | @@ -1266,7 +1267,7 @@ |
1267 | 1268 | * $wgSharedPrefix is the table prefix for the shared database. It defaults to |
1268 | 1269 | * $wgDBprefix. |
1269 | 1270 | */ |
1270 | | -$wgSharedDB = null; |
| 1271 | +$wgSharedDB = null; |
1271 | 1272 | |
1272 | 1273 | /** @see $wgSharedDB */ |
1273 | 1274 | $wgSharedPrefix = false; |
— | — | @@ -1316,7 +1317,7 @@ |
1317 | 1318 | * up, we at Wikimedia set read_only=1 in my.cnf on all our DB servers, even |
1318 | 1319 | * our masters, and then set read_only=0 on masters at runtime. |
1319 | 1320 | */ |
1320 | | -$wgDBservers = false; |
| 1321 | +$wgDBservers = false; |
1321 | 1322 | |
1322 | 1323 | /** |
1323 | 1324 | * Load balancer factory configuration |
— | — | @@ -1328,13 +1329,13 @@ |
1329 | 1330 | * The LBFactory_Multi class is provided for this purpose, please see |
1330 | 1331 | * includes/db/LBFactory_Multi.php for configuration information. |
1331 | 1332 | */ |
1332 | | -$wgLBFactoryConf = array( 'class' => 'LBFactory_Simple' ); |
| 1333 | +$wgLBFactoryConf = array( 'class' => 'LBFactory_Simple' ); |
1333 | 1334 | |
1334 | 1335 | /** How long to wait for a slave to catch up to the master */ |
1335 | 1336 | $wgMasterWaitTimeout = 10; |
1336 | 1337 | |
1337 | 1338 | /** File to log database errors to */ |
1338 | | -$wgDBerrorLog = false; |
| 1339 | +$wgDBerrorLog = false; |
1339 | 1340 | |
1340 | 1341 | /** When to give an error message */ |
1341 | 1342 | $wgDBClusterTimeout = 10; |
— | — | @@ -1346,7 +1347,7 @@ |
1347 | 1348 | $wgDBAvgStatusPoll = 2000; |
1348 | 1349 | |
1349 | 1350 | /** Set to true if using InnoDB tables */ |
1350 | | -$wgDBtransactions = false; |
| 1351 | +$wgDBtransactions = false; |
1351 | 1352 | |
1352 | 1353 | /** |
1353 | 1354 | * Set to true to engage MySQL 4.1/5.0 charset-related features; |
— | — | @@ -1364,7 +1365,7 @@ |
1365 | 1366 | * characters (those not in the Basic Multilingual Plane) unless MySQL |
1366 | 1367 | * has enhanced their Unicode support. |
1367 | 1368 | */ |
1368 | | -$wgDBmysql5 = false; |
| 1369 | +$wgDBmysql5 = false; |
1369 | 1370 | |
1370 | 1371 | /** |
1371 | 1372 | * Other wikis on this site, can be administered from a single developer |
— | — | @@ -1485,7 +1486,7 @@ |
1486 | 1487 | /** |
1487 | 1488 | * Maximum article size in kilobytes |
1488 | 1489 | */ |
1489 | | -$wgMaxArticleSize = 2048; |
| 1490 | +$wgMaxArticleSize = 2048; |
1490 | 1491 | |
1491 | 1492 | /** |
1492 | 1493 | * The minimum amount of memory that MediaWiki "needs"; MediaWiki will try to |
— | — | @@ -1607,7 +1608,7 @@ |
1608 | 1609 | $wgSessionHandler = null; |
1609 | 1610 | |
1610 | 1611 | /** If enabled, will send MemCached debugging information to $wgDebugLogFile */ |
1611 | | -$wgMemCachedDebug = false; |
| 1612 | +$wgMemCachedDebug = false; |
1612 | 1613 | |
1613 | 1614 | /** The list of MemCached servers and port numbers */ |
1614 | 1615 | $wgMemCachedServers = array( '127.0.0.1:11000' ); |
— | — | @@ -1672,7 +1673,7 @@ |
1673 | 1674 | ); |
1674 | 1675 | |
1675 | 1676 | /** Allow client-side caching of pages */ |
1676 | | -$wgCachePages = true; |
| 1677 | +$wgCachePages = true; |
1677 | 1678 | |
1678 | 1679 | /** |
1679 | 1680 | * Set this to current time to invalidate all prior cached pages. Affects both |
— | — | @@ -1935,7 +1936,7 @@ |
1936 | 1937 | * This historic feature is one of the first that was added by former MediaWiki |
1937 | 1938 | * team leader Brion Vibber, and is used to support the Esperanto x-system. |
1938 | 1939 | */ |
1939 | | -$wgEditEncoding = ''; |
| 1940 | +$wgEditEncoding = ''; |
1940 | 1941 | |
1941 | 1942 | /** |
1942 | 1943 | * Set this to true to replace Arabic presentation forms with their standard |
— | — | @@ -1980,7 +1981,7 @@ |
1981 | 1982 | * user names, etc still must be converted en masse in the database before |
1982 | 1983 | * continuing as a UTF-8 wiki. |
1983 | 1984 | */ |
1984 | | -$wgLegacyEncoding = false; |
| 1985 | +$wgLegacyEncoding = false; |
1985 | 1986 | |
1986 | 1987 | /** |
1987 | 1988 | * Browser Blacklist for unicode non compliant browsers. Contains a list of |
— | — | @@ -2065,7 +2066,7 @@ |
2066 | 2067 | /** |
2067 | 2068 | * Expiry time for the message cache key |
2068 | 2069 | */ |
2069 | | -$wgMsgCacheExpiry = 86400; |
| 2070 | +$wgMsgCacheExpiry = 86400; |
2070 | 2071 | |
2071 | 2072 | /** |
2072 | 2073 | * Maximum entry size in the message cache, in bytes |
— | — | @@ -2278,7 +2279,7 @@ |
2279 | 2280 | * Show IP address, for non-logged in users. It's necessary to switch this off |
2280 | 2281 | * for some forms of caching. |
2281 | 2282 | */ |
2282 | | -$wgShowIPinHeader = true; |
| 2283 | +$wgShowIPinHeader = true; |
2283 | 2284 | |
2284 | 2285 | /** |
2285 | 2286 | * Site notice shown at the top of each page |
— | — | @@ -2665,7 +2666,7 @@ |
2666 | 2667 | * Name of the project namespace. If left set to false, $wgSitename will be |
2667 | 2668 | * used instead. |
2668 | 2669 | */ |
2669 | | -$wgMetaNamespace = false; |
| 2670 | +$wgMetaNamespace = false; |
2670 | 2671 | |
2671 | 2672 | /** |
2672 | 2673 | * Name of the project talk namespace. |
— | — | @@ -2753,7 +2754,7 @@ |
2754 | 2755 | /** |
2755 | 2756 | * The interwiki prefix of the current wiki, or false if it doesn't have one. |
2756 | 2757 | */ |
2757 | | -$wgLocalInterwiki = false; |
| 2758 | +$wgLocalInterwiki = false; |
2758 | 2759 | |
2759 | 2760 | /** |
2760 | 2761 | * Expiry time for cache of interwiki table |
— | — | @@ -3157,13 +3158,13 @@ |
3158 | 3159 | /** |
3159 | 3160 | * Maximum number of Unicode characters in signature |
3160 | 3161 | */ |
3161 | | -$wgMaxSigChars = 255; |
| 3162 | +$wgMaxSigChars = 255; |
3162 | 3163 | |
3163 | 3164 | /** |
3164 | 3165 | * Maximum number of bytes in username. You want to run the maintenance |
3165 | 3166 | * script ./maintenance/checkUsernames.php once you have changed this value. |
3166 | 3167 | */ |
3167 | | -$wgMaxNameChars = 255; |
| 3168 | +$wgMaxNameChars = 255; |
3168 | 3169 | |
3169 | 3170 | /** |
3170 | 3171 | * Array of usernames which may not be registered or logged in from |
— | — | @@ -3343,7 +3344,7 @@ |
3344 | 3345 | * http://lists.wikimedia.org/pipermail/wikitech-l/2010-October/050065.html |
3345 | 3346 | * @since 1.17 |
3346 | 3347 | */ |
3347 | | -$wgSecureLogin = false; |
| 3348 | +$wgSecureLogin = false; |
3348 | 3349 | |
3349 | 3350 | /** @} */ # end user accounts } |
3350 | 3351 | |
— | — | @@ -3355,15 +3356,15 @@ |
3356 | 3357 | /** |
3357 | 3358 | * Number of seconds before autoblock entries expire. Default 86400 = 1 day. |
3358 | 3359 | */ |
3359 | | -$wgAutoblockExpiry = 86400; |
| 3360 | +$wgAutoblockExpiry = 86400; |
3360 | 3361 | |
3361 | 3362 | /** |
3362 | 3363 | * Set this to true to allow blocked users to edit their own user talk page. |
3363 | 3364 | */ |
3364 | | -$wgBlockAllowsUTEdit = false; |
| 3365 | +$wgBlockAllowsUTEdit = false; |
3365 | 3366 | |
3366 | 3367 | /** Allow sysops to ban users from accessing Emailuser */ |
3367 | | -$wgSysopEmailBans = true; |
| 3368 | +$wgSysopEmailBans = true; |
3368 | 3369 | |
3369 | 3370 | /** |
3370 | 3371 | * Limits on the possible sizes of range blocks. |
— | — | @@ -3856,7 +3857,7 @@ |
3857 | 3858 | * Integer defining default number of entries to show on |
3858 | 3859 | * special pages which are query-pages such as Special:Whatlinkshere. |
3859 | 3860 | */ |
3860 | | -$wgQueryPageDefaultLimit = 50; |
| 3861 | +$wgQueryPageDefaultLimit = 50; |
3861 | 3862 | |
3862 | 3863 | /** |
3863 | 3864 | * Limit password attempts to X attempts per Y seconds per IP per account. |
— | — | @@ -3996,26 +3997,26 @@ |
3997 | 3998 | * The debug log file should be not be publicly accessible if it is used, as it |
3998 | 3999 | * may contain private data. |
3999 | 4000 | */ |
4000 | | -$wgDebugLogFile = ''; |
| 4001 | +$wgDebugLogFile = ''; |
4001 | 4002 | |
4002 | 4003 | /** |
4003 | 4004 | * Prefix for debug log lines |
4004 | 4005 | */ |
4005 | | -$wgDebugLogPrefix = ''; |
| 4006 | +$wgDebugLogPrefix = ''; |
4006 | 4007 | |
4007 | 4008 | /** |
4008 | 4009 | * If true, instead of redirecting, show a page with a link to the redirect |
4009 | 4010 | * destination. This allows for the inspection of PHP error messages, and easy |
4010 | 4011 | * resubmission of form data. For developer use only. |
4011 | 4012 | */ |
4012 | | -$wgDebugRedirects = false; |
| 4013 | +$wgDebugRedirects = false; |
4013 | 4014 | |
4014 | 4015 | /** |
4015 | 4016 | * If true, log debugging data from action=raw and load.php. |
4016 | 4017 | * This is normally false to avoid overlapping debug entries due to gen=css and |
4017 | 4018 | * gen=js requests. |
4018 | 4019 | */ |
4019 | | -$wgDebugRawPage = false; |
| 4020 | +$wgDebugRawPage = false; |
4020 | 4021 | |
4021 | 4022 | /** |
4022 | 4023 | * Send debug data to an HTML comment in the output. |
— | — | @@ -4025,12 +4026,12 @@ |
4026 | 4027 | * contains private data for the current user. But it's not ideal for development |
4027 | 4028 | * use since data is lost on fatal errors and redirects. |
4028 | 4029 | */ |
4029 | | -$wgDebugComments = false; |
| 4030 | +$wgDebugComments = false; |
4030 | 4031 | |
4031 | 4032 | /** |
4032 | 4033 | * Write SQL queries to the debug log |
4033 | 4034 | */ |
4034 | | -$wgDebugDumpSql = false; |
| 4035 | +$wgDebugDumpSql = false; |
4035 | 4036 | |
4036 | 4037 | /** |
4037 | 4038 | * Set to an array of log group keys to filenames. |
— | — | @@ -4038,14 +4039,14 @@ |
4039 | 4040 | * of the regular $wgDebugLogFile. Useful for enabling selective logging |
4040 | 4041 | * in production. |
4041 | 4042 | */ |
4042 | | -$wgDebugLogGroups = array(); |
| 4043 | +$wgDebugLogGroups = array(); |
4043 | 4044 | |
4044 | 4045 | /** |
4045 | 4046 | * Display debug data at the bottom of the main content area. |
4046 | 4047 | * |
4047 | 4048 | * Useful for developers and technical users trying to working on a closed wiki. |
4048 | 4049 | */ |
4049 | | -$wgShowDebug = false; |
| 4050 | +$wgShowDebug = false; |
4050 | 4051 | |
4051 | 4052 | /** |
4052 | 4053 | * Prefix debug messages with relative timestamp. Very-poor man's profiler. |
— | — | @@ -4061,14 +4062,14 @@ |
4062 | 4063 | /** |
4063 | 4064 | * Show the contents of $wgHooks in Special:Version |
4064 | 4065 | */ |
4065 | | -$wgSpecialVersionShowHooks = false; |
| 4066 | +$wgSpecialVersionShowHooks = false; |
4066 | 4067 | |
4067 | 4068 | /** |
4068 | 4069 | * Whether to show "we're sorry, but there has been a database error" pages. |
4069 | 4070 | * Displaying errors aids in debugging, but may display information useful |
4070 | 4071 | * to an attacker. |
4071 | 4072 | */ |
4072 | | -$wgShowSQLErrors = false; |
| 4073 | +$wgShowSQLErrors = false; |
4073 | 4074 | |
4074 | 4075 | /** |
4075 | 4076 | * If set to true, uncaught exceptions will print a complete stack trace |
— | — | @@ -4321,7 +4322,7 @@ |
4322 | 4323 | * </code> |
4323 | 4324 | */ |
4324 | 4325 | $wgNamespacesToBeSearchedDefault = array( |
4325 | | - NS_MAIN => true, |
| 4326 | + NS_MAIN => true, |
4326 | 4327 | ); |
4327 | 4328 | |
4328 | 4329 | /** |
— | — | @@ -4331,8 +4332,8 @@ |
4332 | 4333 | * Same format as $wgNamespacesToBeSearchedDefault |
4333 | 4334 | */ |
4334 | 4335 | $wgNamespacesToBeSearchedHelp = array( |
4335 | | - NS_PROJECT => true, |
4336 | | - NS_HELP => true, |
| 4336 | + NS_PROJECT => true, |
| 4337 | + NS_HELP => true, |
4337 | 4338 | ); |
4338 | 4339 | |
4339 | 4340 | /** |
— | — | @@ -4420,7 +4421,7 @@ |
4421 | 4422 | * can specify namespaces of pages they have special treatment for |
4422 | 4423 | */ |
4423 | 4424 | $wgPreviewOnOpenNamespaces = array( |
4424 | | - NS_CATEGORY => true |
| 4425 | + NS_CATEGORY => true |
4425 | 4426 | ); |
4426 | 4427 | |
4427 | 4428 | /** |
— | — | @@ -4481,7 +4482,7 @@ |
4482 | 4483 | * still be possible. To prevent database writes completely, use the read_only |
4483 | 4484 | * option in MySQL. |
4484 | 4485 | */ |
4485 | | -$wgReadOnly = null; |
| 4486 | +$wgReadOnly = null; |
4486 | 4487 | |
4487 | 4488 | /** |
4488 | 4489 | * If this lock file exists (size > 0), the wiki will be forced into read-only mode. |
— | — | @@ -4490,7 +4491,7 @@ |
4491 | 4492 | * |
4492 | 4493 | * Will default to "{$wgUploadDirectory}/lock_yBgMBwiR" in Setup.php |
4493 | 4494 | */ |
4494 | | -$wgReadOnlyFile = false; |
| 4495 | +$wgReadOnlyFile = false; |
4495 | 4496 | |
4496 | 4497 | /** |
4497 | 4498 | * When you run the web-based upgrade utility, it will tell you what to set |
— | — | @@ -4531,7 +4532,7 @@ |
4532 | 4533 | * Special:Recentchangeslinked pages. |
4533 | 4534 | */ |
4534 | 4535 | $wgRCLinkLimits = array( 50, 100, 250, 500 ); |
4535 | | -$wgRCLinkDays = array( 1, 3, 7, 14, 30 ); |
| 4536 | +$wgRCLinkDays = array( 1, 3, 7, 14, 30 ); |
4536 | 4537 | |
4537 | 4538 | /** |
4538 | 4539 | * Send recent changes updates via UDP. The updates will be formatted for IRC. |
— | — | @@ -4622,23 +4623,23 @@ |
4623 | 4624 | $wgAdvertisedFeedTypes = array( 'atom' ); |
4624 | 4625 | |
4625 | 4626 | /** Show watching users in recent changes, watchlist and page history views */ |
4626 | | -$wgRCShowWatchingUsers = false; # UPO |
| 4627 | +$wgRCShowWatchingUsers = false; # UPO |
4627 | 4628 | /** Show watching users in Page views */ |
4628 | | -$wgPageShowWatchingUsers = false; |
| 4629 | +$wgPageShowWatchingUsers = false; |
4629 | 4630 | /** Show the amount of changed characters in recent changes */ |
4630 | | -$wgRCShowChangedSize = true; |
| 4631 | +$wgRCShowChangedSize = true; |
4631 | 4632 | |
4632 | 4633 | /** |
4633 | 4634 | * If the difference between the character counts of the text |
4634 | 4635 | * before and after the edit is below that value, the value will be |
4635 | 4636 | * highlighted on the RC page. |
4636 | 4637 | */ |
4637 | | -$wgRCChangedSizeThreshold = 500; |
| 4638 | +$wgRCChangedSizeThreshold = 500; |
4638 | 4639 | |
4639 | 4640 | /** |
4640 | 4641 | * Show "Updated (since my last visit)" marker in RC view, watchlist and history |
4641 | 4642 | * view for watched pages with new changes */ |
4642 | | -$wgShowUpdatedMarker = true; |
| 4643 | +$wgShowUpdatedMarker = true; |
4643 | 4644 | |
4644 | 4645 | /** |
4645 | 4646 | * Disable links to talk pages of anonymous users (IPs) in listings on special |
— | — | @@ -4761,7 +4762,7 @@ |
4762 | 4763 | /** |
4763 | 4764 | * Return distinct author list (when not returning full history) |
4764 | 4765 | */ |
4765 | | -$wgExportAllowListContributors = false ; |
| 4766 | +$wgExportAllowListContributors = false; |
4766 | 4767 | |
4767 | 4768 | /** |
4768 | 4769 | * If non-zero, Special:Export accepts a "pagelink-depth" parameter |
— | — | @@ -4923,7 +4924,7 @@ |
4924 | 4925 | * Expensive Querypages are already updated. |
4925 | 4926 | */ |
4926 | 4927 | $wgSpecialPageCacheUpdates = array( |
4927 | | - 'Statistics' => array('SiteStatsUpdate','cacheUpdate') |
| 4928 | + 'Statistics' => array( 'SiteStatsUpdate', 'cacheUpdate' ) |
4928 | 4929 | ); |
4929 | 4930 | |
4930 | 4931 | /** |
— | — | @@ -4935,7 +4936,6 @@ |
4936 | 4937 | */ |
4937 | 4938 | $wgExceptionHooks = array(); |
4938 | 4939 | |
4939 | | - |
4940 | 4940 | /** |
4941 | 4941 | * Page property link table invalidation lists. When a page property |
4942 | 4942 | * changes, this may require other link tables to be updated (eg |
— | — | @@ -4957,7 +4957,7 @@ |
4958 | 4958 | /** |
4959 | 4959 | * Use experimental, DMOZ-like category browser |
4960 | 4960 | */ |
4961 | | -$wgUseCategoryBrowser = false; |
| 4961 | +$wgUseCategoryBrowser = false; |
4962 | 4962 | |
4963 | 4963 | /** |
4964 | 4964 | * On category pages, show thumbnail gallery for images belonging to that |