CONTENT_MODEL_TEXT => 'TextContentHandler',
);
+/**
+ * Whether to enable server-side image thumbnailing. If false, images will
+ * always be sent to the client in full resolution, with appropriate width= and
+ * height= attributes on the <img> tag for the client to do its own scaling.
+ */
+$wgUseImageResize = true;
+
/**
* Resizing can be done using PHP's internal image libraries or using
* ImageMagick or another third-party converter, e.g. GraphicMagick.
*/
$wgImageMagickConvertCommand = '/usr/bin/convert';
-/**
- * The identify command shipped with ImageMagick
- */
-$wgImageMagickIdentifyCommand = '/usr/bin/identify';
-
/**
* Sharpening parameter to ImageMagick
*/
*/
$wgThumbnailEpoch = '20030516000000';
+/**
+ * Certain operations are avoided if there were too many recent failures,
+ * for example, thumbnail generation. Bump this value to invalidate all
+ * memory of failed operations and thus allow further attempts to resume.
+ * This is useful when a cause for the failures has been found and fixed.
+ */
+$wgAttemptFailureEpoch = 1;
+
/**
* If set, inline scaled images will still produce "<img>" tags ready for
* output instead of showing an error message.
*/
$wgShowArchiveThumbnails = true;
-/**
- * Obsolete, always true, kept for compatibility with extensions
- */
-$wgUseImageResize = true;
-
/**
* If set to true, images that contain certain the exif orientation tag will
* be rotated accordingly. If set to null, try to auto-detect whether a scaler
unset( $serverName ); # Don't leak local variables to global scope
-/**
- * Password reminder name
- *
- * @deprecated since 1.23; use the system message 'emailsender' instead.
- */
-$wgPasswordSenderName = 'MediaWiki Mail';
-
/**
* Dummy address which should be accepted during mail send action.
* It might be necessary to adapt the address or to set it equal
*/
$wgUserEmailConfirmationTokenExpiry = 7 * 24 * 60 * 60;
+/**
+ * The number of days that a user's password is good for. After this number of days, the
+ * user will be asked to reset their password. Set to false to disable password expiration.
+ */
+$wgPasswordExpirationDays = false;
+
+/**
+ * If a user's password is expired, the number of seconds when they can still login,
+ * and cancel their password change, but are sent to the password change form on each login.
+ */
+$wgPasswordExpireGrace = 3600 * 24 * 7; // 7 days
+
/**
* SMTP Mode.
*
/**
* Mediawiki schema
*/
-$wgDBmwschema = 'mediawiki';
+$wgDBmwschema = null;
/**
* To override default SQLite data directory ($docroot/../data)
*/
$wgSlaveLagCritical = 30;
+/**
+ * Use Windows Authentication instead of $wgDBuser / $wgDBpassword for MS SQL Server
+ */
+$wgDBWindowsAuthentication = false;
+
/**@}*/ # End of DB settings }
/************************************************************************//**
* Specify the name of a skin that should not be presented in the list of
* available skins. Use for blacklisting a skin which you do not want to
* remove from the .../skins/ directory
+ *
+ * @deprecated since 1.23; use $wgSkipSkins instead
*/
$wgSkipSkin = '';
'underline' => 2,
'uselivepreview' => 0,
'usenewrc' => 0,
- 'vector-simplesearch' => 1,
'watchcreations' => 1,
'watchdefault' => 1,
'watchdeletion' => 0,
*
* @par Simple example:
* @code
- * $wgMessagesDirs['ConfirmEdit'] = __DIR__ . '/i18n';
+ * $wgMessagesDirs['Example'] = __DIR__ . '/i18n';
* @endcode
*
* @par Complex example:
* @code
- * $wgMessagesDirs['VisualEditor'] = array(
+ * $wgMessagesDirs['Example'] = array(
+ * __DIR__ . '/lib/ve/i18n',
+ * __DIR__ . '/lib/oojs-ui/i18n',
* __DIR__ . '/i18n',
- * __DIR__ . '/modules/ve-core/i18n',
- * __DIR__ . '/modules/qunit/localisation',
- * __DIR__ . '/modules/oojs-ui/messages',
* )
* @endcode
* @since 1.23
*/
-$wgMessagesDirs = array();
+$wgMessagesDirs = array(
+ "$IP/resources/oojs-ui/i18n",
+);
/**
* Array of files with list(s) of extension entry points to be used in
'watch' => true,
);
-/**
- * Array of disabled article actions, e.g. view, edit, delete, etc.
- * @deprecated since 1.18; just set $wgActions['action'] = false instead
- */
-$wgDisabledActions = array();
-
/** @} */ # end actions }
/*************************************************************************//**