/**@}*/
/**
- * Directory for caching data in the local filesystem. Should not be accessible
+ * Directory for caching data in the local filesystem. Should not be accessible
* from the web. Set this to false to not use any local caches.
*
- * Note: if multiple wikis share the same localisation cache directory, they
+ * Note: if multiple wikis share the same localisation cache directory, they
* must all have the same set of extensions. You can set a directory just for
* the localisation cache using $wgLocalisationCacheConf['storeDirectory'].
*/
$wgSharedUploadDBprefix = '';
/** Cache shared metadata in memcached. Don't do this if the commons wiki is in a different memcached domain */
$wgCacheSharedUploads = true;
-/** Allow for upload to be copied from an URL. Requires Special:Upload?source=web */
+/**
+* Allow for upload to be copied from an URL. Requires Special:Upload?source=web
+* timeout for Copy Uploads is set by wgAsyncHTTPTimeout & wgSyncHTTPTimeout
+*/
$wgAllowCopyUploads = false;
-$wgCopyUploadTimeout = 30; // 30 seconds default timeout for upload-by-URL
/**
* Max size for uploads, in bytes. Currently only works for uploads from URL
*/
$wgMaxUploadSize = 1024*1024*100; # 100MB
+
+/**
+* Enable firefogg support
+* add support for in-browser transcoding to ogg theora
+* add support for chunk uploads for large image files
+* add support for client side hash checks
+*
+* (requires the js2 code for the interface)
+*/
+$wgEnableFirefogg = true;
+
+
+/**
+ * enable oggz_chop support
+ * if enabled the mv_embed player will use temporal urls
+ * for helping with seeking with some plugin types
+ */
+$wgEnableTemporalOggUrls = false;
+
/**
* Point the upload navigation link to an external URL
* Useful if you want to use a shared repository by default
/**@}*/
/**
- * Set this to true to make a local copy of the message cache, for use in
- * addition to memcached. The files will be put in $wgCacheDirectory.
+ * Set this to true to make a local copy of the message cache, for use in
+ * addition to memcached. The files will be put in $wgCacheDirectory.
*/
$wgUseLocalMessageCache = false;
* Localisation cache configuration. Associative array with keys:
* class: The class to use. May be overridden by extensions.
*
- * store: The location to store cache data. May be 'files', 'db' or
- * 'detect'. If set to "files", data will be in CDB files. If set
- * to "db", data will be stored to the database. If set to
- * "detect", files will be used if $wgCacheDirectory is set,
+ * store: The location to store cache data. May be 'files', 'db' or
+ * 'detect'. If set to "files", data will be in CDB files. If set
+ * to "db", data will be stored to the database. If set to
+ * "detect", files will be used if $wgCacheDirectory is set,
* otherwise the database will be used.
*
- * storeClass: The class name for the underlying storage. If set to a class
+ * storeClass: The class name for the underlying storage. If set to a class
* name, it overrides the "store" setting.
*
- * storeDirectory: If the store class puts its data in files, this is the
+ * storeDirectory: If the store class puts its data in files, this is the
* directory it will use. If this is false, $wgCacheDirectory
* will be used.
*
- * manualRecache: Set this to true to disable cache updates on web requests.
+ * manualRecache: Set this to true to disable cache updates on web requests.
* Use maintenance/rebuildLocalisationCache.php instead.
*/
$wgLocalisationCacheConf = array(
'manualRecache' => false,
);
-
# Language settings
#
/** Site language code, should be one of ./languages/Language(.*).php */
$wgDTD = 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd';
$wgXhtmlDefaultNamespace = 'http://www.w3.org/1999/xhtml';
-/**
- * Temporary setting to disable HTML 5 for the unlikely event that it causes
- * everything to blow up. If all goes well, should be removed (and forced
- * true) well before it ever makes it into a release. If set to false, go back
- * to serving an XHTML 1.0 Transitional doctype (per $wgDocType et al. above).
- */
-$wgHtml5 = true;
+ /**
+ * Should we output an HTML 5 doctype? This mode is still experimental, but
+ * all indications are that it should be usable, so it's enabled by default.
+ * If all goes well, it will be removed and become always true before the 1.16
+ * release.
+ */
+ $wgHtml5 = true;
+
/**
* Permit other namespaces in addition to the w3.org default.
*/
$wgMaxMsgCacheEntrySize = 10000;
+/**
+ * If true, serialized versions of the messages arrays will be
+ * read from the 'serialized' subdirectory if they are present.
+ * Set to false to always use the Messages files, regardless of
+ * whether they are up to date or not.
+ */
+$wgEnableSerializedMessages = true;
+
+/**
+ * Set to false if you are thorough system admin who always remembers to keep
+ * serialized files up to date to save few mtime calls.
+ */
+$wgCheckSerialized = true;
+
/** Whether to enable language variant conversion. */
$wgDisableLangConversion = false;
* to ensure that client-side caches do not keep obsolete copies of global
* styles.
*/
-$wgStyleVersion = '229';
+$wgStyleVersion = '232';
# Server-side caching:
* pages like page history, Special:Recentchanges, etc.
*/
$wgDisableAnonTalk = false;
-
/**
* Do DELETE/INSERT for link updates instead of incremental
*/
*/
$wgDiff = '/usr/bin/diff';
+/**
+ * Path to php-cli for spining up background php proccesses
+ */
+$wgPhpCliPath = '/usr/bin/php';
+
/**
* We can also compress text stored in the 'text' table. If this is set on, new
* revisions will be compressed on page save if zlib support is available. Any
NS_HELP => true,
);
+
$wgUseOldSearchUI = true; // temp testing variable
/**
/**
* Site notice shown at the top of each page
*
- * This message can contain wiki text, and can also be set through the
- * MediaWiki:Sitenotice page, which will override this. You can also
- * provide a separate message for logged-out users using the
+ * MediaWiki:Sitenotice page, which will override this. You can also
+ * provide a separate message for logged-out users using the
* MediaWiki:Anonnotice page.
*/
$wgSiteNotice = '';
* // JPEG is good for photos, but has no transparency support. Bad for diagrams.
* $wgTiffThumbnailType = array( 'jpg', 'image/jpeg' );
*/
-$wgTiffThumbnailType = false;
+ $wgTiffThumbnailType = false;
+
/**
* If rendered thumbnail files are older than this timestamp, they
* will be rerendered on demand as if the file didn't already exist.
*/
$wgGenerateThumbnailOnParse = true;
-/** Whether or not to use image resizing */
+/**
+* Show thumbnails for old images on the image description page
+*/
+$wgShowArchiveThumbnails = true;
+
+/** Obsolete, always true, kept for compatibility with extensions */
$wgUseImageResize = true;
+
/** Set $wgCommandLineMode if it's not set already, to avoid notices */
if( !isset( $wgCommandLineMode ) ) {
$wgCommandLineMode = false;
$wgExportMaxHistory = 0;
/**
- * Return distinct author list (when not returning full history)
- */
+* Return distinct author list (when not returning full history)
+*/
$wgExportAllowListContributors = false ;
/**
$wgExportMaxLinkDepth = 0;
/**
- * Whether to allow the "export all pages in namespace" option
- */
+* Whether to allow the "export all pages in namespace" option
+*/
$wgExportFromNamespaces = false;
/**
/**
* Extension messages files.
*
- * Associative array mapping extension name to the filename where messages can be
- * found. The file should contain variable assignments. Any of the variables
+ * Associative array mapping extension name to the filename where messages can be
+ * found. The file should contain variable assignments. Any of the variables
* present in languages/messages/MessagesEn.php may be defined, but $messages
* is the most common.
*
- * Variables defined in extensions will override conflicting variables defined
+ * Variables defined in extensions will override conflicting variables defined
* in the core.
*
* Example:
*/
$wgAutoloadClasses = array();
+
+/*
+ * Array mapping javascript class to web path for autoloading js
+ * this var is populated in AutoLoader.php
+ */
+$wgJSAutoloadClasses = array();
+
+/*
+ * boolean; if the script loader should be used to group all javascript requests.
+ * more about the script loader: http://www.mediawiki.org/wiki/ScriptLoader
+ *
+ * (its recommended you DO NOT enable the script loader without also enabling $wgUseFileCache
+ * (or have mediaWiki behind a proxy) otherwise all new js requests will result in script server js processing.
+ */
+$wgEnableScriptLoader = false;
+
+/*
+ * enable js2 Script System
+ * if enabled we include jquery, mv_embed and js2 versions of editPage.js
+ */
+$wgEnableJS2system = false;
+
+/*
+ * boolean; if relative file paths can be used (in addition to the autoload js classes listed in: $wgJSAutoloadClasses
+ */
+$wgEnableScriptLoaderJsFile = false;
+
+/*
+ * boolean; if we should minify the output. (note if you send ?debug=true in the page request it will automatically not group and not minify)
+ */
+$wgEnableScriptMinify = true;
+
+/*
+ * boolean; if we should enable javascript localization (it loads loadGM json call with mediaWiki msgs)
+ */
+$wgEnableScriptLocalization = true;
+
+/*
+ * path for mwEmbed normally js2/mwEmbed/
+ */
+$wgMwEmbedDirectory = "js2/mwEmbed/";
+
+/*
+ * wgDebugJavaScript used to turn on debuging for the javascript script-loader
+ * & forces fresh copies of javascript
+ */
+
+$wgDebugJavaScript = false;
+
+
/**
* An array of extension types and inside that their names, versions, authors,
* urls, descriptions and pointers to localized description msgs. Note that
*
* <code>
* $wgExtensionCredits[$type][] = array(
- * 'name' => 'Example extension',
- * 'version' => 1.9,
+ * 'name' => 'Example extension',
+ * 'version' => 1.9,
* 'path' => __FILE__,
- * 'author' => 'Foo Barstein',
- * 'url' => 'http://wwww.example.com/Example%20Extension/',
- * 'description' => 'An example extension',
+ * 'svn-revision' => '$LastChangedRevision$',
+ * 'author' => 'Foo Barstein',
+ * 'url' => 'http://wwww.example.com/Example%20Extension/',
+ * 'description' => 'An example extension',
* 'descriptionmsg' => 'exampleextension-desc',
* );
* </code>
$wgAllowSpecialInclusion = true;
/**
- * Timeout for HTTP requests done via CURL
+ * Timeout for HTTP requests done at script execution time
+ * default is (default php.ini script time 30s - 5s for everythign else)
*/
-$wgHTTPTimeout = 3;
+$wgSyncHTTPTimeout = 25;
+/**
+* Timeout for asynchronous http request that run in a backgournd php proccess
+* default set to 20 min
+*/
+$wgAsyncHTTPTimeout = 60*20;
/**
- * Servers placed behind an internal firewall may need an HTTP proxy
- * to reach external resources such as remote image repositories and
- * spam blacklist updates.
- *
- * If set, this HTTP proxy setting will be used for CURL requests.
- * Currently this setting has no effect if CURL is unavailable.
- *
- * Include the IP or hostname and port number of the proxy,
- * something like "proxy-address.example.com:8080"
+ * Proxy to use for CURL requests.
*/
$wgHTTPProxy = false;
*/
$wgAjaxUploadDestCheck = true;
+/**
+ * Enable AJAX upload interface (need for large http uploads & to display progress on uploads for browsers that support it)
+ */
+$wgAjaxUploadInterface = true;
+
/**
* Enable previewing licences via AJAX
*/
*/
$wgPhpCli = 'php';
+/**
+ * the full path to shell out to php scripts:
+ */
+$wgPhpCliPath = '/usr/bin/php';
+
/**
* DJVU settings
* Path of the djvudump executable
*/
$wgLinkHolderBatchSize = 1000;
+/**
+ * By default MediaWiki does not register links pointing to same server in externallinks dataset,
+ * use this value to override:
+ */
+$wgRegisterInternalExternals = false;
+
/**
* Hooks that are used for outputting exceptions. Format is:
* $wgExceptionHooks[] = $funcname
*/
$wgUseTwoButtonsSearchForm = true;
+/**
+ * Search form behavior for Vector skin only
+ * true = use an icon search button
+ * false = use Go & Search buttons
+ */
+$wgVectorUseSimpleSearch = false;
+
/**
* Preprocessor caching threshold
*/
$wgUserrightsInterwikiDelimiter = '@';
/**
- * Configuration for processing pool control, for use in high-traffic wikis.
+ * Configuration for processing pool control, for use in high-traffic wikis.
* An implementation is provided in the PoolCounter extension.
- *
+ *
* This configuration array maps pool types to an associative array. The only
* defined key in the associative array is "class", which gives the class name.
- * The remaining elements are passed through to the class as constructor
+ * The remaining elements are passed through to the class as constructor
* parameters. Example:
*
- * $wgPoolCounterConf = array( 'Article::view' => array(
+ * $wgPoolCounterConf = array( 'Article::view' => array(
* 'class' => 'PoolCounter_Client',
* ... any extension-specific options...
* );
*/
$wgPoolCounterConf = null;
-