'nntp://', // @bug 3808 RFC 1738
'worldwind://',
'mailto:',
- 'news:'
+ 'news:',
+ 'svn://',
);
/** internal name of virus scanner. This servers as a key to the $wgAntivirusSetup array.
*/
$wgDebugLogGroups = array();
+/**
+ * Display debug data at the bottom of the main content area.
+ *
+ * Useful for developers and technical users trying to working on a closed wiki.
+ */
+$wgShowDebug = false;
+
/**
* Show the contents of $wgHooks in Special:Version
*/
* array( APCOND_EMAILCONFIRMED ), *OR*
* array( APCOND_EDITCOUNT, number of edits ), *OR*
* array( APCOND_AGE, seconds since registration ), *OR*
+ * array( APCOND_INGROUPS, group1, group2, ... ), *OR*
+ * array( APCOND_ISIP, ip ), *OR*
+ * array( APCOND_IPINRANGE, range ), *OR*
+ * array( APCOND_AGE_FROM_EDIT, seconds since first edit ), *OR*
* similar constructs defined by extensions.
*
* If $wgEmailAuthentication is off, APCOND_EMAILCONFIRMED will be true for any
* to ensure that client-side caches don't keep obsolete copies of global
* styles.
*/
-$wgStyleVersion = '197';
+$wgStyleVersion = '206';
# Server-side caching:
$wgExportAllowListContributors = false ;
+/**
+ * If non-zero, Special:Export accepts a "pagelink-depth" parameter
+ * up to this specified level, which will cause it to include all
+ * pages linked to from the pages you specify. Since this number
+ * can become *insanely large* and could easily break your wiki,
+ * it's disabled by default for now.
+ */
+$wgExportMaxLinkDepth = 0;
+
/**
* Edits matching these regular expressions in body text or edit summary
'rclimit' => 50,
'wllimit' => 250,
'hideminor' => 0,
+ 'hidepatrolled' => 0,
+ 'newpageshidepatrolled' => 0,
'highlightbroken' => 1,
'stubthreshold' => 0,
'previewontop' => 1,
'watchlisthideown' => 0,
'watchlisthideanons' => 0,
'watchlisthideliu' => 0,
+ 'watchlisthidepatrolled' => 0,
'watchcreations' => 0,
'watchdefault' => 0,
'watchmoves' => 0,
'watchdeletion' => 0,
'noconvertlink' => 0,
+ 'gender' => 'unknown',
);
/** Whether or not to allow and use real name fields. Defaults to true. */
*
* This variable is currently used ONLY for signature formatting, not for
* anything else.
+ *
+ * Timezones can be translated by editing MediaWiki messages of type
+ * timezone-nameinlowercase like timezone-utc.
*/
# $wgLocaltimezone = 'GMT';
# $wgLocaltimezone = 'PST8PDT';
'Newimages' => 'changes',
'Newpages' => 'changes',
'Log' => 'changes',
+ 'Tags' => 'changes',
'Upload' => 'media',
'Listfiles' => 'media',
*/
$wgNoFollowNsExceptions = array();
+/**
+ * If this is set to an array of domains, external links to these domain names
+ * (or any subdomains) will not be set to rel="nofollow" regardless of the
+ * value of $wgNoFollowLinks. For instance:
+ *
+ * $wgNoFollowDomainExceptions = array( 'en.wikipedia.org', 'wiktionary.org' );
+ *
+ * This would add rel="nofollow" to links to de.wikipedia.org, but not
+ * en.wikipedia.org, wiktionary.org, en.wiktionary.org, us.en.wikipedia.org,
+ * etc.
+ */
+$wgNoFollowDomainExceptions = array();
+
/**
* Default robot policy. The default policy is to encourage indexing and fol-
* lowing of links. It may be overridden on a per-namespace and/or per-page
*/
$wgRateLimitsExcludedGroups = array();
+/**
+ * Array of IPs which should be excluded from rate limits.
+ * This may be useful for whitelisting NAT gateways for conferences, etc.
+ */
+$wgRateLimitsExcludedIPs = array();
+
/**
* On Special:Unusedimages, consider images "used", if they are put
* into a category. Default (false) is not to count those as used.
*/
$wgAPIMaxDBRows = 5000;
+/**
+ * The maximum size (in bytes) of an API result.
+ * Don't set this lower than $wgMaxArticleSize*1024
+ */
+$wgAPIMaxResultSize = 8388608;
+
/**
* Parser test suite files to be run by parserTests.php when no specific
* filename is passed to it.
*/
$wgFixDoubleRedirects = false;
+/**
+ * Max number of redirects to follow when resolving redirects.
+ * 1 means only the first redirect is followed (default behavior).
+ * 0 or less means no redirects are followed.
+ */
+$wgMaxRedirects = 1;
+
+/**
+ * Array of invalid page redirect targets.
+ * Attempting to create a redirect to any of the pages in this array
+ * will make the redirect fail.
+ * Userlogout is hard-coded, so it does not need to be listed here.
+ * (bug 10569) Disallow Mypage and Mytalk as well.
+ *
+ * As of now, this only checks special pages. Redirects to pages in
+ * other namespaces cannot be invalidated by this variable.
+ */
+$wgInvalidRedirectTargets = array( 'Filepath', 'Mypage', 'Mytalk' );
+
/**
* Array of namespaces to generate a sitemap for when the
* maintenance/generateSitemap.php script is run, or false if one is to be ge-
$wgEdititis = false;
/**
-* Enable the UniversalEditButton for browsers that support it
-* (currently only Firefox with an extension)
-* See http://universaleditbutton.org for more background information
-*/
+ * Enable the UniversalEditButton for browsers that support it
+ * (currently only Firefox with an extension)
+ * See http://universaleditbutton.org for more background information
+ */
$wgUniversalEditButton = true;
/**
$wgEnforceHtmlIds = true;
/**
- * Allow the variables in this array to be retrieved through the API
- * (meta=siteinfo&siprop=configvars).
- * WARNING: DO NOT put sensitive stuff like $wgDBpassword in here
- */
-
-$wgAPIReadableConfigVars = array(
- 'wgVersion',
- 'wgSitename',
- 'wgMetaNamespace',
- 'wgMetaNamespaceTalk',
- 'wgServer',
- 'wgServerName',
- 'wgProto',
- 'wgScriptPath',
- 'wgUsePathInfo',
- 'wgScriptExtension',
- 'wgScript',
- 'wgRedirectScript',
- 'wgStylePath',
- 'wgArticlePath',
- 'wgVariantArticlePath',
- 'wgUploadPath',
- 'wgLogo',
- 'wgFavicon',
- 'wgAppleTouchIcon',
- 'wgMathPath',
- 'wgUploadBaseUrl',
- 'wgLegalTitleChars',
- 'wgUrlProtocols',
- 'wgVerifyMimeType',
- 'wgLoadFileinfoExtension',
- 'wgTrivialMimeDetection',
- 'wgActionPaths',
- 'wgUseSharedUploads',
- 'wgSharedUploadPath',
- 'wgFetchCommonsDescriptions',
- 'wgCacheSharedUploads',
- 'wgAllowCopyUploads',
- 'wgMaxUploadSize',
- 'wgUploadNavigationUrl',
- 'wgRepositoryBaseUrl',
- 'wgEmergencyContact',
- 'wgPasswordSender',
- 'wgNoReplyAddress',
- 'wgEnableEmail',
- 'wgEnableUserEmail',
- 'wgUserEmailUseReplyTo',
- 'wgPasswordReminderResendTime',
- 'wgNewPasswordExpiry',
- 'wgSearchType',
- 'wgLanguageCode',
- 'wgGrammarForms',
- 'wgInterwikiMagic',
- 'wgHideInterlanguageLinks',
- 'wgExtraLanguageNames',
- 'wgUseDynamicDates',
- 'wgAmericanDates',
- 'wgTranslateNumerals',
- 'wgDisableLangConversion',
- 'wgDisableTitleConversion',
- 'wgDefaultLanguageVariant',
- 'wgLoginLanguageSelector',
- 'wgLocalInterwiki',
- 'wgRedirectSources',
- 'wgShowIPinHeader',
- 'wgMaxSigChars',
- 'wgMaxArticleSize',
- 'wgMaxNameChars',
- 'wgMaxPPNodeCount',
- 'wgMaxTemplateDepth',
- 'wgMaxPPExpandDepth',
- 'wgCleanSignatures',
- 'wgExtraSubtitle',
- 'wgSiteSupportPage',
- 'wgReadOnly',
- 'wgSpecialVersionShowHooks',
- 'wgColorErrors',
- 'wgShowHostnames',
- 'wgUseCategoryBrowser',
- 'wgUseCommaCount',
- 'wgSysopUserBans',
- 'wgSysopRangeBans',
- 'wgAutoblockExpiry',
- 'wgBlockAllowsUTEdit',
- 'wgSysopEmailBans',
- 'wgWhitelistRead',
- 'wgEmailConfirmToEdit',
- 'wgRestrictionTypes',
- 'wgRestrictionLevels',
- 'wgNamespaceProtection',
- 'wgNonincludableNamespaces',
- 'wgAutoConfirmAge',
- 'wgAutoConfirmCount',
- 'wgAutopromote',
- 'wgAddGroups',
- 'wgRemoveGroups',
- 'wgAvailableRights',
- 'wgDeleteRevisionsLimit',
- 'wgActiveUserEditCount',
- 'wgActiveUserDays',
- 'wgEnotifFromEditor',
- 'wgEmailAuthentication',
- 'wgEnotifWatchlist',
- 'wgEnotifUserTalk',
- 'wgEnotifRevealEditorAddress',
- 'wgEnotifMinorEdits',
- 'wgEnotifImpersonal',
- 'wgEnotifMaxRecips',
- 'wgEnotifUseJobQ',
- 'wgEnotifUseRealName',
- 'wgUsersNotifiedOnAllChanges',
- 'wgRCShowWatchingUsers',
- 'wgPageShowWatchingUsers',
- 'wgRCShowChangedSize',
- 'wgRCChangedSizeThreshold',
- 'wgShowUpdatedMarker',
- 'wgCookieExpiration',
- 'wgCookieDomain',
- 'wgCookiePath',
- 'wgCookieSecure',
- 'wgDisableCookieCheck',
- 'wgCookiePrefix',
- 'wgSessionName',
- 'wgAllowExternalImages',
- 'wgAllowExternalImagesFrom',
- 'wgEnableImageWhitelist',
- 'wgAllowImageMoving',
- 'wgUseTeX',
- 'wgDisableCounters',
- 'wgDisableTextSearch',
- 'wgDisableSearchContext',
- 'wgEnableMWSuggest',
- 'wgEnableUploads',
- 'wgShowEXIF',
- 'wgRemoteUploads',
- 'wgDisableAnonTalk',
- 'wgFileBlacklist',
- 'wgMimeTypeBlacklist',
- 'wgCheckFileExtensions',
- 'wgStrictFileExtensions',
- 'wgUploadSizeWarning',
- 'wgNamespacesToBeSearchedDefault',
- 'wgNamespacesToBeSearchedProject',
- 'wgSiteNotice',
- 'wgRCMaxAge',
- 'wgUseMetadataEdit',
- 'wgMetadataWhitelist',
- 'wgUseCopyrightUpload',
- 'wgCheckCopyrightUpload',
- 'wgCapitalLinks',
- 'wgImportSources',
- 'wgImportTargetNamespace',
- 'wgExportAllowHistory',
- 'wgExportMaxHistory',
- 'wgExportAllowListContributors',
- 'wgUseTidy',
- 'wgAlwaysUseTidy',
- 'wgValidateAllHtml',
- 'wgDefaultSkin',
- 'wgAllowUserSkin',
- 'wgDefaultUserOptions',
- 'wgAllowRealName',
- 'wgValidSkinNames',
- 'wgAllowUserJs',
- 'wgAllowUserCss',
- 'wgUseSiteJs',
- 'wgUseSiteCss',
- 'wgAllowPageInfo',
- 'wgEnableHtmlDiff',
- 'wgUseRCPatrol',
- 'wgUseNPPatrol',
- 'wgCategoryPrefixedDefaultSortkey',
- 'wgLocaltimezone',
- 'wgLocalTZoffset',
- 'wgAllowSpecialInclusion',
- 'wgEnableScaryTranscluding',
- 'wgUseTrackbacks',
- 'wgAllowDisplayTitle',
- 'wgRestrictDisplayTitle',
- 'wgContentNamespaces',
- 'wgEnableAPI',
- 'wgEnableWriteAPI',
- 'wgExpensiveParserFunctionLimit',
- 'wgMaximumMovedPages',
- 'wgFixDoubleRedirects',
- 'wgUseAutomaticEditSummaries',
-);
+ * Search form behavior
+ * true = use Go & Search buttons
+ * false = use Go button & Advanced search link
+ */
+$wgUseTwoButtonsSearchForm = true;
+
+/**
+ * Preprocessor caching threshold
+ */
+$wgPreprocessorCacheThreshold = 1000;