'mailto:',
'news:',
'svn://',
+ 'git://',
+ 'mms://',
);
/** internal name of virus scanner. This servers as a key to the $wgAntivirusSetup array.
$wgAllowCopyUploads = false;
/**
- * Max size for uploads, in bytes. Currently only works for uploads from URL
- * via CURL (see $wgAllowCopyUploads). The only way to impose limits on
- * normal uploads is currently to edit php.ini.
+ * Max size for uploads, in bytes. Applies to all uploads.
*/
$wgMaxUploadSize = 1024*1024*100; # 100MB
/**@}*/
-
-/** Live high performance sites should disable this - some checks acquire giant mysql locks */
-$wgCheckDBSchema = true;
-
-
/**
* Shared database for multiple wikis. Commonly used for storing a user table
* for single sign-on. The server for this database must be the same as for the
$wgMaxSigChars = 255; # Maximum number of Unicode characters in signature
$wgMaxArticleSize = 2048; # Maximum article size in kilobytes
# Maximum number of bytes in username. You want to run the maintenance
-# script ./maintenancecheckUsernames.php once you have changed this value
+# script ./maintenance/checkUsernames.php once you have changed this value
$wgMaxNameChars = 255;
$wgMaxPPNodeCount = 1000000; # A complexity limit on template expansion
$wgGroupPermissions['sysop']['noratelimit'] = true;
$wgGroupPermissions['sysop']['versiondetail'] = true;
$wgGroupPermissions['sysop']['movefile'] = true;
+$wgGroupPermissions['sysop']['unblockself'] = true;
#$wgGroupPermissions['sysop']['mergehistory'] = true;
// Permission to change users' group assignments
* to ensure that client-side caches do not keep obsolete copies of global
* styles.
*/
-$wgStyleVersion = '268';
+$wgStyleVersion = '274';
# Server-side caching:
*/
$wgEnableImageWhitelist = true;
+/**
+ * A different approach to the above: simply allow the <img> tag to be used.
+ * This allows you to specify alt text and other attributes, copy-paste HTML to
+ * your wiki more easily, etc. However, allowing external images in any manner
+ * will allow anyone with editing rights to snoop on your visitors' IP
+ * addresses and so forth, if they wanted to, by inserting links to images on
+ * sites they control.
+ */
+$wgAllowImageTag = false;
+
/** Allows to move images and other media files */
$wgAllowImageMoving = true;
'sendMail' => 'EmaillingJob',
'enotifNotify' => 'EnotifNotifyJob',
'fixDoubleRedirect' => 'DoubleRedirectJob',
+ 'uploadFromUrl' => 'UploadFromUrlJob',
);
/**
$wgMaxImageArea = 1.25e7;
/**
* Force thumbnailing of animated GIFs above this size to a single
- * frame instead of an animated thumbnail. ImageMagick seems to
- * get real unhappy and doesn't play well with resource limits. :P
- * Defaulting to 1 megapixel (1000x1000)
+ * frame instead of an animated thumbnail. As of MW 1.17 this limit
+ * is checked against the total size of all frames in the animation.
+ * It probably makes sense to keep this equal to $wgMaxImageArea.
*/
-$wgMaxAnimatedGifArea = 1.0e6;
+$wgMaxAnimatedGifArea = 1.25e7;
/**
* Browsers don't support TIFF inline generally...
* For inline display, we need to convert to PNG or JPEG.
*
*/
$wgDefaultUserOptions = array(
- 'quickbar' => 1,
- 'underline' => 2,
+ 'ccmeonemails' => 0,
'cols' => 80,
- 'rows' => 25,
- 'searchlimit' => 20,
- 'contextlines' => 5,
'contextchars' => 50,
+ 'contextlines' => 5,
+ 'date' => 'default',
+ 'diffonly' => 0,
+ 'disablemail' => 0,
'disablesuggest' => 0,
- 'skin' => false,
- 'math' => 1,
- 'usenewrc' => 0,
- 'rcdays' => 7,
- 'rclimit' => 50,
- 'wllimit' => 250,
- 'hideminor' => 0,
- 'hidepatrolled' => 0,
- 'newpageshidepatrolled' => 0,
- 'highlightbroken' => 1,
- 'stubthreshold' => 0,
- 'previewontop' => 1,
- 'previewonfirst' => 0,
+ 'editfont' => 'default',
+ 'editondblclick' => 0,
'editsection' => 1,
'editsectiononrightclick' => 0,
- 'editondblclick' => 0,
- 'editwidth' => 0,
- 'showtoc' => 1,
- 'showtoolbar' => 1,
- 'minordefault' => 0,
- 'date' => 'default',
- 'imagesize' => 2,
- 'thumbsize' => 2,
- 'rememberpassword' => 0,
- 'nocache' => 0,
- 'diffonly' => 0,
- 'showhiddencats' => 0,
- 'norollbackdiff' => 0,
- 'enotifwatchlistpages' => 0,
- 'enotifusertalkpages' => 1,
'enotifminoredits' => 0,
'enotifrevealaddr' => 0,
- 'shownumberswatching' => 1,
- 'fancysig' => 0,
- 'externaleditor' => 0,
+ 'enotifusertalkpages' => 1,
+ 'enotifwatchlistpages' => 0,
+ 'extendwatchlist' => 0,
'externaldiff' => 0,
+ 'externaleditor' => 0,
+ 'fancysig' => 0,
'forceeditsummary' => 0,
- 'showjumplinks' => 1,
+ 'gender' => 'unknown',
+ 'hideminor' => 0,
+ 'hidepatrolled' => 0,
+ 'highlightbroken' => 1,
+ 'imagesize' => 2,
'justify' => 0,
+ 'math' => 1,
+ 'minordefault' => 0,
+ 'newpageshidepatrolled' => 0,
+ 'nocache' => 0,
+ 'noconvertlink' => 0,
+ 'norollbackdiff' => 0,
'numberheadings' => 0,
+ 'previewonfirst' => 0,
+ 'previewontop' => 1,
+ 'quickbar' => 1,
+ 'rcdays' => 7,
+ 'rclimit' => 50,
+ 'rememberpassword' => 0,
+ 'rows' => 25,
+ 'searchlimit' => 20,
+ 'showhiddencats' => 0,
+ 'showjumplinks' => 1,
+ 'shownumberswatching' => 1,
+ 'showtoc' => 1,
+ 'showtoolbar' => 1,
+ 'skin' => false,
+ 'stubthreshold' => 0,
+ 'thumbsize' => 2,
+ 'underline' => 2,
'uselivepreview' => 0,
+ 'usenewrc' => 0,
+ 'watchcreations' => 0,
+ 'watchdefault' => 0,
+ 'watchdeletion' => 0,
'watchlistdays' => 3.0,
- 'extendwatchlist' => 0,
- 'watchlisthideminor' => 0,
- 'watchlisthidebots' => 0,
- 'watchlisthideown' => 0,
'watchlisthideanons' => 0,
+ 'watchlisthidebots' => 0,
'watchlisthideliu' => 0,
+ 'watchlisthideminor' => 0,
+ 'watchlisthideown' => 0,
'watchlisthidepatrolled' => 0,
- 'watchcreations' => 0,
- 'watchdefault' => 0,
'watchmoves' => 0,
- 'watchdeletion' => 0,
- 'noconvertlink' => 0,
- 'gender' => 'unknown',
- 'ccmeonemails' => 0,
- 'disablemail' => 0,
- 'editfont' => 'default',
+ 'wllimit' => 250,
);
/**
*/
$wgAllowUserCss = false;
+/**
+ * Allow user-preferences implemented in CSS?
+ * This allows users to customise the site appearance to a greater
+ * degree; disabling it will improve page load times.
+ */
+$wgAllowUserCssPrefs = true;
+
/** Use the site's Javascript page? */
$wgUseSiteJs = true;
*/
$wgNewUserLog = true;
+/**
+ * Log the automatic creations of new users accounts?
+ */
+$wgLogAutocreatedAccounts = false;
+
/**
* List of special pages, followed by what subtitle they should go under
* at Special:SpecialPages