r33497 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r33496‎ | r33497 | r33498 >
Date:17:46, 17 April 2008
Author:minuteelectron
Status:old
Tags:
Comment:
Normalising comment spacing.
Modified paths:
  • /trunk/phase3/includes/DefaultSettings.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/DefaultSettings.php
@@ -338,24 +338,24 @@
339339
340340 /** Determines if a failed virus scan (AV_SCAN_FAILED) will cause the file to be rejected.
341341 * @global boolean $wgAntivirusRequired
342 -*/
 342+ */
343343 $wgAntivirusRequired= true;
344344
345345 /** Determines if the mime type of uploaded files should be checked
346346 * @global boolean $wgVerifyMimeType
347 -*/
 347+ */
348348 $wgVerifyMimeType= true;
349349
350350 /** Sets the mime type definition file to use by MimeMagic.php.
351 -* @global string $wgMimeTypeFile
352 -*/
 351+ * @global string $wgMimeTypeFile
 352+ */
353353 $wgMimeTypeFile= "includes/mime.types";
354354 #$wgMimeTypeFile= "/etc/mime.types";
355355 #$wgMimeTypeFile= NULL; #use built-in defaults only.
356356
357357 /** Sets the mime type info file to use by MimeMagic.php.
358 -* @global string $wgMimeInfoFile
359 -*/
 358+ * @global string $wgMimeInfoFile
 359+ */
360360 $wgMimeInfoFile= "includes/mime.info";
361361 #$wgMimeInfoFile= NULL; #use built-in defaults only.
362362
@@ -363,21 +363,21 @@
364364 * This should be used only if fileinfo is installed as a shared object
365365 * or a dynamic libary
366366 * @global string $wgLoadFileinfoExtension
367 -*/
 367+ */
368368 $wgLoadFileinfoExtension= false;
369369
370370 /** Sets an external mime detector program. The command must print only
371371 * the mime type to standard output.
372372 * The name of the file to process will be appended to the command given here.
373373 * If not set or NULL, mime_content_type will be used if available.
374 -*/
 374+ */
375375 $wgMimeDetectorCommand= NULL; # use internal mime_content_type function, available since php 4.3.0
376376 #$wgMimeDetectorCommand= "file -bi"; #use external mime detector (Linux)
377377
378378 /** Switch for trivial mime detection. Used by thumb.php to disable all fance
379379 * things, because only a few types of images are needed and file extensions
380380 * can be trusted.
381 -*/
 381+ */
382382 $wgTrivialMimeDetection= false;
383383
384384 /**
@@ -430,7 +430,7 @@
431431 * Useful if you want to use a shared repository by default
432432 * without disabling local uploads (use $wgEnableUploads = false for that)
433433 * e.g. $wgUploadNavigationUrl = 'http://commons.wikimedia.org/wiki/Special:Upload';
434 -*/
 434+ */
435435 $wgUploadNavigationUrl = false;
436436
437437 /**
@@ -856,13 +856,14 @@
857857 $wgZhdaemonHost="localhost";
858858 $wgZhdaemonPort=2004;
859859
860 -/** Normally you can ignore this and it will be something
861 - like $wgMetaNamespace . "_talk". In some languages, you
862 - may want to set this manually for grammatical reasons.
863 - It is currently only respected by those languages
864 - where it might be relevant and where no automatic
865 - grammar converter exists.
866 -*/
 860+/**
 861+ * Normally you can ignore this and it will be something
 862+ * like $wgMetaNamespace . "_talk". In some languages, you
 863+ * may want to set this manually for grammatical reasons.
 864+ * It is currently only respected by those languages
 865+ * where it might be relevant and where no automatic
 866+ * grammar converter exists.
 867+ */
867868 $wgMetaNamespaceTalk = false;
868869
869870 # Miscellaneous configuration settings
@@ -886,7 +887,7 @@
887888 2 - wiki and global levels
888889 3 - site levels
889890 $wgInterwikiFallbackSite - if unable to resolve from cache
890 -*/
 891+ */
891892 $wgInterwikiCache = false;
892893 $wgInterwikiScopes = 3;
893894 $wgInterwikiFallbackSite = 'wiki';
@@ -1027,7 +1028,7 @@
10281029 *
10291030 * Retroactively changing this variable will not affect
10301031 * the existing count (cf. maintenance/recount.sql).
1031 -*/
 1032+ */
10321033 $wgUseCommaCount = false;
10331034
10341035 /**#@-*/
@@ -1038,7 +1039,7 @@
10391040 * updated on every hit, any higher value n cause them to update *on average*
10401041 * every n hits. Should be set to either 1 or something largish, eg 1000, for
10411042 * maximum efficiency.
1042 -*/
 1043+ */
10431044 $wgHitcounterUpdateFreq = 1;
10441045
10451046 # Basic user rights and block settings
@@ -1214,11 +1215,11 @@
12151216 $wgNamespaceProtection[ NS_MEDIAWIKI ] = array( 'editinterface' );
12161217
12171218 /**
1218 -* Pages in namespaces in this array can not be used as templates.
1219 -* Elements must be numeric namespace ids.
1220 -* Among other things, this may be useful to enforce read-restrictions
1221 -* which may otherwise be bypassed by using the template machanism.
1222 -*/
 1219+ * Pages in namespaces in this array can not be used as templates.
 1220+ * Elements must be numeric namespace ids.
 1221+ * Among other things, this may be useful to enforce read-restrictions
 1222+ * which may otherwise be bypassed by using the template machanism.
 1223+ */
12231224 $wgNonincludableNamespaces = array();
12241225
12251226 /**
@@ -2725,15 +2726,15 @@
27262727 $wgRevisionCacheExpiry = 0;
27272728
27282729 /**
2729 -* list of trusted media-types and mime types.
2730 -* Use the MEDIATYPE_xxx constants to represent media types.
2731 -* This list is used by Image::isSafeFile
2732 -*
2733 -* Types not listed here will have a warning about unsafe content
2734 -* displayed on the images description page. It would also be possible
2735 -* to use this for further restrictions, like disabling direct
2736 -* [[media:...]] links for non-trusted formats.
2737 -*/
 2730+ * list of trusted media-types and mime types.
 2731+ * Use the MEDIATYPE_xxx constants to represent media types.
 2732+ * This list is used by Image::isSafeFile
 2733+ *
 2734+ * Types not listed here will have a warning about unsafe content
 2735+ * displayed on the images description page. It would also be possible
 2736+ * to use this for further restrictions, like disabling direct
 2737+ * [[media:...]] links for non-trusted formats.
 2738+ */
27382739 $wgTrustedMediaFormats= array(
27392740 MEDIATYPE_BITMAP, //all bitmap formats
27402741 MEDIATYPE_AUDIO, //all audio formats
@@ -3033,7 +3034,7 @@
30343035 $wgMaxRedirectLinksRetrieved = 500;
30353036
30363037 /**
3037 -* Maximum number of calls to expensive parser functions
3038 -* such as PAGESINCATEGORY.
3039 -*/
 3038+ * Maximum number of calls to expensive parser functions
 3039+ * such as PAGESINCATEGORY.
 3040+ */
30403041 $wgExpensiveParserFunctionLimit = 100;

Status & tagging log