mb_internal_encoding( 'UTF-8' );
+// Set the configured locale on all requests for consisteny
+putenv( "LC_ALL=$wgShellLocale" );
+setlocale( LC_ALL, $wgShellLocale );
+
// Set various default paths sensibly...
$ps_default = Profiler::instance()->scopedProfileIn( $fname . '-defaults' );
'class' => 'NullLockManager',
];
+/**
+ * Default parameters for the "<gallery>" tag.
+ * @see DefaultSettings.php for description of the fields.
+ */
+$wgGalleryOptions += [
+ 'imagesPerRow' => 0,
+ 'imageWidth' => 120,
+ 'imageHeight' => 120,
+ 'captionLength' => true,
+ 'showBytes' => true,
+ 'showDimensions' => true,
+ 'mode' => 'traditional',
+];
+
/**
* Initialise $wgLocalFileRepo from backwards-compatible settings
*/