*/
$wgStrictFileExtensions = true;
+/**
+ * Setting this to true will disable the upload system's checks for HTML/JavaScript.
+ * THIS IS VERY DANGEROUS on a publicly editable site, so USE wgGroupPermissions
+ * TO RESTRICT UPLOADING to only those that you trust
+ */
+$wgDisableUploadScriptChecks = false;
+
/** Warn if uploaded files are larger than this (in bytes), or false to disable*/
$wgUploadSizeWarning = false;
* and excludes them when running the transstat.php script.
*/
$wgDummyLanguageCodes = array(
- 'als', # => 'gsw'
- 'bat-smg', # => 'sgs'
- 'be-x-old', # => 'be-tarask'
- 'bh', # => 'bho'
- 'fiu-vro', # => 'vro'
- 'nb', # => 'no'
- 'qqq', # Used for message documentation.
- 'qqx', # Used for viewing message keys.
- 'roa-rup', # => 'rup'
- 'simple', # => 'en'
- 'zh-classical', # => 'lzh'
- 'zh-min-nan', # => 'nan'
- 'zh-yue', # => 'yue'
+ 'als' => 'gsw',
+ 'bat-smg' => 'sgs',
+ 'be-x-old' => 'be-tarask',
+ 'bh' => 'bho',
+ 'fiu-vro' => 'vro',
+ 'nb' => 'no',
+ 'qqq' => 'qqq', # Used for message documentation.
+ 'qqx' => 'qqx', # Used for viewing message keys.
+ 'roa-rup' => 'rup',
+ 'simple' => 'en',
+ 'zh-classical' => 'lzh',
+ 'zh-min-nan' => 'nan',
+ 'zh-yue' => 'yue',
);
/**
/** Use the site's Cascading Style Sheets (CSS)? */
$wgUseSiteCss = true;
-/**
- * Set to false to disable application of access keys and tooltips,
- * eg to avoid keyboard conflicts with system keys or as a low-level
- * optimization.
- */
-$wgEnableTooltipsAndAccesskeys = true;
-
/**
* Break out of framesets. This can be used to prevent clickjacking attacks,
* or to prevent external sites from framing your site with ads.
"poweredby" => array(
"mediawiki" => array(
"src" => null, // Defaults to "$wgStylePath/common/images/poweredby_mediawiki_88x31.png"
- "url" => "http://www.mediawiki.org/",
+ "url" => "//www.mediawiki.org/",
"alt" => "Powered by MediaWiki",
)
),
$wgDebugTidy = false;
/** Allow raw, unchecked HTML in <html>...</html> sections.
- * THIS IS VERY DANGEROUS on a publically editable site, so USE wgGroupPermissions
+ * THIS IS VERY DANGEROUS on a publicly editable site, so USE wgGroupPermissions
* TO RESTRICT EDITING to only those that you trust
*/
$wgRawHtml = false;
*/
$wgSitemapNamespacesPriorities = false;
+/**
+ * If true, searches for IP addresses will be redirected to that IP's
+ * contributions page. E.g. searching for "1.2.3.4" will redirect to
+ * [[Special:Contributions/1.2.3.4]]
+ */
+$wgEnableSearchContributorsByIP = true;
+
/** @} */ # end of search settings
/************************************************************************//**