$wgForeignFileRepos = array();
/**@}*/
+/**
+ * Use Commons as a remote file repository. Essentially a wrapper, when this
+ * is enabled $wgForeignFileRepos will point at Commons with a set of default
+ * settings
+ */
+$wgUseInstantCommons = false;
+
/**
* Allowed title characters -- regex character class
* Don't change this unless you know what you're doing
$wgCacheSharedUploads = true;
/**
* Allow for upload to be copied from an URL. Requires Special:Upload?source=web
-* timeout for Copy Uploads is set by wgAsyncHTTPTimeout & wgSyncHTTPTimeout
+* The timeout for copy uploads is set by $wgHTTPTimeout.
*/
$wgAllowCopyUploads = false;
*/
$wgMaxUploadSize = 1024*1024*100; # 100MB
-
-/**
- * Enable Firefogg support. Adds support for in-browser transcoding to Ogg
- * Theora, chunked uploads for large image files and client side hash checks.
- *
- * Ignored unless $wgEnableJS2system is true.
- */
-$wgEnableFirefogg = true;
-
/**
* Point the upload navigation link to an external URL
* Useful if you want to use a shared repository by default
*/
$wgLBFactoryConf = array( 'class' => 'LBFactory_Simple' );
+/**
+ * Unique identifier if you're paranoid and don't want $wgDBname as part of
+ * wfWikiId(). See bug 21086
+ */
+$wgWikiId = false;
+
/** How long to wait for a slave to catch up to the master */
$wgMasterWaitTimeout = 10;
$wgParserCacheExpireTime = 86400;
+// Select which DBA handler <http://www.php.net/manual/en/dba.requirements.php> to use as CACHE_DBA backend
+$wgDBAhandler = 'db3';
+
$wgSessionsInMemcached = false;
/** This is used for setting php's session.save_handler. In practice, you will
*/
$wgHtml5 = true;
+/**
+ * Defines the value of the version attribute in the <html> tag, if any.
+ * Will be initialized later if not set explicitly.
+ */
+$wgHtml5Version = null;
+
+/**
+ * Enabled RDFa attributes for use in wikitext.
+ * NOTE: Interaction with HTML5 is somewhat underspecified.
+ */
+$wgAllowRdfaAttributes = true;
+
+/**
+ * Enabled HTML 5 microdata attributes for use in wikitext, if $wgHtml5 is also true.
+ */
+$wgAllowMicrodataAttributes = true;
+
/**
* Should we try to make our HTML output well-formed XML? If set to false,
* output will be a few bytes shorter, and the HTML will arguably be more
*/
$wgDebugComments = false;
-/** Does nothing. Obsolete? */
-$wgLogQueries = false;
-
/**
* Write SQL queries to the debug log
*/
*/
$wgSpecialVersionShowHooks = false;
-/**
- * By default, only show the MediaWiki, PHP, Database versions.
- * Setting this to true will try and determine versions of all helper programs.
- */
-$wgSpecialVersionExtended = false;
-
/**
* Whether to show "we're sorry, but there has been a database error" pages.
* Displaying errors aids in debugging, but may display information useful
* as a valid article? If $wgUseCommaCount is set to true, it will be
* counted if it contains at least one comma. If it is set to false
* (default), it will only be counted if it contains at least one [[wiki
- * link]]. See http://meta.wikimedia.org/wiki/Help:Article_count
+ * link]]. See http://www.mediawiki.org/wiki/Manual:Article_count
*
* Retroactively changing this variable will not affect
* the existing count (cf. maintenance/recount.sql).
$wgAutoblockExpiry = 86400; # Number of seconds before autoblock entries expire
$wgBlockAllowsUTEdit = false; # Default setting for option on block form to allow self talkpage editing whilst blocked
$wgSysopEmailBans = true; # Allow sysops to ban users from accessing Emailuser
+$wgBlockCIDRLimit = 16; # Blocks below the /16 set of IPs will not be allowed
# Pages anonymous user may see as an array, e.g.:
# array ( "Main Page", "Wikipedia:Help");
* to ensure that client-side caches do not keep obsolete copies of global
* styles.
*/
-$wgStyleVersion = '248';
+$wgStyleVersion = '257';
# Server-side caching:
*/
$wgSquidServersNoPurge = array();
+/**
+ * Default character limit for squid purge responses
+ */
+$wgSquidResponseLimit = 250;
+
/** Maximum number of titles to purge in any one client operation */
$wgMaxSquidPurgeTitles = 400;
$wgUseTeX = false;
/** Location of the texvc binary */
$wgTexvc = './math/texvc';
+/**
+ * Texvc background color
+ * use LaTeX color format as used in \special function
+ * for transparent background use value 'Transparent' for alpha transparency or
+ * 'transparent' for binary transparency.
+ */
+$wgTexvcBackgroundColor = 'rgb 1.0 1.0 1.0';
/**
* Normally when generating math images, we double-check that the
NS_CATEGORY_TALK => true
);
+/**
+ * Which namespaces have special treatment where they should be preview-on-open
+ * Internaly only Category: pages apply, but using this extensions (e.g. Semantic MediaWiki)
+ * can specify namespaces of pages they have special treatment for
+ */
+$wgPreviewOnOpenNamespaces = array(
+ NS_CATEGORY => true
+);
+
$wgNamespacesToBeSearchedDefault = array(
NS_MAIN => true,
);
/**
* @since 1.16 - This can now be set per-namespace. Some special namespaces (such
- * as Special, see Namespace::$alwaysCapitalizedNamespaces for the full list) must be
+ * as Special, see MWNamespace::$alwaysCapitalizedNamespaces for the full list) must be
* true by default (and setting them has no effect), due to various things that
* require them to be so. Also, since Talk namespaces need to directly mirror their
* associated content namespaces, the values for those are ignored in favor of the
*/
$wgAutoloadClasses = array();
-/*
- * Array mapping JavaScript class to web path for use by the script loader.
- * This 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;
-
-/*
- * $wgScriptModifiedCheck should run a file modified check on javascript files when
- * generating unique request ids for javascript include using the script-loader
- *
- * note this will only check core scripts that are directly included on the page.
- * (not scripts loaded after the initial page display since after initial page
- * display scripts inherit the unique request id)
- *
- * and or you can update $wgStyleVersion
- */
-$wgScriptModifiedCheck = true;
-
-/*
- * enable js2 Script System
- * if enabled we include jquery, mv_embed and js2 versions of editPage.js
- */
-$wgEnableJS2system = false;
-
-/*
- * enable api iframe proxy
- */
-$wgEnableIframeApiProxy = false;
-
-/*
- * 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/";
-
-/*
- * Turn on debugging 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
/** Name of the external diff engine to use */
$wgExternalDiffEngine = false;
-/** Whether to use inline diff */
-$wgEnableHtmlDiff = false;
-
/** Use RC Patrolling to check for vandalism */
$wgUseRCPatrol = true;
'Booksources' => 'other',
);
-/**
- * Experimental preview feature to fetch rendered text
- * over an XMLHttpRequest from JavaScript instead of
- * forcing a submit and reload of the whole page.
- * Leave disabled unless you're testing it.
- * Needs JS2 ($wgEnableJS2) to be activated.
- */
-$wgLivePreview = false;
-
/**
* Disable the internal MySQL-based search, to allow it to be
* implemented by an extension instead.
/**
* Activate external editor interface for files and pages
- * See http://meta.wikimedia.org/wiki/Help:External_editors
+ * See http://www.mediawiki.org/wiki/Manual:External_editors
*/
$wgUseExternalEditor = true;
$wgAllowSpecialInclusion = true;
/**
- * Timeout for HTTP requests done at script execution time
- * default is (default php.ini script time 30s - 5s for everything else)
+ * Timeout for HTTP requests done via CURL
*/
-$wgSyncHTTPTimeout = 25;
-
-/**
-* Timeout for asynchronous HTTP requests that run in a background PHP process
-* default set to 20 min
-*/
-$wgAsyncHTTPTimeout = 60*20;
-
-/*
- * if AsyncDownload is enabled (works on unix platforms)
- * fix for windows is pending.
- */
-$wgEnableAsyncDownload = false;
+$wgHTTPTimeout = 25;
/**
* Proxy to use for CURL requests.
*/
$wgAjaxUploadDestCheck = true;
-/**
- * Enable the AJAX upload interface (needed for large http uploads & to display
- * progress on uploads for browsers that support it)
- */
-$wgAjaxUploadInterface = true;
-
/**
* Enable previewing licences via AJAX
*/
*/
$wgMaxShellTime = 180;
-/**
-* Executable path of the PHP cli binary (php/php5). Should be set up on install.
-*/
-$wgPhpCli = '/usr/bin/php';
-
/**
* DJVU settings
* Path of the djvudump executable
/**
* Allow id's that don't conform to HTML4 backward compatibility requirements.
- * This is currently for testing; if all goes well, this option will be removed
- * and the functionality will be enabled universally.
+ * This is purely experimental, has multiple known flaws, and will likely be
+ * renamed and reconcepted based on HTML5 in the future, so should not be used
+ * except for testing.
*/
$wgEnforceHtmlIds = true;
*/
$wgMemoryLimit = "50M";
-/**
- * Whether or not to use the AJAX categories system.
- * Note that this requires JS2 and the script loader.
- */
-$wgUseAJAXCategories = false;
-
-/**
- * Only enable AJAXCategories on configured namespaces. Default is all.
- *
- * Example:
- * $wgAJAXCategoriesNamespaces = array( NS_MAIN, NS_PROJECT );
- */
-$wgAJAXCategoriesNamespaces = array();
-
/**
* To disable file delete/restore temporarily
*/