r100608 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100607‎ | r100608 | r100609 >
Date:16:10, 24 October 2011
Author:siebrand
Status:ok
Tags:
Comment:
Update formatting. Update "<space><tab>" and "<tab><space>" where needed.
Modified paths:
  • /trunk/phase3/includes/DefaultSettings.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/DefaultSettings.php
@@ -78,7 +78,7 @@
7979 * Other paths will be set to defaults based on it unless they are directly
8080 * set in LocalSettings.php
8181 */
82 -$wgScriptPath = '/wiki';
 82+$wgScriptPath = '/wiki';
8383
8484 /**
8585 * Whether to support URLs like index.php/Page_title These often break when PHP
@@ -302,7 +302,7 @@
303303 * - class The class name for the repository. May come from the core or an extension.
304304 * The core repository classes are LocalRepo, ForeignDBRepo, FSRepo.
305305 *
306 - * - name A unique name for the repository (but $wgLocalFileRepo should be 'local').
 306+ * - name A unique name for the repository (but $wgLocalFileRepo should be 'local').
307307 *
308308 * For most core repos:
309309 * - url Base public URL
@@ -431,10 +431,10 @@
432432 * for non-specified types.
433433 *
434434 * For example:
435 - * $wgMaxUploadSize = array(
436 - * '*' => 250 * 1024,
437 - * 'url' => 500 * 1024,
438 - * );
 435+ * $wgMaxUploadSize = array(
 436+ * '*' => 250 * 1024,
 437+ * 'url' => 500 * 1024,
 438+ * );
439439 * Sets the maximum for all uploads to 250 kB except for upload-by-url, which
440440 * will have a maximum of 500 kB.
441441 *
@@ -877,11 +877,11 @@
878878 * array = ( 'rootElement' => 'associatedMimeType' )
879879 */
880880 $wgXMLMimeTypes = array(
881 - 'http://www.w3.org/2000/svg:svg' => 'image/svg+xml',
882 - 'svg' => 'image/svg+xml',
883 - 'http://www.lysator.liu.se/~alla/dia/:diagram' => 'application/x-dia-diagram',
884 - 'http://www.w3.org/1999/xhtml:html' => 'text/html', // application/xhtml+xml?
885 - 'html' => 'text/html', // application/xhtml+xml?
 881+ 'http://www.w3.org/2000/svg:svg' => 'image/svg+xml',
 882+ 'svg' => 'image/svg+xml',
 883+ 'http://www.lysator.liu.se/~alla/dia/:diagram' => 'application/x-dia-diagram',
 884+ 'http://www.w3.org/1999/xhtml:html' => 'text/html', // application/xhtml+xml?
 885+ 'html' => 'text/html', // application/xhtml+xml?
886886 );
887887
888888 /**
@@ -1172,7 +1172,7 @@
11731173 $wgDBtype = 'mysql';
11741174
11751175 /** Separate username for maintenance tasks. Leave as null to use the default. */
1176 -$wgDBadminuser = null;
 1176+$wgDBadminuser = null;
11771177 /** Separate password for maintenance tasks. Leave as null to use the default. */
11781178 $wgDBadminpassword = null;
11791179
@@ -1182,7 +1182,7 @@
11831183 * selected database type (eg SearchMySQL), or set to a class
11841184 * name to override to a custom search engine.
11851185 */
1186 -$wgSearchType = null;
 1186+$wgSearchType = null;
11871187
11881188 /** Table name prefix */
11891189 $wgDBprefix = '';
@@ -2645,12 +2645,12 @@
26462646 * Custom namespaces should start at 100 to avoid conflicting with standard
26472647 * namespaces, and should always follow the even/odd main/talk pattern.
26482648 */
2649 -#$wgExtraNamespaces =
2650 -# array(100 => "Hilfe",
2651 -# 101 => "Hilfe_Diskussion",
2652 -# 102 => "Aide",
2653 -# 103 => "Discussion_Aide"
2654 -# );
 2649+# $wgExtraNamespaces = array(
 2650+# 100 => "Hilfe",
 2651+# 101 => "Hilfe_Diskussion",
 2652+# 102 => "Aide",
 2653+# 103 => "Discussion_Aide"
 2654+# );
26552655 $wgExtraNamespaces = array();
26562656
26572657 /**
@@ -4551,9 +4551,9 @@
45524552 $wgAdvertisedFeedTypes = array( 'atom' );
45534553
45544554 /** Show watching users in recent changes, watchlist and page history views */
4555 -$wgRCShowWatchingUsers = false; # UPO
 4555+$wgRCShowWatchingUsers = false; # UPO
45564556 /** Show watching users in Page views */
4557 -$wgPageShowWatchingUsers = false;
 4557+$wgPageShowWatchingUsers = false;
45584558 /** Show the amount of changed characters in recent changes */
45594559 $wgRCShowChangedSize = true;
45604560
@@ -4567,7 +4567,7 @@
45684568 /**
45694569 * Show "Updated (since my last visit)" marker in RC view, watchlist and history
45704570 * view for watched pages with new changes */
4571 -$wgShowUpdatedMarker = true;
 4571+$wgShowUpdatedMarker = true;
45724572
45734573 /**
45744574 * Disable links to talk pages of anonymous users (IPs) in listings on special
@@ -4788,13 +4788,13 @@
47894789 *
47904790 * <code>
47914791 * $wgExtensionCredits[$type][] = array(
4792 - * 'name' => 'Example extension',
4793 - * 'version' => 1.9,
4794 - * 'path' => __FILE__,
4795 - * 'author' => 'Foo Barstein',
4796 - * 'url' => 'http://wwww.example.com/Example%20Extension/',
4797 - * 'description' => 'An example extension',
4798 - * 'descriptionmsg' => 'exampleextension-desc',
 4792+ * 'name' => 'Example extension',
 4793+ * 'version' => 1.9,
 4794+ * 'path' => __FILE__,
 4795+ * 'author' => 'Foo Barstein',
 4796+ * 'url' => 'http://wwww.example.com/Example%20Extension/',
 4797+ * 'description' => 'An example extension',
 4798+ * 'descriptionmsg' => 'exampleextension-desc',
47994799 * );
48004800 * </code>
48014801 *

Status & tagging log