diff --git a/LocalSettings.php b/LocalSettings.php
index e2347602..d0821767 100644
--- a/LocalSettings.php
+++ b/LocalSettings.php
@@ -1,3896 +1,3899 @@
config->settings = [
// invalidates user sessions - do not change unless it is an emergency.
'wgAuthenticationTokenVersion' => [
'default' => '4',
],
// AbuseFilter
'wgAbuseFilterActions' => [
'default' => [
'block' => true,
'blockautopromote' => true,
'degroup' => true,
'disallow' => true,
'rangeblock' => false,
'tag' => true,
'throttle' => true,
'warn' => true,
],
],
'wgAbuseFilterCentralDB' => [
'default' => 'metawiki',
],
'wgAbuseFilterIsCentral' => [
'default' => false,
'metawiki' => true,
],
'wgAbuseFilterBlockDuration' => [
'default' => 'indefinte',
],
'wgAbuseFilterAnonBlockDuration' => [
'default' => 2592000,
],
'wgAbuseFilterRestrictions' => [
'default' => [
'blockautopromote' => true,
'block' => true,
'degroup' => true,
'rangeblock' => true,
],
],
'wgAbuseFilterNotifications' => [
'default' => 'udp',
],
'wgAbuseFilterLogPrivateDetailsAccess' => [
'default' => true,
],
'wgAbuseFilterPrivateDetailsForceReason' => [
'default' => true,
],
// Anti-spam
'wgAccountCreationThrottle' => [
'default' => 5,
],
// https://www.mediawiki.org/wiki/Extension:SpamBlacklist#Blacklist_syntax
'wgBlacklistSettings' => [
'default' => [
'spam' => [
'files' => [
'https://meta.miraheze.org/w/index.php?title=Spam_blacklist&action=raw&sb_ver=1',
],
],
],
],
'wgLogSpamBlacklistHits' => [
'default' => false,
'metawiki' => true,
],
// Cargo
'wgCargoGoogleMapsKey' => [
'default' => $wmgMapsGMaps3ApiKey
],
// PageForms
'wgPageFormsGoogleMapsKey' => [
'default' => $wmgMapsGMaps3ApiKey
],
// BetaFeatures
'wgMediaViewerIsInBeta' => [
'default' => false,
],
'wgVisualEditorEnableWikitextBetaFeature' => [
'default' => false,
],
'wgVisualEditorEnableDiffPageBetaFeature' => [
'default' => false,
],
'wgPivotFeatures' => [
'thegreatwarwiki' => [
'usePivotTabs' => true,
'fixedNavBar' => true,
'showHelpUnderTools' => false,
'showRecentChangesUnderTools' => false,
'wikiNameDesktop' => 'The Great War 1914-1918',
'showFooterIcons' => true
],
],
// Block
'wgAutoblockExpiry' => [
'default' => 86400, // 24 hours * 60 minutes * 60 seconds
],
'wgBlockAllowsUTEdit' => [
'default' => true,
],
'wgEnableBlockNoticeStats' => [
'default' => false,
],
'wgEnablePartialBlocks' => [
'default' => true,
],
// Bot passwords
'wgBotPasswordsDatabase' => [
'default' => 'mhglobal',
],
// Cache
'wgCacheDirectory' => [
'default' => '/srv/mediawiki/w/cache',
],
'wgLocalisationCacheConf' => [
'default' => [
'class' => 'LocalisationCache',
'store' => 'files',
'storeDirectory' => "$IP/cache/l10n",
'manualRecache' => true,
],
],
'wgExtensionEntryPointListFiles' => [
'default' => [
'/srv/mediawiki/config/extension-list'
],
],
'wgPreprocessorCacheThreshold' => [
'default' => false,
],
'wgResourceLoaderMaxage' => [
'default' => [
'versioned' => [
'server' => 12 * 60 * 60, // 12 hours
'client' => 1 * 24 * 60 * 60, // 1 day
],
'unversioned' => [
'server' => 5 * 60, // 5 minutes
'client' => 30 * 60, // 30 minutes
],
],
],
'wgRevisionCacheExpiry' => [
'default' => 0,
],
'wgEnableSidebarCache' => [
'default' => false,
],
// Cosmos settings
'wgCosmosBannerLogo' => [
'default' => null,
],
'wgCosmosWikiHeaderWordmark' => [
'default' => null,
],
'wgCosmosWikiHeaderWordmark' => [
'default' => null,
],
'wgCosmosBackgroundImage' => [
'default' => null,
],
'wgCosmosBackgroundImageSize' => [
'default' => 'cover',
],
'wgCosmosMainBackgroundColor' => [
'default' => '#1A1A1A',
],
'wgCosmosContentBackgroundColor' => [
'default' => '#000',
],
'wgCosmosBannerBackgroundColor' => [
'default' => '#001e3b',
],
'wgCosmosWikiHeaderBackgroundColor' => [
'default' => '#001e3b',
],
'wgCosmosLinkColor' => [
'default' => '#006cb0',
],
'wgCosmosButtonColor' => [
'default' => '#012E59',
],
'wgCosmosToolbarColor' => [
'default' => '#001e3b',
],
'wgCosmosFooterColor' => [
'default' => '#141414',
],
+ 'wgCosmosEnablePortableInfoboxEuropaTheme' => [
+ 'default' => true,
+ ],
'wgCosmosBackgroundImageNorepeat' => [
'default' => true,
],
'wgCosmosBackgroundImageFixed' => [
'default' => true,
],
'wgCosmosUseMessageforToolbar' => [
'default' => false,
],
'wgCosmosSocialProfileModernTabs' => [
'default' => true,
],
'wgCosmosSocialProfileRoundAvatar' => [
'default' => true,
],
'wgCosmosSocialProfileShowEditCount' => [
'default' => true,
],
'wgCosmosSocialProfileAllowBio' => [
'default' => true,
],
'wgCosmosSocialProfileShowGroupTags' => [
'default' => true,
],
'wgCosmosUseSocialProfileAvatar' => [
'default' => true,
],
'wgCosmosProfileTagGroups' => [
'default' => [
'bureaucrat',
'bot',
'sysop',
'interface-admin'
],
],
'wgCosmosNumberofGroupTags' => [
'default' => 2,
],
'wgCosmosContentOpacityLevel' => [
'default' => 100,
],
// CategoryTree
'wgCategoryTreeDefaultMode' => [
'default' => 0,
],
'wgCategoryTreeCategoryPageMode' => [
'default' => 0,
],
// CentralNotice
'wgNoticeInfrastructure' => [
'default' => false,
'metawiki' => true,
],
'wgCentralSelectedBannerDispatcher' => [
'default' => "https://meta.miraheze.org/w/index.php/Special:BannerLoader",
],
'wgCentralBannerRecorder' => [
'default' => "https://meta.miraheze.org/w/index.php/Special:RecordImpression",
],
'wgCentralDBname' => [
'default' => 'metawiki',
],
'wgCentralHost' => [
'default' => "https://meta.miraheze.org",
],
'wgNoticeProject' => [
'default' => 'all',
],
'wgNoticeProjects' => [
'default' => [
'all',
'optout',
],
],
'wgNoticeUseTranslateExtension' => [
'default' => true,
],
// Captcha
'wgCaptchaClass' => [
'default' => 'ReCaptchaNoCaptcha',
],
'wgReCaptchaSendRemoteIP' => [
'default' => false,
],
// Category
'wgUseCategoryBrowser' => [
'default' => false,
'modesofdiscoursewiki' => true,
],
'wgCategoryPagingLimit' => [
'default' => 200,
'nenawikiwiki' => 1500,
],
// CentralAuth
'wgCentralAuthAutoCreateWikis' => [
'default' => [ 'loginwiki', 'metawiki' ],
],
'wgCentralAuthAutoNew' => [
'default' => true,
],
'wgCentralAuthAutoMigrate' => [
'default' => true,
],
'wgCentralAuthAutoMigrateNonGlobalAccounts' => [
'default' => true,
],
'wgCentralAuthCookies' => [
'default' => true,
],
'wgCentralAuthCookieDomain' => [
'default' => '.miraheze.org',
],
'wgCentralAuthCreateOnView' => [
'default' => true,
'cwarswiki' => false,
'nenawikiwiki' => false,
],
'wgCentralAuthDatabase' => [
'default' => 'mhglobal',
],
'wgCentralAuthEnableGlobalRenameRequest' => [
'default' => false,
'metawiki' => true,
],
'wgCentralAuthEnableUserMerge' => [
'default' => false,
'metawiki' => true,
],
'wgCentralAuthLoginWiki' => [
'default' => 'loginwiki',
],
'wgCentralAuthPreventUnattached' => [
'default' => true,
],
'wgCentralAuthSilentLogin' => [
'default' => true,
],
// CheckUser
'wgCheckUserForceSummary' => [
'default' => true,
],
// Comments extension
'wgCommentsDefaultAvatar' => [
'default' => '/w/extensions/SocialProfile/avatars/default_ml.gif',
],
'wgCommentsInRecentChanges' => [
'default' => false,
],
'wgCommentsSortDescending' => [
'default' => false,
],
// CommentStreams extension
'wgCommentStreamsEnableTalk' => [
'default' => false,
],
'wgCommentStreamsNewestStreamsOnTop' => [
'default' => false,
],
'wgCommentStreamsUserAvatarPropertyName' => [
'default' => null,
],
'wgCommentStreamsEnableVoting' => [
'default' => false,
],
'wgCommentStreamsModeratorFastDelete' => [
'default' => false,
],
// Contribution Scores
'wgContribScoreDisableCache' => [
'default' => true,
],
// Cookies
'wgCookieDomain' => [
'default' => '.miraheze.org'
],
'wgCookieSameSite' => [
'default' => 'None'
],
'wgUseSameSiteLegacyCookies' => [
'default' => true
],
// CreateWiki
'wgCreateWikiBlacklistedSubdomains' => [
'default' => '/^(subdomain|noc|sandbox\d{1,2}|outreach|gazetteer|wikitech|wiki|www|wikis|misc\d{1,2}|db\d{1,2}|cp\d{1,2}|mw\d{1,2}|jobrunner\d{1,2}|gluster\d{1,2}|ns\d{1,2}|bacula\d{1,2}|misc\d{1,2}|mail\d{1,2}|mw\d{1,2}|ldap\d{1,2}|cloud\d{1,2}|mon\d{1,2}|lizardfs\d{1,2}|rdb\d{1,2}|phab\d{1,2}|services\d{1,2}|puppet\d{1,2}|test\d{1,2})+$/',
],
'wgCreateWikiCustomDomainPage' => [
'default' => 'Special:MyLanguage/Custom_domains',
],
'wgCreateWikiDatabase' => [
'default' => 'mhglobal',
],
'wgCreateWikiDatabaseClusters' => [
'default' => [
'c2',
'c3'
]
],
'wgCreateWikiGlobalWiki' => [
'default' => 'metawiki',
],
'wgCreateWikiDBDirectory' => [
'default' => '/srv/mediawiki/dblist',
],
'wgCreateWikiEmailNotifications' => [
'default' => true,
],
'wgCreateWikiNotificationEmail' => [
'default' => 'tech@miraheze.org',
],
'wgCreateWikiSQLfiles' => [
'default' => [
"$IP/maintenance/tables.sql",
"$IP/extensions/AbuseFilter/abusefilter.tables.sql",
"$IP/extensions/AntiSpoof/sql/patch-antispoof.mysql.sql",
"$IP/extensions/BetaFeatures/sql/create_counts.sql",
"$IP/extensions/CheckUser/cu_log.sql",
"$IP/extensions/CheckUser/cu_changes.sql",
"$IP/extensions/DataDump/sql/data_dump.sql",
"$IP/extensions/Echo/echo.sql",
"$IP/extensions/GlobalBlocking/sql/global_block_whitelist.sql",
"$IP/extensions/GlobalBlocking/sql/globalblocks.sql",
"$IP/extensions/OAuth/schema/mysql/OAuth.sql",
"$IP/extensions/RottenLinks/sql/rottenlinks.sql",
"$IP/extensions/UrlShortener/schemas/urlshortcodes.sql"
],
],
'wgCreateWikiStateDays' => [
'default' => [
'inactive' => 45,
'closed' => 15,
'removed' => 120,
'deleted' => 14
],
],
'wgCreateWikiCacheDirectory' => [
'default' => '/srv/mediawiki/w/cache'
],
'wgCreateWikiCategories' => [
'default' => [
'Automotive' => 'automotive',
'Community' => 'community',
'Education' => 'education',
'Electronics' => 'electronics',
'Entertainment' => 'entertainment',
'Fandom' => 'fandom',
'Fantasy' => 'fantasy',
'Gaming' => 'gaming',
'Geography' => 'geography',
'Leisure' => 'leisure',
'Literature/Writing' => 'literature',
'Media/Journalism' => 'media',
'Medicine/Medical' => 'medical',
'Military/War' => 'military',
'Music' => 'music',
'Podcast' => 'podcast',
'Politics' => 'politics',
'Private' => 'private',
'Religion' => 'religion',
'Software/Computing' => 'software',
'Sports' => 'sport',
'Uncategorised' => 'uncategorised',
],
],
'wgCreateWikiUseCategories' => [
'default' => true,
],
'wgCreateWikiSubdomain' => [
'default' => 'miraheze.org',
],
'wgCreateWikiUseClosedWikis' => [
'default' => true,
],
'wgCreateWikiUseCustomDomains' => [
'default' => true,
],
'wgCreateWikiUseEchoNotifications' => [
'default' => true,
],
'wgCreateWikiUseInactiveWikis' => [
'default' => true,
],
'wgCreateWikiUsePrivateWikis' => [
'default' => true,
],
// Cookies extension settings
'wgCookieWarningMoreUrl' => [
'default' => 'https://meta.miraheze.org/wiki/Privacy_Policy#4._Cookies',
],
'wgCookieSetOnAutoblock' => [
'default' => true,
],
// Cookies extension settings
'wgCookieWarningEnabled' => [
'default' => true,
],
'wgCookieWarningGeoIPLookup' => [
'default' => 'php',
],
'wgCookieWarningGeoIp2' => [
'default' => true,
],
'wgCookieWarningGeoIp2Path' => [
'default' => '/srv/GeoLite2-City.mmdb',
],
// Cookie stuff
'wgCookieSetOnIpBlock' => [
'default' => true,
],
// Database
'wgAllowSchemaUpdates' => [
'default' => false,
],
'wgCompressRevisions' => [
'default' => false,
'absurdopediawiki' => true,
'allthetropeswiki' => true,
'altversewiki' => true,
'americangirldollswiki' => true,
'animatedfeetwiki' => true,
'animebathswiki' => true,
'baobabarchiveswiki' => true,
'beidipediawiki' => true,
'buswiki' => true,
'commonwealthwiki' => true,
'crappygameswiki' => true,
'crystalmaidenswiki' => true,
'cwarswiki' => true,
'evilbabeswiki' => true,
'incubatorwiki' => true,
'libertygamewiki' => true,
'metawiki' => true,
'nonciclopediawiki' => true,
'onepiecewiki' => true,
'openhatchwiki' => true,
'quircwiki' => true,
'ranchstorywiki' => true,
'simswiki' => true,
'thelastsovereignwiki' => true,
'tmewiki' => true,
'toxicfandomsandhatedomswiki' => true,
'trollpastawiki' => true,
'trollpastauncensoredwiki' => true,
'uncyclomirrorwiki' => true,
'ungamewiki' => true,
],
'wgDBadminuser' => [
'default' => 'wikiadmin',
],
'wgDBuser' => [
'default' => 'mediawiki',
],
'wgReadOnly' => [
'default' => false,
],
'wgSharedDB' => [
'default' => 'metawiki',
],
'wgSharedTables' => [
'default' => [],
],
'wgActorTableSchemaMigrationStage' => [
'default' => SCHEMA_COMPAT_NEW,
],
'wgCommentTableSchemaMigrationStage' => [
'default' => MIGRATION_NEW,
],
//CommonsMetadata
'wgCommonsMetadataForceRecalculate' => [
'default' => false,
],
// Delete
'wgDeleteRevisionsLimit' => [
'default' => '1000', // databases don't have much memory - let's not overload them in future - set to 1k T5287
],
// DJVU
'wgDjvuDump' => [
'default' => '/usr/bin/djvudump',
],
'wgDjvuRenderer' => [
'default' => '/usr/bin/ddjvu',
],
'wgDjvuTxt' => [
'default' => '/usr/bin/djvutxt',
],
// TimedMediaHandler config
'wgFFmpegLocation' => [
'default' => '/usr/bin/ffmpeg',
],
'wgTmhEnableMp4Uploads' => [
'default' => false,
'dcmultiversewiki' => true,
],
// Discord
'wgDiscordNotificationBlockedUser' => [
'default' => true,
],
'wgDiscordNotificationNewUser' => [
'default' => true,
],
// Display Title
'wgDisplayTitleHideSubtitle' => [
'default' => false,
],
// Download from https://www.stopforumspam.com/downloads (recommended listed_ip_30_all.zip)
// for ipv4 + ipv6 combined.
// TODO: Setup cron to update this automatically.
'wgSFSIPListLocation' => [
'default' => '/mnt/mediawiki-static/private/stopforumspam/listed_ip_30_ipv46_all.txt',
],
// ParserFunctions
'wgPFEnableStringFunctions' => [
'default' => false,
],
'wgAllowSlowParserFunctions' => [
'default' => false,
],
// Echo
'wgEchoCrossWikiNotifications' => [
'default' => true,
],
'wgEchoUseJobQueue' => [
'default' => true,
],
'wgEchoSharedTrackingCluster' => [
'default' => 'echo',
],
'wgEchoSharedTrackingDB' => [
'default' => 'metawiki',
],
'wgEchoUseCrossWikiBetaFeature' => [
'default' => true,
],
'wgEchoMentionStatusNotifications' => [
'default' => true,
],
// Exempt from Robot Control (INDEX/NOINDEX namespaces)
'wgExemptFromUserRobotsControl' => [
'default' => $wgContentNamespaces,
'thelonsdalebattalionwiki' => [],
],
// ElasticSearch
'wmgDisableSearchUpdate' => [
'default' => false,
],
'wmgSearchType' => [
'default' => false,
],
'wmgShowPopupsByDefault' => [
'default' => false,
],
// Preloader
'wgPreloaderSource' => [
'default' => [
0 => 'Template:Boilerplate',
],
],
// Extensions and Skins
'wmgUse3D' => [
'default' => false,
],
'wmgUseAddThis' => [
'default' => false,
],
'wmgUseAddHTMLMetaAndTitle' => [
'default' => false,
],
'wmgUseAdminLinks' => [
'default' => false,
],
'wmgUseAdvancedSearch' => [
'default' => false,
],
'wmgUseAJAXPoll' => [
'default' => false,
],
'wmgUseApex' => [
'default' => false,
],
'wmgUseApprovedRevs' => [
'default' => false,
],
'wmgUseArrays' => [
'default' => false,
],
'wmgUseArticleRatings' => [
'default' => false,
],
'wmgUseArticleToCategory2' => [
'default' => false,
],
'wmgUseAuthorProtect' => [
'default' => false,
],
'wmgUseAutoCreateCategoryPages' => [
'default' => false, // DO NOT enable on wikis that have more than 500 categories. See T1230
],
'wmgUseAutoCreatePage' => [
'default' => false,
],
'wmgUseBlogPage' => [
'default' => false,
],
'wmgUseBabel' => [
'default' => false,
],
'wmgUseBootstrap' => [
'default' => false,
],
'wmgUseMSCalendar' => [
'default' => false,
],
'wmgUseCapiunto' => [
'default' => false,
],
'wmgUseCargo' => [
'default' => false,
],
'wmgUseCategorySortHeaders' => [
'default' => false,
],
'wmgUseCategoryTree' => [
'default' => false,
],
'wmgUseCharInsert' => [
'default' => false,
],
'wmgUseCirrusSearch' => [
'default' => false,
],
'wmgUseCite' => [
'default' => false,
],
'wmgUseCiteThisPage' => [
'default' => false,
],
'wmgUseCitizen' => [
'default' => false,
],
'wmgUseCitoid' => [
'default' => false,
],
'wmgUseCodeEditor' => [
'default' => false,
],
'wmgUseCodeMirror' => [
'default' => false,
],
'wmgUseCollapsibleVector' => [
'default' => false,
],
'wmgUseCollection' => [
'default' => false,
],
'wmgUseCommentStreams' => [
'default' => false,
],
'wmgUseComments' => [
'default' => false, // Sysop has 'commentadmin' by default
],
'wmgUseCommonsMetadata' => [
'default' => false,
],
'wmgUseContactPage' => [
'default' => false, // Add wiki config to ContactPage.php
'apellidosmurcianoswiki' => true,
'ayrshirewiki' => true,
'christipediawiki' => true,
'cdcwiki' => true,
'guiaslocaiswiki' => true,
'test2wiki' => true,
],
'wmgUseContributionScores' => [
'default' => false,
],
'wmgUseCosmos' => [
'default' => false,
],
'wmgUseCreatePage' => [
'default' => false,
],
'wmgUseCreatePageUw' => [
'default' => false,
],
'wmgUseCreateRedirect' => [
'default' => false,
],
'wmgUseCrossReference' => [
'default' => false,
],
'wmgUseCSS' => [
'default' => false,
],
'wmgUseCalendarWikivoyage' => [
'default' => false,
],
'wmgUseDarkMode' => [
'default' => false,
],
'wmgUseDataDump' => [
'default' => true,
],
'wmgUseDataTransfer' => [
'default' => false,
],
'wmgUseDeleteUserPages' => [
'default' => false,
],
'wmgUseDescription2' => [
'default' => false,
],
'wmgUseDisambiguator' => [
'default' => false,
],
'wmgUseDismissableSiteNotice' => [
'default' => true,
],
'wmgUseDisplayTitle' => [
'default' => false,
],
'wmgUseDisqusTag' => [
'default' => false,
'test2wiki' => true,
],
'wmgUseDuskToDawn' => [
'default' => false,
],
'wmgUseDonateBoxInSidebar' => [ # Disabled for now --Rececption123
'default' => false,
'metawiki' => true,
'test2wiki' => true,
],
'wmgUseDPLForum' => [
'default' => false,
],
'wmgUseDummyFandoomMainpageTags' => [
'default' => false,
],
'wmgUseDynamicPageList' => [ // DynamicPageList and DynamicPageList3 should NOT be enabled together; they do not work together
'default' => false,
],
'wmgUseDynamicPageList3' => [ // DynamicPageList and DynamicPageList3 should NOT be enabled together; they do not work together
'default' => false,
],
'wmgUseDynamicSidebar' => [
'default' => false,
],
'wmgUseEditcount' => [
'default' => false,
],
'wmgUseEditSubpages' => [
'default' => false,
],
'wmgUseErudite' => [
'default' => false,
],
'wmgUseFancyBoxThumbs' => [
'default' => false,
],
'wmgUseFeaturedFeeds' => [
'default' => false, // Not enabled anywhere?
],
'wmgUseFemiwiki' => [
'default' => false,
],
'wmgUseFlaggedRevs' => [
'default' => false,
],
'wmgUseFlow' => [
'default' => false, // Please make sure MediaWiki services is enabled on the wiki in the services.yaml file in the services repo
],
'wmgUseForcePreview' => [
'default' => false,
],
'wmgUseForeground' => [
'default' => false,
],
'wmgUseFontAwesome' => [
'default' => false,
],
'wmgUseGadgets' => [
'default' => false,
],
'wmgUseGamepress' => [
'default' => false,
],
'wmgUseGenealogy' => [
'default' => false,
],
'wmgUseGeoCrumbs' => [
'default' => false,
],
'wmgUseGeoData' => [
'default' => false,
],
'wmgUseGettingStarted' => [
'default' => false,
],
'wmgUseGlobalUserPage' => [
'default' => false,
],
'wmgUseGoogleDocs4MW' => [
'default' => false,
],
'wmgUseGraph' => [
'default' => false,
],
'wmgUseGroupsSidebar' => [
'default' => false,
],
'wmgUseGuidedTour' => [
'default' => false,
],
'wmgUseHAWelcome' => [
'default' => false,
],
'wmgUseHeaderFooter' => [
'default' => false,
],
'wmgUseHeaderTabs' => [
'default' => false,
],
'wmgUseHideSection' => [
'default' => false,
],
'wmgUseHighlightLinksInCategory' => [
'default' => false,
],
'wmgUseImageMap' => [
'default' => false,
],
'wmgUseImageRating' => [
'default' => false,
],
'wmgUseInputBox' => [
'default' => false,
],
'wmgUseJavascriptSlideshow' => [
'default' => false,
],
'wmgUseJosa' => [
'default' => false,
],
'wmgUseJSBreadCrumbs' => [
'default' => false,
],
'wmgUseJsCalendar' => [
'default' => false,
],
'wmgUseKartographer' => [
'default' => false,
],
'wmgUseLabeledSectionTransclusion' => [
'default' => false,
],
'wmgUseLanguageSelector' => [
'default' => false,
],
'wmgUseLastModified' => [
'default' => false,
],
'wmgUseLiberty' => [
'default' => false,
],
'wmgUseLingo' => [
'default' => false,
],
'wmgUseLinkSuggest' => [
'default' => false,
],
'wmgUseLinkTarget' => [
'default' => false,
],
'wmgUseLinkTitles' => [
'default' => false,
],
'wmgUseListings' => [
'default' => false,
],
'wmgUseLoopsCombo' => [
'default' => false,
],
'wmgUseMagicNoCache' => [
'default' => false,
],
'wmgUseMaps' => [
'default' => false,
],
'wmgUseMask' => [
'default' => false,
],
'wmgUseMassEditRegex' => [
'default' => false, // sysop is given permission 'masseditregex' by default
],
'wmgUseMassMessage' => [
'default' => false,
],
'wmgUseMath' => [
'default' => false,
],
'wmgUseMediaWikiChat' => [
'default' => false,
],
'wmgUseMedik' => [
'default' => false,
],
'wmgUseMermaid' => [
'default' => false,
],
'wmgUseMetrolook' => [
'default' => false,
],
'wmgUseMobileFrontend' => [
'default' => false,
],
'wmgUseMobileTabsPlugin' => [
'default' => false,
],
'wmgUseModeration' => [
'default' => false,
],
'wmgUseModernSkylight' => [
'default' => false,
],
'wmgUseMsCatSelect' => [
'default' => false,
],
'wmgUseMsLinks' => [
'default' => false,
],
'wmgUseMsUpload' => [
'default' => false,
],
'wmgUseMultimediaViewer' => [
'default' => false,
],
'wmgUseMultiBoilerplate' => [
'default' => false,
],
'wmgUseMyVariables' => [
'default' => false,
],
'wmgUseNewestPages' => [
'default' => false,
],
'wmgUseNewSignupPage' => [
'default' => false,
],
'wmgUseNewsletter' => [
'default' => false,
],
'wmgUseNewUserMessage' => [
'default' => false,
],
'wmgUseNewUserNotif' => [
'default' => false,
],
'wmgUseNostalgia' => [
'default' => false,
],
'wmgUseNoTitle' => [
'default' => false,
],
'wmgUseNukeDPL' => [
'default' => false,
],
'wmgUseNumberedHeadings' => [
'default' => false,
],
'wmgUseOpenGraphMeta' => [
'default' => false,
],
'wmgUseOrphanedTalkPages' => [
'default' => false,
],
'wmgUsePageDisqus' => [
'default' => false,
],
'wmgUsePagedTiffHandler' => [
'default' => false,
],
'wmgUsePageForms' => [
'default' => false,
],
'wmgUsePageNotice' => [
'default' => false,
],
'wmgUsePageTriage' => [
'default' => false,
],
'wmgUsePDFEmbed' => [
'default' => false,
],
'wmgUsePdfHandler' => [
'default' => false,
],
'wmgUsePipeEscape' => [
'default' => false,
],
'wmgUsePivot' => [
'default' => false,
],
'wmgUsePoem' => [
'default' => false,
],
'wmgUsePopups' => [
'default' => false,
],
'wmgUsePollNY' => [
'default' => false,
],
'wmgUsePortableInfobox' => [
'default' => false,
],
'wmgUsePreloader' => [
'default' => false,
],
'wmgUseProofreadPage' => [
'default' => false,
],
'wmgUseProtectSite' => [
'default' => false,
],
'wmgUsePurge' => [
'default' => false,
],
'wmgUseQuiz' => [
'default' => false,
],
'wmgUseQuizGame' => [
'default' => false,
],
'wmgUseRandomGameUnit' => [
'default' => false,
],
'wmgUseRandomImage' => [
'default' => false,
],
'wmgUseRandomSelection' => [
'default' => false,
],
'wmgUseRefreshed' => [
'default' => false,
],
'wmgUseRegexFunctions' => [
'default' => false,
],
'wmgUseRelatedArticles' => [
'default' => false,
],
'wmgUseReplaceText' => [
'default' => false,
],
'wmgUseRevisionSlider' => [
'default' => false,
],
'wmgUseRightFunctions' => [
'default' => false,
],
'wmgUseRSS' => [
'default' => false,
],
'wmgUseSandboxLink' => [
'default' => false,
],
'wmgUseScore' => [
'default' => false,
],
'wmgUseScratchBlocks' => [
'default' => false,
],
'wmgUseShortURL' => [
'default' => true,
'macfan4000wiki' => false,
],
'wmgUseSimpleChanges' => [
'default' => false,
],
'wmgUseSimpleTooltip' => [
'default' => false,
],
'wmgUseSlackNotifications' => [
'default' => false,
],
'wmgUseSoftRedirector' => [
'default' => false,
],
// Requires copying of two directories: https://www.mediawiki.org/wiki/Extension:SocialProfile#Directories
// Should be this, but change $nameofwiki at the end:
// sudo -u www-data cp -R /srv/mediawiki/w/extensions/SocialProfile/avatars /srv/mediawiki/w/extensions/SocialProfile/awards /mnt/mediawiki-static/$nameofwiki/
'wmgUseSocialProfile' => [
'default' => false,
],
'wmgUseSpoilers' => [
'default' => false,
],
'wmgUseSpriteSheet' => [
'default' => false,
],
'wmgUseStopForumSpam' => [
'default' => false,
'test2wiki' => true,
],
'wmgUseSubpageFun' => [
'default' => false,
],
'wmgUseSubPageList3' => [
'default' => false,
],
'wmgUseSyntaxHighlightGeSHi' => [
'default' => false,
],
'wgScribuntoUseGeSHi' => [
'default' => true,
],
// Combo of Tabs + Tabber
'wmgUseTabsCombination' => [
'default' => false,
],
'wmgUseTemplateData' => [
'default' => false,
],
'wmgUseTemplateSandbox' => [
'default' => false,
],
'wmgUseTemplateStyles' => [
'default' => false,
],
'wmgUseTemplateWizard' => [
'default' => false,
],
'wmgUseTextExtracts' => [
'default' => false,
],
'wmgUseTheme' => [
'default' => false,
],
'wmgUseTimedMediaHandler' => [
'default' => false,
],
'wmgUseTimeline' => [
'default' => false,
],
'wmgUseThanks' => [
'default' => false,
],
'wmgUseTitleKey' => [
'default' => false,
],
'wmgUseTocTree' => [
'default' => false,
],
'wmgUseTranslate' => [
'default' => false,
],
'wmgUseTreeAndMenu' => [
'default' => false,
],
'wmgUseTweeki' => [
'default' => false,
],
'wmgUseTwitterTag' => [
'default' => false,
],
'wmgUseTwoColConflict' => [
'default' => false,
],
'wmgUseUniversalLanguageSelector' => [
'default' => false,
],
'wmgUseUploadsLink' => [
'default' => false,
],
'wmgUseUrlGetParameters' => [
'default' => false,
],
'wmgUseUserFunctions' => [
'default' => false,
],
'wmgUseUserWelcome' => [
'default' => false,
],
'wmgUseVEForAll' => [
'default' => false,
],
'wmgUseVoteNY' => [
'default' => false,
],
'wmgUseVisualEditor' => [
'default' => false, // Please make sure MediaWiki services is enabled on the wiki in the services.yaml file in the services repo
],
'wmgUseVariables' => [
'default' => false,
],
'wmgUseWebChat' => [
'default' => false,
],
'wmgUseWhoIsWatching' => [
'default' => false,
'test2wiki' => true,
],
'wmgUseWidgets' => [
'default' => false,
],
'wmgUseWikibaseRepository' => [
'default' => false,
],
'wmgUseWikibaseClient' => [
'default' => false,
],
'wmgUseWikiCategoryTagCloud' => [
'default' => false,
],
'wmgUseWikidataPageBanner' => [
'default' => false,
],
'wmgUseWikiForum' => [
'default' => false,
],
'wmgUsewikihiero' => [
'default' => false,
],
'wmgUseWikimediaIncubator' => [
'default' => false,
],
'wmgUseWikiLove' => [
'default' => false,
],
'wmgUseWikiSeo' => [
'default' => false,
],
'wmgUseWikiTextLoggedInOut' => [
'default' => false,
],
'wmgUseYouTube' => [
'default' => false,
],
// TemplateStyles config
'wgTemplateStylesAllowedUrls' => [
// Remove when https://gerrit.wikimedia.org/r/486828/ is merged
'default' => [
'audio' => [
'<^(?:https:)?\/\/upload\\.wikimedia\\.org\/wikipedia\/commons\/>',
],
'image' => [
'<^(?:https:)?\/\/upload\\.wikimedia\\.org\/wikipedia\/commons\/>',
],
'svg' => [
'<^(?:https:)?\/\/upload\\.wikimedia\\.org/wikipedia\/commons\/[^?#]*\\.svg(?:[?#]|$)>',
],
'font' => [],
'namespace' => [ '<.>' ],
'css' => [],
],
],
// External link target
'wgExternalLinkTarget' => [
'default' => false,
],
// Allow External Images
'wgAllowExternalImages' => [
'default' => false,
],
'wgAllowExternalImagesFrom' => [
'default' => false,
'astrobiologywiki' => [
'https://www.science20.com',
'https://quora.com',
'https://robertinventor.com',
],
'doomsdaydebunkedwiki' => [
'https://www.science20.com',
'https://quora.com',
'https://robertinventor.com',
],
],
// Allow HTML tag
'wgAllowImageTag' => [
'default' => false,
],
'egApprovedRevsEnabledNamespaces' => [
'valkyrienskieswiki' => [
NS_MAIN => false,
NS_USER => false,
NS_FILE => false,
NS_TEMPLATE => false,
NS_HELP => false,
NS_PROJECT => false
],
],
// FlaggedRevs
'wmgFlaggedRevsProtection' => [
'default' => false,
],
'wmgFlaggedRevsTags' => [
'default' => [
'status' => [
'quality' => 1,
'levels' => 2,
'pristine' => 3,
],
],
'infectopedwiki' => [
'accuracy' => [
'levels' => 4,
'quality' => 2,
'pristine' => 4,
],
'depth' => [
'levels' => 4,
'quality' => 2,
'pristine' => 4,
],
'tone' => [
'levels' => 4,
'quality' => 1,
'pristine' => 4,
],
],
'isvwiki' => [
'status' => [
'levels' => 1,
'quality' => 2,
'pristine' => 4,
],
],
],
'wmgFlaggedRevsTagsRestrictions' => [
'default' => [
'status' => [
'review' => 1,
'autoreview' => 1,
],
],
],
'wmgFlaggedRevsTagsAuto' => [
'default' => [
'status' => 1,
],
],
'wmgFlaggedRevsAutopromote' => [
'default' => [
'days' => 14,
'edits' => 100,
'excludeLastDays' => 1,
'benchmarks' => 1,
'spacing' => 1,
'totalContentEdits' => 100,
'totalCheckedEdits' => 100,
'uniqueContentPages' => 10,
'editComments' => 80,
'userpageBytes' => 1,
'neverBlocked' => true,
'maxRevertedEditRatio' => 0.05,
],
'isvwiki' => false,
'pruebawiki' => false,
],
'wmgFlaggedRevsAutoReview' => [
'default' => 3,
],
'wmgFlaggedRevsRestrictionLevels' => [
'default' => [ '', 'sysop' ],
],
'wmgSimpleFlaggedRevsUI' => [
'default' => false,
],
'wmgFlaggedRevsLowProfile' => [
'default' => false,
],
// Footers
'+wgFooterIcons' => [
'default' => [
'poweredby' => [
'miraheze' => [
'src' => "https://$wmgUploadHostname/metawiki/7/7e/Powered_by_Miraheze.png",
'url' => 'https://meta.miraheze.org/wiki/',
'alt' => 'Miraheze Wiki Hosting'
]
]
],
'+circleyversewiki' => [
'poweredby' => [
'wikiapiary' => [
'src' => 'https://wikiapiary.com/w/images/wikiapiary/b/b4/Monitored_by_WikiApiary.png',
'url' => 'https://wikiapiary.com/wiki/Circleyverse_Wiki',
'alt' => 'Monitored by WikiApiary'
]
]
],
'+ficreationwiki' => [
'poweredby' => [
'wikiapiary' => [
'src' => 'https://wikiapiary.com/w/images/wikiapiary/b/b4/Monitored_by_WikiApiary.png',
'url' => 'https://wikiapiary.com/wiki/Ficreation',
'alt' => 'Monitored by WikiApiary'
]
]
],
'+kbosfunnieswiki' => [
'poweredby' => [
'wikiapiary' => [
'src' => 'https://wikiapiary.com/w/images/wikiapiary/b/b4/Monitored_by_WikiApiary.png',
'url' => 'https://wikiapiary.com/wiki/Kbos_funnies',
'alt' => 'Monitored by WikiApiary'
]
]
],
'+permanentfuturelabwiki' => [
'poweredby' => [
'wikiapiary' => [
'src' => 'https://wikiapiary.com/w/images/wikiapiary/b/b4/Monitored_by_WikiApiary.png',
'url' => 'https://wikiapiary.com/wiki/Permanent_Future_Lab',
'alt' => 'Monitored by WikiApiary'
]
]
],
'+tmewiki' => [
'poweredby' => [
'wikiapiary' => [
'src' => 'https://wikiapiary.com/w/images/wikiapiary/b/b4/Monitored_by_WikiApiary.png',
'url' => 'https://wikiapiary.com/wiki/The_Multilingual_Encyclopedia_(miraheze.org)',
'alt' => 'Monitored by WikiApiary'
]
]
]
],
'wgMaxCredits' => [
'default' => 0,
],
'wgShowCreditsIfMax' => [
'default' => true,
],
// https://www.mediawiki.org/wiki/Skin:Liberty
'wgLibertyUseGravatar' => [
'default' => false,
],
// Files
'wgEnableUploads' => [
'default' => true,
],
// T3797
'wgMaxUploadSize' => [
'default' => 262144000,
],
'wgUploadSizeWarning' => [
'default' => 262144000,
],
'wgAllowCopyUploads' => [
'default' => false,
],
'wgCopyUploadsFromSpecialUpload' => [
'default' => false,
],
'wgGenerateThumbnailOnParse' => [
'default' => false,
],
// Must be kept insync with wgFileExtensions in ManageWikiSettings.php
'wgFileExtensions' => [
'default' => [ 'gif', 'ico', 'jpeg', 'jpg', 'ogg', 'png', 'svg', 'pdf', 'djvu' ],
],
'wgUseInstantCommons' => [
'default' => true,
],
'wgMaxImageArea' => [
'default' => '1.25e7',
],
'wgMirahezeCommons' => [
'default' => true,
],
'wgEnableImageWhitelist' => [
'default' => false,
],
'wgShowArchiveThumbnails' => [
'default' => true,
],
'wgVerifyMimeType' => [
'default' => true,
],
'wgSVGMetadataCutoff' => [
'default' => 262144,
],
'wgSVGConverter' => [
'default' => 'ImageMagick',
],
// Foreground
'wgForegroundFeatures' => [
'default' => [],
'marionetworkwiki' => [
'enableTabs' => true,
'navbarIcon' => true,
'showFooterIcons' => true,
'wikiName' => ''
],
'rotompediawiki' => [
'navbarIcon' => true,
]
],
// Gallery Options
'+wgGalleryOptions' => [
'default' => [],
'dcmultiversewiki' => [
'imagesPerRow' => 0,
'imageWidth' => 120,
'imageHeight' => 120,
'captionLength' => true,
'showBytes' => true,
'showDimensions' => true,
'mode' => 'packed',
],
],
// GlobalBlocking
'wgApplyGlobalBlocks' => [
'default' => true,
'metawiki' => false,
'simcitywiki' => false, // let me do the blocking on my wiki, please
],
'wgGlobalBlockingDatabase' => [
'default' => 'mhglobal', // use mhglobal for global blocks
],
// GlobalCssJs
'wgGlobalCssJsConfig' => [
'default' => [
'wiki' => 'metawiki',
'source' => 'metawiki',
],
],
'+wgResourceLoaderSources' => [
'default' => [
'metawiki' => [
'apiScript' => '//meta.miraheze.org/w/api.php',
'loadScript' => '//meta.miraheze.org/w/load.php',
],
],
],
'wgUseGlobalSiteCssJs' => [
'default' => false,
],
// GlobalPreferences
'wgGlobalPreferencesDB' => [
'default' => 'mhglobal',
],
// GlobalUsage
'wgGlobalUsageDatabase' => [
'default' => 'commonswiki',
],
// GlobalUserPage
'wgGlobalUserPageAPIUrl' => [
'default' => 'https://login.miraheze.org/w/api.php',
],
'wgGlobalUserPageDBname' => [
'default' => 'loginwiki',
],
// Grant Permissions for BotPasswords and OAuth
'+wgGrantPermissions' => [
'default' => [
'basic' => [
'user' => true,
],
],
],
//HideSection
'wgHideSectionImages' => [
'default' => false,
'cikansaiwiki' => [
'show' => 'https://static.miraheze.org/cikansaiwiki/4/43/HideSectionDOWN.png',
'hide' => 'https://static.miraheze.org/cikansaiwiki/b/bd/HideSectionUP.png',
'location' => 'end'
],
],
// HighlightLinks
'wgHighlightLinksInCategory' => [
'default' => [],
'allthetropeswiki' => [
'Trope' => 'trope',
'YMMV_Trope' => 'ymmv',
],
],
// ImageMagick
'wgUseImageMagick' => [
'default' => true,
],
'wgImageMagickCommand' => [
'default' => '/usr/bin/convert',
],
// IncidentReporting
'wgIncidentReportingDatabase' => [
'default' => 'incidents',
],
'wgIncidentReportingServices' => [
'default' => [
'Bacula' => 'https://meta.miraheze.org/wiki/Tech:Bacula',
'DNS' => 'https://meta.miraheze.org/wiki/Tech:DNS',
'Ganglia' => 'https://meta.miraheze.org/wiki/Tech:Ganglia',
'Icinga' => 'https://meta.miraheze.org/wiki/Tech:Icinga',
'LizardFS' => false,
'Mail' => 'https://meta.miraheze.org/wiki/Tech:Mail',
'MariaDB' => 'https://meta.miraheze.org/wiki/Tech:MariaDB',
'Matomo' => 'https://meta.miraheze.org/wiki/Tech:Matomo',
'MediaWiki' => 'https://meta.miraheze.org/wiki/Tech:MediaWiki_appserver',
'NFS' => 'https://meta.miraheze.org/wiki/Tech:NFS',
'NGINX' => 'https://meta.miraheze.org/wiki/Tech:Nginx',
'Parsoid' => 'https://meta.miraheze.org/wiki/Tech:Parsoid',
'Phabricator' => 'https://meta.miraheze.org/wiki/Tech:Phabricator',
'Puppet Server' => 'https://meta.miraheze.org/wiki/Tech:Puppet',
'Redis' => 'https://meta.miraheze.org/wiki/Tech:Redis',
'Salt' => 'https://meta.miraheze.org/wiki/Tech:Salt',
'Service Providers' => false,
'Varnish' => 'https://meta.miraheze.org/wiki/Tech:Varnish',
],
],
'wgIncidentReportingTaskUrl' => [
'default' => 'https://phabricator.miraheze.org/',
],
// Interwiki
'wgEnableScaryTranscluding' => [
'default' => true,
],
'wgInterwikiCentralDB' => [
'default' => 'metawiki',
],
'wgExtraInterlanguageLinkPrefixes' => [
'default' => [],
'+nonciclopediawiki' => [
'dlm',
'olb',
'tlh',
'zombie',
],
'+commonswiki' => [
'wikimediacommons',
'w',
'eswiki',
'wikispecies',
],
'+hispanowiki' => [
'u',
'w',
],
'+privadowiki' => [
'w',
'v',
'n',
],
'+ucroniaswiki' => [
'h',
'w',
'alt',
],
],
// Imports
'wgImportSources' => [
'default' => [
'meta',
'templatewiki',
],
'+incubatorwiki' => [
'wmincubator',
'wikiaincubatorplus',
],
'+metawiki' => [
'wikipedia',
],
'+sesupportwiki' => [
'mrjaroslavikwiki',
],
'+simcitywiki' => [
'wikipedia',
],
'wikitrashwiki' => [
'wikipedia' => [
'it',
],
],
'+zhdelwiki' => [
'wikipedia',
'zhwikipedia',
],
],
// Job Queue
'wgJobRunRate' => [
'default' => 0,
],
// Kartographer
'wgKartographerWikivoyageMode' => [
'default' => false,
],
'wgKartographerUseMarkerStyle' => [
'default' => false,
],
// Language
'wgLanguageCode' => [ // Hardcode "en"
'default' => 'en',
],
// License
'wgRightsIcon' => [
'default' => 'https://meta.miraheze.org/w/resources/assets/licenses/cc-by-sa.png',
'freesoftwarepediawiki' => 'https://upload.wikimedia.org/wikipedia/commons/4/42/GFDL_Logo.svg',
'jadtechwiki' => "https://$wmgUploadHostname/jadtechwiki/d/d8/CopyrightIcon.png",
'revitwiki' => "https://$wmgUploadHostname/revitwiki/d/d8/All_Rights_Reserved.png",
],
'wgRightsPage' => [
'default' => '',
'diavwiki' => 'Project:Copyrights',
'kstartupswiki' => 'Project:저작권',
'wisdomwikiwiki' => 'Copyleft',
],
'wgRightsText' => [
'default' => 'Creative Commons Attribution Share Alike',
'airforcewiki' => 'Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)',
'armywiki' => 'Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)',
'freesoftwarepediawiki' => 'GNU Free Documentation License',
'exlinkwikiwiki' => 'Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)',
'incubatorwiki' => 'Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)',
'isvwiki' => 'Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)',
'jadtechwiki' => 'Copyright © Jak and Daxter Technical Wiki. All rights reserved.',
'militarywiki' => 'Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)',
'privadowiki' => 'Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)',
'revitwiki' => '©2013-2019 by Lionel J. Camara (All Rights Reserved)',
'reviwikiwiki' => 'Creative Commons Attribution Share Alike',
'wikidemocracywiki' => 'Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)',
'wikigrowthwiki' => 'Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)',
'wikilexiconwiki' => 'Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)',
'worldtrainwikiwiki' => 'Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)',
],
'wgRightsUrl' => [
'default' => 'https://creativecommons.org/licenses/by-sa/4.0/',
'airforcewiki' => 'https://creativecommons.org/licenses/by-sa/3.0',
'armywiki' => 'https://creativecommons.org/licenses/by-sa/3.0',
'freesoftwarepediawiki' => 'http://www.gnu.org/licenses/fdl-1.3.html',
'exlinkwikiwiki' => 'https://creativecommons.org/licenses/by-sa/3.0',
'incubatorwiki' => 'https://creativecommons.org/licenses/by-sa/3.0',
'isvwiki' => 'https://creativecommons.org/licenses/by-sa/3.0',
'jadtechwiki' => 'https://jadtech.miraheze.org/wiki/MediaWiki:Copyright',
'militarywiki' => 'https://creativecommons.org/licenses/by-sa/3.0',
'privadowiki' => 'https://creativecommons.org/licenses/by-sa/3.0',
'revitwiki' => 'https://revit.miraheze.org/wiki/MediaWiki:Copyright',
'reviwikiwiki' => 'https://creativecommons.org/licenses/by-sa/2.0/kr',
'wikidemocracywiki' => 'https://creativecommons.org/licenses/by-sa/3.0',
'wikigrowthwiki' => 'https://creativecommons.org/licenses/by-sa/3.0',
'wikilexiconwiki' => 'https://creativecommons.org/licenses/by-sa/3.0',
'worldtrainwikiwiki' => 'https://creativecommons.org/licenses/by-sa/3.0',
],
'wmgWikiLicense' => [
'default' => 'cc-by-sa',
],
// Links?
'+wgUrlProtocols' => [
'default' => [],
// file protocol only allowed on private wikis
'bchwiki' => [ "file://" ],
'gzewiki' => [ "file://" ],
'kaiwiki' => [ "file://" ],
'vtwiki' => [ "discord://" ],
],
// LiliPond
'wgScoreLilyPond' => [
'default' => '/dev/null',
],
// Mail
'wgEnableEmail' => [
'default' => true,
],
// When changing the default,
// also updated ManageWiki.php ("Moderation Email") with the new default.
'wgPasswordSender' => [
'default' => 'noreply@miraheze.org',
],
'wgSMTP' => [
'default' => [
'host' => 'mail.miraheze.org',
'port' => 25,
'IDHost' => 'miraheze.org',
'auth' => true,
'username' => 'noreply',
'password' => $wmgSMTPPassword,
],
],
'wgEnotifWatchlist' => [
'default' => true,
],
'wgUserEmailUseReplyTo' => [
'default' => true,
],
'wgEmailConfirmToEdit' => [
'default' => false,
],
'wgEmergencyContact' => [
'default' => 'noreply@miraheze.org',
],
// ManageWiki
'wgManageWiki' => [
'default' => [
'core' => true,
'extensions' => true,
'namespaces' => true,
'permissions' => true,
'settings' => true
],
],
'wgManageWikiExtensionsDefault' => [
'default' => [
'categorytree',
'cite',
'citethispage',
'darkmode',
'globaluserpage',
'mobilefrontend',
'syntaxhighlight_geshi',
],
],
'wgManageWikiCDBDirectory' => [
'default' => '/srv/mediawiki/w/cache/managewiki',
],
'wgManageWikiNamespacesExtraContentModels' => [
'default' => [
'Scribunto' => 'Scribunto',
],
],
'wgManageWikiPermissionsAdditionalAddGroups' => [
'default' => [],
'rf1botwiki' => [
'bureaucrat' => [
'Repo_Maintainer',
],
],
'simcitywiki' => [
'founder' => [
'banned',
],
],
'sesupportwiki' => [
'sysop' => [
'editor',
],
],
],
'wgManageWikiPermissionsAdditionalRights' => [
'default' => [
'*' => [
'autocreateaccount' => true,
'read' => true,
],
'checkuser' => [
'checkuser' => true,
'checkuser-log' => true,
],
'interwiki-admin' => [
'interwiki' => true
],
'oversight' => [
'abusefilter-hidden-log' => true,
'abusefilter-hide-log' => true,
'browsearchive' => true,
'deletedhistory' => true,
'deletedtext' => true,
'deletelogentry' => true,
'deleterevision' => true,
'hideuser' => true,
'suppressionlog' => true,
'suppressrevision' => true,
],
'user' => [
'mwoauthmanagemygrants' => true,
'user' => true,
],
'steward' => [
'centralauth-usermerge' => true,
'usermerge' => true,
'userrights' => true,
],
],
'+autocountwiki' => [
'authors' => [
'torunblocked' => true,
'read' => true,
],
],
'+bitcoindebateswiki' => [
'emailconfirmed' => [
'read' => true,
],
],
'+cmgwiki' => [
'gst' => [
'read' => true,
],
],
'+cyclonepediawiki' => [
'bureaucrat' => [
'bureaucrat' => true,
],
'extendedconfirmed' => [
'extendedconfirmed' => true,
],
'sysop' => [
'extendedconfirmed' => true,
],
],
'+dpwiki' => [
'bureaucrat' => [
'bureaucrat' => true,
'respected' => true,
],
'respected' => [
'respected' => true,
],
],
'+enigmawiki' => [
'scribe' => [
'read' => true,
],
],
'+hypopediawiki' => [
'bureaucrat' => [
'bureaucrat' => true,
],
],
'+igrovyesistemywiki' => [
'autopatrolled' => [
'trusted' => true,
],
'autoreview' => [
'trusted' => true,
],
'bot' => [
'trusted' => true,
],
'editor' => [
'trusted' => true,
],
'reviewer' => [
'trusted' => true,
],
'co' => [
'co' => true,
'ceo' => true,
'trusted' => true,
],
'bureaucrat' => [
'bureaucrat' => true,
'trusted' => true,
],
'sysmag' => [
'sysmag' => true,
'trusted' => true,
],
'sysop' => [
'trusted' => true,
],
'ceo' => [
'bureaucrat' => true,
'sysmag' => true,
'trusted' => true,
],
'UserType1' => [
'UserType1' => true,
],
'UserType2' => [
'UserType2' => true,
],
'UserType3' => [
'UserType3' => true,
],
'UserType4' => [
'UserType4' => true,
],
'UserType5' => [
'UserType5' => true,
],
'UserType6' => [
'UserType6' => true,
],
'UserType7' => [
'UserType7' => true,
],
],
'+jacksonheightswiki' => [
'emailconfirmed' => [
'read' => true,
],
],
'+jayuwikiwiki' => [
'sysop' => [
'editvoter' => true,
],
'voter' => [
'editvoter' => true,
],
],
'+lcars47wiki' => [
'bureaucrat' => [
'bureaucrat' => true,
],
'devteam' => [
'bureaucrat' => true,
'read' => true,
'devteam' => true,
],
],
'+marthaspeakswiki' => [
'sysop' => [
'templateeditor' => true,
],
'templateeditor' => [
'templateeditor' => true,
],
],
'+nenawikiwiki' => [
'emailconfirmed' => [
'read' => true,
],
],
'+metawiki' => [
'confirmed' => [
'mwoauthproposeconsumer' => true,
'mwoauthupdateownconsumer' => true,
],
'globalsysop' => [
'abusefilter-modify-global' => true,
'centralauth-lock' => true,
'globalblock' => true,
],
'proxybot' => [
'globalblock' => true,
'centralauth-lock' => true,
],
'steward' => [
'abusefilter-modify-global' => true,
'centralauth-lock' => true,
'centralauth-oversight' => true,
'centralauth-rename' => true,
'centralauth-unmerge' => true,
'createwiki' => true,
'globalblock' => true,
'managewiki' => true,
'managewiki-restricted' => true,
'noratelimit' => true,
'userrights' => true,
'userrights-interwiki' => true,
],
'sysop' => [
'interwiki' => true,
],
'user' => [
'requestwiki' => true,
],
'wikicreator' => [
'createwiki' => true,
],
],
'+nenawikiwiki' => [
'editor' => [
'edit-content-pages' => true,
'edit-talkpage' => true,
],
'nenamembers' => [
'edit-talkpage' => true,
],
'sysop' => [
'edit-admin-pages' => true,
],
],
'+pruebawiki' => [
'bureaucrat' => [
'bureaucrat' => true,
],
'consul' => [
'read' => true,
'bureaucrat' => true,
'consul' => true,
'torunblocked' => true,
],
'testgroup' => [
'read' => true,
],
],
'+quircwiki' => [
'QuIRC_Staff' => [
'editstaffprotected' => true,
],
],
'+radviserwiki' => [
'editor' => [
'editor' => true,
],
'sysop' => [
'editor' => true,
],
],
'+rf1botwiki' => [
'Repo_Maintainer' => [
'editrepos' => true,
],
],
'+sau226wiki' => [
'bureaucrat' => [
'bureaucrat' => true,
],
'consul' => [
'bureaucrat' => true,
'consul' => true,
'read' => true,
],
'testgroup' => [
'read' => true,
],
],
'+sesupportwiki' => [
'editor' => [
'editor' => true,
],
'sysop' => [
'editor' => true,
],
],
'+serinfhospwiki' => [
'SupportStaff' => [
'read' => true,
],
'SalesStaff' => [
'read' => true,
],
'PreSalesStaff' => [
'read' => true,
],
],
'simcitywiki' => [
'steward' => [
'hideuser' => true,
'abusefilter-hide-log' => true,
'abusefilter-hidden-log' => true,
'abusefilter-privatedetails' => true,
'abusefilter-privatedetails-log' => true,
'suppressionlog' => true,
'suppressrevision' => true,
'viewsuppressed' => true,
'interwiki' => true,
'centralauth-rename' => true,
'renameuser' => true,
'checkuser' => true,
'checkuser-log' => true,
'managewiki-restricted' => true,
'bigdelete' => true,
'userrights' => true,
'usermerge' => true,
'centralauth-usermerge' => true,
'oathauth-enable' => true,
],
'user' => [
'mwoauthmanagemygrants' => true,
],
],
'+sovereignwiki' => [
'officer' => [
'read' => true,
'officer' => true,
],
'game-master' => [
'read' => true,
'game-master' => true,
],
],
'+ssptopwiki' => [
'read-only' => [
'read' => true,
],
],
'+swisscomraidwiki' => [
'emailconfirmed' => [
'read' => true,
],
],
'+svwiki' => [
'bureaucrat' => [
'bureaucrat' => true,
],
'consul' => [
'bureaucrat' => true,
'consul' => true,
'read' => true,
],
'testgroup' => [
'read' => true,
],
],
'+testwiki' => [
'consul' => [
'consul' => true,
'bureaucrat' => true,
],
'bureaucrat' => [
'bureaucrat' => true,
],
],
'+thesciencearchiveswiki' => [
'sysop' => [
'templateeditor' => true,
],
'templateeditor' => [
'templateeditor' => true,
],
],
'+trexwiki' => [
'co' => [
'co' => true,
'ceo' => true,
],
'ceo' => [
'ceo' => true,
'editors' => true,
],
'bureaucrat' => [
'bureaucrat' => true,
],
],
'+vnenderbotwiki' => [
'templateeditor' => [
'template' => true,
],
'extendedconfirmed' => [
'extendedconfirmed' => true,
],
'Owner' => [
'template' => true,
'extendedconfirmed' => true,
'owner' => true,
],
],
'+whentheycrywiki' => [
'user' => [
'edit-create' => true,
],
],
'+wikitestwiki' => [
'consul' => [
'consul' => true,
'bureaucrat' => true,
],
'bureaucrat' => [
'bureaucrat' => true,
],
],
'+yeoksawiki' => [
'sysop' => [
'project-edit' => true,
],
],
],
'wgManageWikiPermissionsAdditionalRemoveGroups' => [
'default' => [],
'rf1botwiki' => [
'bureaucrat' => [
'Repo_Maintainer',
],
],
'sesupportwiki' => [
'sysop' => [
'editor',
],
],
'simcitywiki' => [
'founder' => [
'banned',
],
],
],
'wgManageWikiPermissionsBlacklistRights' => [
'default' => [
'any' => [
'abusefilter-hide-log',
'abusefilter-hidden-log',
'abusefilter-modify-global',
'abusefilter-private',
'abusefilter-private-log',
'abusefilter-privatedetails',
'abusefilter-privatedetails-log',
'aft-oversighter',
'autocreateaccount',
'bigdelete',
'centralauth-lock',
'centralauth-oversight',
'centralauth-rename',
'centralauth-unmerge',
'centralauth-usermerge',
'checkuser',
'checkuser-log',
'createwiki',
'editincidents',
'editothersprofiles-private',
'flow-suppress',
'globalblock',
'globalblock-exempt',
'globalgroupmembership',
'globalgrouppermissions',
'hideuser',
'interwiki',
'investigate',
'managewiki-restricted',
'managewiki-editdefault',
'moderation-checkuser',
'mwoauthmanageconsumer',
'mwoauthmanagemygrants',
'mwoauthsuppress',
'mwoauthviewprivate',
'mwoauthviewsuppressed',
'oathauth-api-all',
'oathauth-disable-for-user',
'oathauth-verify-user',
'oathauth-view-log',
'renameuser',
'requestwiki',
'siteadmin',
'stopforumspam',
'suppressionlog',
'suppressrevision',
'titleblacklistlog',
'usermerge',
'userrights',
'userrights-interwiki',
'viewglobalprivatefiles',
'viewpmlog',
'viewsuppressed',
],
'*' => [
'read',
'skipcaptcha',
'torunblocked',
'centralauth-merge',
'generate-dump',
],
],
],
'wgManageWikiPermissionsBlacklistGroups' => [
'default' => [
'checkuser',
'oversight',
'steward',
'staff',
'interwiki-admin',
],
],
'wgManageWikiPermissionsDefaultPrivateGroup' => [
'default' => 'member',
],
'wgManageWikiHelpUrl' => [
'default' => '//meta.miraheze.org/wiki/ManageWiki',
],
'wgManageWikiForceSidebarLinks' => [
'default' => false,
],
'wgManageWikiNamespacesAdditional' => [
'default' => [
// Core config
'wgExtraSignatureNamespaces' => [
'name' => 'Enable "Signature" button on the edit toolbar under both main and talk pages.',
'main' => true,
'talk' => false,
'blacklisted' => [],
'vestyle' => false,
'overridedefault' => [],
],
],
],
// MassMessage
'wgAllowGlobalMessaging' => [
'default' => false,
'metawiki' => true,
],
// MatomoAnalytics
'wgMatomoAnalyticsDatabase' => [
'default' => 'mhglobal',
],
'wgMatomoAnalyticsServerURL' => [
'default' => 'https://matomo.miraheze.org/',
],
'wgMatomoAnalyticsUseDB' => [
'default' => true,
],
'wgMatomoAnalyticsGlobalID' => [
'default' => 1,
],
'wgMatomoAnalyticsDisableCookie' => [
'default' => true,
],
// MediaWikiChat settings
'wgChatLinkUsernames' => [
'default' => false,
],
'wgChatMeCommand' => [
'default' => false,
],
//Medik settings
'wgMedikShowLogo' => [
'default' => false,
'marionetworkwiki' => 'main',
],
'wgMedikContentWidth' => [
'default' => false,
'marionetworkwiki' => 'full',
],
'wgMedikColor' => [
'default' => false,
'marionetworkwiki' => '#ca0019',
],
'wgMedikLogoWidth' => [
'default' => 'null',
'marionetworkwiki' => '210px',
],
'wgMedikUseLogoWithoutText' => [
'default' => false,
'marionetworkwiki' => true,
],
// Metrolook settings
'wgMetrolookDownArrow' => [
'default' => true,
],
'wgMetrolookUploadButton' => [
'default' => true,
],
'wgMetrolookBartile' => [
'default' => true,
],
'wgMetrolookMobile' => [
'default' => true,
],
'wgMetrolookUseIconWatch' => [
'default' => true,
],
'wgMetrolookLine' => [
'default' => true,
],
'wgMetrolookFeatures' => [
'default' => [
'collapsiblenav' => [
'global' => false,
'user' => true
]
],
'thegreatwarwiki' => [
'collapsiblenav' => [
'global' => true,
'user' => true
]
],
],
'wgMinervaEnableSiteNotice' => [
'default' => true,
],
// miraheze specific config
'wgServicesRepo' => [
'default' => '/srv/services/services',
],
'wgMirahezeServicesExtensions' => [
'default' => [ 'VisualEditor', 'Flow' ],
],
// Misc. stuff
'wgSitename' => [
'default' => 'No sitename set!',
],
'wgAllowDisplayTitle' => [
'default' => true,
],
'wgRestrictDisplayTitle' => [
'default' => true, // Wikis with NoTitle have it set to false
],
'wgAllowExternalImagesFrom' => [
'default' => '',
'nonbinarywiki' => 'https://static.miraheze.org/',
],
'wgCapitalLinks' => [
'default' => true,
],
'wgActiveUserDays' => [
'default' => 30,
],
'wgEnableCanonicalServerLink' => [
'default' => false,
],
'wgPageCreationLog' => [
'default' => true,
],
'wgRCWatchCategoryMembership' => [
'default' => false,
],
// Disable in ManageWiki to require all edits, even those by admins, to be approved
'egApprovedRevsAutomaticApprovals' => [
'default' => true,
],
'wgTrustedMediaFormats' => [
'default' => [
MEDIATYPE_BITMAP,
MEDIATYPE_AUDIO,
MEDIATYPE_VIDEO,
"image/svg+xml",
"application/pdf",
],
'+polytopewiki' => [
MEDIATYPE_TEXT,
],
],
// MobileFrontend
'wmgMFAutodetectMobileView' => [
'default' => false,
],
'wgMFDefaultSkinClass' => [
'default' => 'SkinMinerva',
],
'wgMobileUrlTemplate' => [
'default' => '',
],
// Moderation extension settings
// Enable or disable notifications.
'wgModerationNotificationEnable' => [
'default' => false,
],
// Notify administrator only about new pages requests.
'wgModerationNotificationNewOnly' => [
'default' => false,
],
// Email to send notifications to.
'wgModerationEmail' => [
'default' => $wgPasswordSender,
],
'wgModerationIgnoredInNamespaces' => [
'default' => [],
'talenteddeviantswiki' => [
NS_USER,
],
],
'wgModerationOnlyInNamespaces' => [
'default' => [],
'talenteddeviantswiki' => [
NS_MAIN,
NS_FILE
],
],
// MsCatSelect vars
'wgMSCS_WarnNoCategories' => [
'default' => true,
],
// MsUpload settings
'wgMSU_useDragDrop' => [
'default' => true,
],
'wgMSU_showAutoCat' => [
'default' => false,
],
'wgMSU_checkAutoCat' => [
'default' => false,
],
'wgMSU_confirmReplace' => [
'default' => false,
],
// MultiBoilerplate settings
'wgMultiBoilerplateDiplaySpecialPage' => [
'default' => false,
],
// MultimediaViewer (not beta)
'wgMediaViewerEnableByDefault' => [
'default' => false,
],
// MobileFrontend
'wgMFNoMobilePages' => [
'default' => [],
'alwikiwiki' => [
'Main Page',
],
],
// Math
'wgMathoidCli' => [
'default' => [
'/srv/mathoid/cli.js',
'-c',
'/etc/mathoid/config.yaml'
]
],
'wgMathValidModes' => [
'default' => [ 'mathml' ],
],
// New User Email Notification
'wgNewUserNotifEmailTargets' => [
'default' => [],
'femmanwiki' => [ 'gustav@nyvell.net' ],
],
// OATHAuth
'wgOATHAuthDatabase' => [
'default' => 'mhglobal',
],
// OAuth
'wgMWOAuthCentralWiki' => [
'default' => 'metawiki',
],
'wgMWOAuthSharedUserSource' => [
'default' => 'CentralAuth',
],
'wgMWOAuthSecureTokenTransfer' => [
'default' => true,
],
// Pagelang
'wgPageLanguageUseDB' => [
'default' => false,
],
// Used for the PageDisqus extension
'wgPageDisqusShortname' => [
'default' => null,
],
// Used for the DisqusTag extension
'wgDisqusShortname' => [
'default' => null,
],
// Page Size
'wgMaxArticleSize' => [
'default' => 2048,
],
// Permissions
'wgGroupsAddToSelf' => [
'default' => [],
],
'wgGroupsRemoveFromSelf' => [
'default' => [],
],
'wgRevokePermissions' => [
'default' => [],
'ssptopwiki' => [
'read-only' => [
'edit' => true,
],
],
'simcitywiki' => [
'banned' => [
'read' => true,
'createaccount' => true,
'viewmywatchlist' => true,
'viewmyprivateinfo' => true,
'editmywatchlist' => true,
'editmyoptions' => true,
'editmyprivateinfo' => true,
],
],
],
'wgImplicitGroups' => [
'default' => [ '*', 'user', 'autoconfirmed' ],
'bitcoindebateswiki' => [ '*', 'user', 'autoconfirmed', 'emailconfirmed' ],
],
// Password policy
'wgPasswordPolicy' => [
'default' => [
'policies' => [
'default' => [
'MinimalPasswordLength' => 6,
'PasswordCannotMatchUsername' => true,
'PasswordCannotMatchBlacklist' => true,
'MaximalPasswordLength' => 4096,
],
'bot' => [
'MinimalPasswordLength' => 8,
'MinimumPasswordLengthToLogin' => 6,
'PasswordCannotMatchUsername' => true,
],
'sysop' => [
'MinimalPasswordLength' => 8,
'MinimumPasswordLengthToLogin' => 6,
'PasswordCannotMatchUsername' => true,
'PasswordCannotBePopular' => 25,
],
'bureaucrat' => [
'MinimalPasswordLength' => 8,
'MinimumPasswordLengthToLogin' => 6,
'PasswordCannotMatchUsername' => true,
'PasswordCannotBePopular' => 25,
],
],
'checks' => [
'MinimalPasswordLength' => 'PasswordPolicyChecks::checkMinimalPasswordLength',
'MinimumPasswordLengthToLogin' => 'PasswordPolicyChecks::checkMinimumPasswordLengthToLogin',
'PasswordCannotMatchUsername' => 'PasswordPolicyChecks::checkPasswordCannotMatchUsername',
'PasswordCannotMatchBlacklist' => 'PasswordPolicyChecks::checkPasswordCannotMatchBlacklist',
'MaximalPasswordLength' => 'PasswordPolicyChecks::checkMaximalPasswordLength',
'PasswordCannotBePopular' => 'PasswordPolicyChecks::checkPopularPasswordBlacklist'
],
],
],
// Preferences
'+wgDefaultUserOptions' => [
'default' => [
'enotifwatchlistpages' => 0,
'math' => 'mathml',
'usebetatoolbar' => 1,
'usebetatoolbar-cgd' => 1
],
'+isvwiki' => [
'flow-topiclist-sortby' => 'newest',
],
'+reviwikiwiki' => [
'usenewrc' => 0
],
'+solarawiki' => [
'usecodemirror' => 1,
],
'+dcmultiversewiki' => [
'usecodemirror' => 1,
'visualeditor-newwikitext' => 1,
'visualeditor-enable' => 1,
'usebetatoolbar' => 0,
'usebetatoolbar-cgd' => 0,
'visualeditor-enable-experimental' => 1,
],
'+yablestudiowiki' => [
'visualeditor-newwikitext' => 1,
'visualeditor-enable' => 1,
'visualeditor-tabs' => 'multi-tab',
],
],
'+wgHiddenPrefs' => [
'default' => [],
'dcmultiversewiki' => [
'managewikisidebar',
'math',
'multimediaviewer-enable',
'visualeditor-betatempdisable',
'flow-visualeditor',
'visualeditor-newwikitext',
'visualeditor-enable',
],
'marionetworkwiki' => [
'skin',
],
],
// Redis
'wmgRedisSettings' => [
'default' => [
'cache' => [
'server' => '/run/nutcracker/nutcracker.sock',
'password' => $wmgRedisPassword,
],
'jobrunner' => [
'server' => '51.89.160.135:6379',
'password' => $wmgRedisPassword,
],
],
],
// RateLimits
'+wgRateLimits' => [
'default' => [],
'metawiki' => [
'requestwiki' => [
'user' => [ 1, 3600 ],
],
],
],
// RecentChanges
'wgRCMaxAge' => [
'default' => 180 * 24 * 3600,
],
'wgRCLinkDays' => [
'default' => [ 1, 3, 7, 14, 30 ],
],
// RelatedArticles settings
'wgRelatedArticlesFooterWhitelistedSkins' => [
'default' => [
'minerva',
'timeless',
'vector',
],
],
'wgRelatedArticlesUseCirrusSearch' => [
'default' => false,
],
// Restriction types
'wgRestrictionLevels' => [
'default' => [
'',
'user',
'autoconfirmed',
'sysop'
],
'+wikitestwiki' => [
'bureaucrat',
'consul',
],
'+bigforestwiki' => [
'editvoter',
],
'+cmgwiki' => [
'bureaucrat',
'sysop',
'pm',
'member',
],
'+csydeswiki' => [
'author',
],
'+cyclonepediawiki' => [
'bureaucrat',
'extendedconfirmed',
],
'+dpwiki' => [
'bureaucrat',
'respected',
],
'+hypopediawiki' => [
'bureaucrat',
],
'igrovyesistemywiki' => [
'trusted',
'sysmag',
'bureaucrat',
'ceo',
'co',
],
'+kyivstarwiki' => [
'co',
'ceo',
'editor',
'extendedconfirmed',
'sysmag',
'trusted',
],
'+lcars47wiki' => [
'bureaucrat',
'devteam',
],
'+marthaspeakswiki' => [
'templateeditor',
],
'+quircwiki' => [
'editstaffprotected',
],
'+rf1botwiki' => [
'editrepos',
],
'+sau226wiki' => [
'bureaucrat',
'consul',
],
'+jayuwikiwiki' => [
'editvoter',
],
'+pruebawiki' => [
'bureaucrat',
'consul',
],
'+radviserwiki' => [
'editor',
],
'+sesupportwiki' => [
'editor',
],
'simcitywiki' => [
'autoconfirmed',
'sysop',
],
'+sovereignwiki' => [
'officer',
'game-master',
],
'+studynotekrwiki' => [
'voter',
],
'+testwiki' => [
'bureaucrat',
'consul',
],
'+test2wiki' => [
'author',
],
'+thesciencearchiveswiki' => [
'templateeditor',
],
'+trexwiki' => [
'sysmag',
'bureaucrat',
'ceo',
'co',
],
'+vnenderbotwiki' => [
'template',
'extendedconfirmed',
'owner'
],
],
'wgRestrictionTypes' => [
'default' => [
'create',
'edit',
'move',
'upload',
'delete',
'protect'
],
],
// RottenLinks
'wgRottenLinksCurlTimeout' => [
'default' => 10,
],
// Robot policy
'wgDefaultRobotPolicy' => [
'default' => 'index,follow',
],
// Robot policy
'wgNamespaceRobotPolicies' => [
'default' => [
'NS_SPECIAL' => 'noindex',
],
'+taswinwiki' => [
'NS_TEMPLATE' => 'noindex,nofollow',
],
'+horizonwiki' => [
'NS_MAIN' => 'index,follow'
],
'+hispanowiki' => [
'NS_TEMPLATE' => 'noindex,nofollow',
'NS_MODULE' => 'noindex,nofollow',
'NS_MEDIAWIKI' => 'noindex,nofollow',
'NS_USER' => 'noindex,nofollow',
],
'+privadowiki' => [
'NS_TEMPLATE' => 'noindex,nofollow',
'NS_MODULE' => 'noindex,nofollow',
'NS_MEDIAWIKI' => 'noindex,nofollow',
'NS_USER' => 'noindex,nofollow',
],
'+ucroniaswiki' => [
'NS_TEMPLATE' => 'noindex,nofollow',
'NS_MODULE' => 'noindex,nofollow',
'NS_MEDIAWIKI' => 'noindex,nofollow',
'NS_USER' => 'noindex,nofollow',
'NS_ANEXO' => 'index,follow',
],
],
// Referrer Policy
'wgReferrerPolicy' => [
'default' => [ 'origin-when-cross-origin', 'origin' ],
],
// RSS Settings
'wgRSSCacheAge' => [
'default' => '3600'
],
'wgRSSProxy' => [
'default' => false,
],
'wgRSSDateDefaultFormat' => [
'default' => 'Y-m-d H:i:s'
],
// Scribunto
'wgCodeEditorEnableCore' => [
'default' => true,
],
'wgScribuntoUseCodeEditor' => [
'default' => true,
],
//
'wgScribuntoSlowFunctionThreshold' => [
'default' => 0.99,
],
'wgScribuntoEngineConf' => [
'default' => [
'luasandbox' => [
'class' => "Scribunto_LuaSandboxEngine",
'memoryLimit' => 52428800,
'cpuLimit' => 10,
'profilerPeriod' => 0.02,
'allowEnvFuncs' => false,
'maxLangCacheSize' => 200
],
'luastandalone' => [
'class' => "Scribunto_LuaStandaloneEngine",
'errorFile' => null,
'luaPath' => null,
'memoryLimit' => 52428800,
'cpuLimit' => 10,
'profilerPeriod' => 0.02,
'allowEnvFuncs' => false,
'maxLangCacheSize' => 200
],
'luaautodetect' => [
'factory' => 'Scribunto_LuaEngine::newAutodetectEngine',
],
],
],
// SimpleChanges
'wgSimpleChangesOnlyContentNamespaces' => [
'default' => false,
],
'wgSimpleChangesOnlyLatest' => [
'default' => true,
],
'wgSimpleChangesShowUser' => [
'default' => false,
],
// WikiSEO configs
'wgTwitterCardType' => [
'default' => 'summary_large_image',
],
'wgGoogleSiteVerificationKey' => [
'default' => null,
],
'wgBingSiteVerificationKey' => [
'default' => null,
],
'wgFacebookAppId' => [
'default' => null,
],
'wgYandexSiteVerificationKey' => [
'default' => null,
],
'wgAlexaSiteVerificationKey' => [
'default' => null,
],
'wgPinterestSiteVerificationKey' => [
'default' => null,
],
'wgExpensiveParserFunctionLimit' => [
'default' => 99, //per https://www.mediawiki.org/wiki/Manual:$wgExpensiveParserFunctionLimit
],
// Site notice opt out
'wmgSiteNoticeOptOut' => [
'default' => false,
],
// Server
'wgArticlePath' => [
'default' => '/wiki/$1',
],
'wgDisableOutputCompression' => [
'default' => true,
],
'wgScriptExtension' => [
'default' => '.php',
],
'wgScriptPath' => [
'default' => '/w',
],
'wgServer' => [
'default' => 'https://miraheze.org',
],
'wgShowHostnames' => [
'default' => true,
],
'wgUsePathInfo' => [
'default' => true,
],
// Shell
'wgMaxShellMemory' => [
'default' => 2097152
],
// SiteNotice
'wgDismissableSiteNoticeForAnons' => [
'default' => true,
],
// Skins
'+wgSkipSkins' => [
'default' => [],
'marionetworkwiki' => [
'cologneblue',
'modern',
'monobook',
'vector',
'timeless',
'minerva',
'minervaneue'
],
],
// SocialProfile
'wgUserBoard' => [
'default' => false,
],
'wgUserProfileThresholds' => [
'default' => [
'edits' => 0,
],
'allthetropes' => [
'edits' => 10,
],
],
'wgUserProfileDisplay' => [
'default' => [
'activity' => false,
'articles' => true, // Blog
'avatar' => true,
'awards' => true,
'board' => false,
'custom' => true,
'foes' => false,
'friends' => false,
'games' => false,
'gifts' => true,
'interests' => true,
'personal' => true,
'profile' => true,
'stats' => false,
'userboxes' => false,
],
],
'wgUserStatsPointValues' => [
'default' => [
'edit' => 50,
'vote' => 0,
'comment' => 0,
'comment_plus' => 0,
'comment_ignored' => 0,
'opinions_created' => 0,
'opinions_pub' => 0,
'referral_complete' => 0,
'friend' => 0,
'foe' => 0,
'gift_rec' => 0,
'gift_sent' => 0,
'points_winner_weekly' => 0,
'points_winner_monthly' => 0,
'user_image' => 1000,
'poll_vote' => 0,
'quiz_points' => 0,
'quiz_created' => 0,
],
'uncyclopedia2wiki' => [
'edit' => 50,
'vote' => 10,
'comment' => 0,
'comment_plus' => 40,
'comment_ignored' => -10,
'opinions_created' => 0,
'opinions_pub' => 10,
'referral_complete' => 0,
'friend' => 100,
'foe' => 0,
'gift_rec' => 25,
'gift_sent' => 10,
'points_winner_weekly' => 0,
'points_winner_monthly' => 0,
'user_image' => 1000,
'poll_vote' => 10,
'quiz_points' => 50,
'quiz_created' => 20,
],
],
'wgFriendingEnabled' => [
'default' => true,
'allthetropeswiki' => false,
],
// Statistics
'wgArticleCountMethod' => [
'default' => 'link', // To update it, you will need to run the maintenance/updateArticleCount.php script
'fourleafficswiki' => 'any',
'gfiwiki' => 'any',
'hispanowiki' => 'any',
'hispano76wiki' => 'any',
'hrfwiki2' => 'any',
'ildrilwiki' => 'any',
'lothuialethwiki' => 'any',
'nonciclopediawiki' => 'any',
'privadowiki' => 'any',
'simswiki' => 'any',
'ucroniaswiki' => 'any',
],
// Vanish (MW 1.34+)
'wgUseCdn' => [
'default' => true,
],
'wgCdnServers' => [
'default' => [
'128.199.139.216:81', // cp3
'51.77.107.210:81', // cp6
'51.89.160.142:81', // cp7
'51.222.27.129:81', // cp9
],
],
// Style
'wgAllowUserCss' => [
'default' => true,
],
'wgAllowUserJs' => [
'default' => true,
],
'wgAppleTouchIcon' => [
'default' => '/apple-touch-icon.png',
],
'wgCentralAuthLoginIcon' => [
'default' => '/usr/share/nginx/favicons/default.ico',
],
'wgDefaultSkin' => [
'default' => 'vector',
],
'wgFavicon' => [
'default' => '/favicon.ico',
],
'wgLogo' => [
'default' => "https://$wmgUploadHostname/metawiki/3/35/Miraheze_Logo.svg",
],
// Timezone
'wgLocaltimezone' => [
'default' => 'UTC',
],
// Theme
'wgDefaultTheme' => [
'default' => "",
],
// TitleBlacklist
'wgTitleBlacklistSources' => [
'default' => [
'global' => [
'type' => 'url',
'src' => 'https://meta.miraheze.org/w/index.php?title=Title_blacklist&action=raw',
],
],
],
'wgTitleBlacklistUsernameSources' => [
'default' => '*',
],
'wgTitleBlacklistLogHits' => [
'default' => false,
],
'wgTitleBlacklistBlockAutoAccountCreation' => [
'default' => false,
],
'wgTidyConfig' => [
'default' => [
'driver' => 'RemexHtml'
],
],
// Translate
'wmgTranslateBlacklist' => [
'default' => [],
'metawiki' => [
'*' => [
'en' => 'English is the source language.',
],
],
'spiralwiki' => [
'*' => [
'en' => 'English is the source language.',
],
],
],
'wmgTranslateTranslationServices' => [
'default' => [],
],
'wmgTranslateDocumentationLanguageCode' => [
'default' => false,
'metawiki' => 'qqq',
],
'wmgUseYandexTranslate' => [
'default' => false,
],
// Uploads
'wmgPrivateUploads' => [
'default' => false,
'ciptamediawiki' => true,
'rhinosf1wiki' => true,
'staffwiki' => true,
'stateofwiki' => true,
'mikekilitterboxwiki' => true
],
// UniversalLanguageSelector
'wgULSAnonCanChangeLanguage' => [
'default' => false,
],
// UrlShortener
'wgUrlShortenerTemplate' => [
'default' => '/m/$1',
],
'wgUrlShortenerDBName' => [
'default' => 'metawiki',
],
'wgUrlShortenerDomainsWhitelist' => [
'default' => [
'(.*\.)?miraheze\.org',
'adadevelopersacademy\.wiki',
'allthetropes\.org',
'aman\.info\.tm',
'antiguabarbudacalypso\.com',
'astrapedia\.ru',
'athenapedia\.org',
'b1tes\.org',
'bconnected\.aidanmarkham\.com',
'bebaskanpengetahuan\.org',
'wiki\.ameciclo\.org',
'wiki\.autocountsoft\.com',
'wiki\.besuccess\.com',
'wiki\.clonedeploy\.org',
'wiki\.ciptamedia\.org',
'wiki\.consentcraft\.uk',
'cornetto\.online',
'dariawiki\.org',
'decrypted\.wiki',
'wiki.dobots\.nl',
'wiki\.dottorconte\.eu',
'wiki\.downhillderelicts\.com',
'wiki\.drones4nature\.info',
'wiki\.dwplive\.com',
'www\.eerstelijnszones\.be',
'embobada\.com',
'wiki\.exnihilolinux\.org',
'froggy\.info',
'fibromyalgia-engineer\.com',
'fikcyjnatv\.pl',
'wiki\.gamergeeked\.us',
'wiki\.gesamtschule-nordkirchen\.de',
'garrettcountyguide\.com',
'give\.effectively\.to',
'wiki\.grottocenter\.org',
'wiki\.gtsc\.vn',
'www\.iceposeidonwiki\.com',
'wiki\.inebriation-confederation\.com',
'wiki\.jacksonheights\.nyc',
'karagash\.info',
'wiki\.kourouklides\.com',
'kunwok\.org',
'www\.lab612\.at',
'wiki\.ldmsys\.net',
'wiki\.lostminecraftminers\.org',
'lodge\.jsnydr\.com',
'wiki\.make717\.org',
'wiki\.macc\.nyc',
'madgenderscience\.wiki',
'marinebiodiversitymatrix\.org',
'meregos\.com',
'nenawiki\.org',
'wiki\.ngscott\.net',
'nonbinary\.wiki',
'wiki\.lbcomms\.co.za',
'wiki\.rizalespe\.com',
'saf\.songcontests\.eu',
'wiki\.staraves-no\.cz',
'wiki.pupilliam\.com',
'oecumene\.org',
'www\.openonderwijs\.org',
'papelor\.io',
'permanentfuturelab\.wiki',
'pl\.nonbinary\.wiki',
'podpedia\.org',
'programming\.red',
'publictestwiki\.com',
'pwiki.arkcls.com',
'reviwiki\.info',
'russopedia\.info',
'private\.revi.wiki',
'saveta\.org',
'sdiy\.info',
'studentwiki\.ddns\.net',
'www\.splat-teams\.com',
'takethatwiki\.com',
'wiki\.taotac.org',
'taotac\.info' .
'wiki\.teessidehackspace\.org\.uk',
'wiki\.tensorflow\.community',
'thelonsdalebattalion\.co.uk',
'toonpedia\.cf',
'wiki\.tulpa\.info',
'wiki\.valentinaproject.org',
'wiki\.kaisaga.com',
'wikiescola\.com\.br',
'wiki\.worlduniversityandschool\.org' .
'wikipuk\.cl',
'wiki\.ombre\.io',
'wiki.rmbrk\.com',
'wisdomwiki\.org',
'sandbox\.wisdomwiki.org',
'savage-wiki\.com',
'speleo\.wiki',
'www\.zenbuddhism\.info',
'wiki\.zymonic\.com',
'espiral\.org',
'spiral\.wiki',
'wikibase\.revi\.wiki',
'wiki\.teamwizardry\.com',
'wiki\.svenskabriardklubben\.se',
'www\.schulwiki\.de',
'holonet\.pw',
'guiasdobrasil\.com\.br',
'enc\.for\.uz',
'docs\.websmart\.media',
'wiki\.mikrodev\.com',
'wiki\.campaign-labour\.org',
'encyclopedie\.didactiqueprofessionnelle\.org',
'www\.thesimswiki\.com',
'nonciclopedia\.org',
'spcodex\.wiki',
'vedopedia\.witches-empire\.com',
],
],
// UserFunctions
'wgUFEnablePersonalDataFunctions' => [
'default' => false, // DO NOT set to true under any circumstances --Reception123
],
// VisualEditor
'wmgVisualEditorEnableDefault' => [
'default' => true,
],
'wgVisualEditorEnableWikitext' => [
'default' => false,
],
'wgVisualEditorShowBetaWelcome' => [
'default' => true,
],
'wgVisualEditorUseSingleEditTab' => [
'default' => false,
],
'wgVisualEditorAvailableContentModels' => [
'default' => [
'wikitext' => 'article',
],
'dcmultiversewiki' => [
'wikitext' => 'article',
'javascript' => 'article',
'css' => 'article',
'scribunto' => 'article',
],
],
'wgVisualEditorEnableDiffPage' => [
'default' => false,
],
'wgVisualEditorEnableVisualSectionEditing' => [
'default' => false,
'dcmultiversewiki' => 'mobile',
],
// Protect site config
'wgProtectSiteLimit' => [
'default' => '1 week',
],
'wgProtectSiteDefaultTimeout' => [
'default' => '1 hour',
],
// Wikibase
'wmgAllowEntityImport' => [
'default' => false,
],
'wmgEnableEntitySearchUI' => [
'default' => true,
],
'wmgWikibaseRepoUrl' => [
'default' => 'https://wikidata.org'
],
'wmgWikibaseItemNamespaceID' => [
'default' => 0
],
'wmgWikibasePropertyNamespaceID' => [
'default' => 120
],
// WebChat config
'wmgWebChatServer' => [
'default' => false,
],
'wmgWebChatChannel' => [
'default' => false,
],
'wmgWebChatClient' => [
'default' => 'freenodeChat',
],
// WikiForum settings
'wgWikiForumAllowAnonymous' => [
'default' => true,
],
'wgWikiForumLogsInRC' => [
'default' => true,
],
// Wikimedia Incubator Settings
'wmincProjects' => [
'default' => [
'p' => 'Wikipedia',
'b' => 'Wikibooks',
't' => 'Wiktionary',
'q' => 'Wikiquote',
'n' => 'Wikinews',
'y' => 'Wikivoyage',
's' => 'Wikisource',
'v' => 'Wikiversity',
],
],
'wmincProjectSite' => [
'default' => [
'name' => 'Incubator Plus 2.0',
'short' => 'incplus',
],
],
'wmincSisterProjects' => [
'default' => [
'm' => 'Miraheze Meta',
],
],
'wmincExistingWikis' => [
'default' => null,
],
'wmincClosedWikis' => [
'default' => false,
],
'wmincMultilingualProjects' => [
'default' => [],
],
// WikiDiscover
'wgWikiDiscoverClosedList' => [
'default' => '/srv/mediawiki/dblist/closed.dblist',
],
'wgWikiDiscoverInactiveList' => [
'default' => '/srv/mediawiki/dblist/inactive.dblist',
],
'wgWikiDiscoverPrivateList' => [
'default' => '/srv/mediawiki/dblist/private.dblist',
],
// CreateWiki Defined Special Variables
'cwClosed' => [
'default' => false,
],
'cwInactive' => [
'default' => false,
],
'cwPrivate' => [
'default' => false,
],
// Uncategorised
'wgRandomGameDisplay' => [
'default' => [
'random_picturegame' => false,
'random_poll' => false,
'random_quiz' => false,
],
],
'wgForceHTTPS' => [
'default' => true,
],
];
$wi->setVariables(
'/srv/mediawiki/w/cache',
[
'wiki'
],
[
'miraheze.org' => 'wiki'
]
);
// Start settings requiring access to variables
if ( !preg_match( '/^(.*)\.miraheze\.org$/', $wi->hostname, $matches ) ) {
$wi->config->settings['wgCentralAuthCookieDomain'][$wi->dbname] = $wi->hostname;
$wi->config->settings['wgCookieDomain'][$wi->dbname] = $wi->hostname;
}
if ( !file_exists( '/srv/mediawiki/w/cache/l10n/l10n_cache-en.cdb' ) ) {
$wi->config->settings['wgLocalisationCacheConf']['default']['manualRecache'] = false;
}
if ( !preg_match( '/^mw[0-9]*/', wfHostname() ) ) {
$wi->config->settings['wgUseCdn']['default'] = false;
}
$wi->config->settings['wmgWikibaseRepoDatabase']['default'] = $wi->dbname;
// End settings requiring access to variables
$wi->readCache();
$wi->config->extractAllGlobals( $wi->dbname );
// ManageWiki settings
require_once __DIR__ . "/ManageWikiExtensions.php";
require_once __DIR__ . "/ManageWikiSettings.php";
$wgUploadPath = "https://static.miraheze.org/$wgDBname";
$wgUploadDirectory = "/mnt/mediawiki-static/$wgDBname";
// Fonts
putenv( "GDFONTPATH=/usr/share/fonts/truetype/freefont" );
// Hook so that Terms of Service is included in footer
$wgHooks['SkinTemplateOutputPageBeforeExec'][] = 'lfTOSLink';
function lfTOSLink( $sk, &$tpl ) {
$tpl->set( 'termsofservice', $sk->footerLink( 'termsofservice', 'termsofservicepage' ) );
$tpl->data['footerlinks']['places'][] = 'termsofservice';
return true;
}
// Include other configuration files
require_once( '/srv/mediawiki/config/Database.php' );
require_once( '/srv/mediawiki/config/GlobalLogging.php' );
require_once( '/srv/mediawiki/config/LocalExtensions.php' );
require_once( '/srv/mediawiki/config/Redis.php' );
require_once( '/srv/mediawiki/config/Sitenotice.php' );
if ( $wi->missing ) {
require_once( '/srv/mediawiki/config/MissingWiki.php' );
}
// per T3457 - Miraheze Commons
if ( $wgDBname !== 'commonswiki' && $wgMirahezeCommons ) {
$wgForeignFileRepos[] = [
'class' => 'ForeignDBViaLBRepo',
'name' => 'shared-commons',
'directory' => '/mnt/mediawiki-static/commonswiki',
'url' => 'https://static.miraheze.org/commonswiki',
'hashLevels' => $wgHashedSharedUploadDirectory ? 2 : 0,
'thumbScriptUrl' => false,
'transformVia404' => !$wgGenerateThumbnailOnParse,
'hasSharedCache' => false,
'fetchDescription' => true,
'descriptionCacheExpiry' => 86400 * 7,
'wiki' => 'commonswiki',
'descBaseUrl' => 'https://commons.miraheze.org/wiki/File:',
];
}
// When using ?forceprofile=1, a profile can be found as an HTML comment
// Disabled on production hosts because it seems to be causing performance issues (how ironic)
if (
isset( $_GET['forceprofile'] )
&& $_GET['forceprofile'] == 1
&& wfHostname() === 'test2'
) {
$wgProfiler['class'] = 'ProfilerXhprof';
$wgProfiler['output'] = [ 'ProfilerOutputText' ];
$wgProfiler['visible'] = false;
// Prevent cache (better be safe than sorry)
$wi->config->settings['wgUseCdn']['default'] = false;
}
// Define last to avoid all dependencies
require_once( '/srv/mediawiki/config/LocalWiki.php' );
// Define last - Extension message files for loading extensions
if ( !defined( 'MW_NO_EXTENSION_MESSAGES' ) ) {
require_once( '/srv/mediawiki/config/ExtensionMessageFiles.php' );
}
if ( PHP_SAPI !== 'cli' ) {
$host = isset( $_SERVER['HTTP_HOST'] ) ? $_SERVER['HTTP_HOST'] : '';
switch ( $host ) {
case 'jobrunner1.miraheze.org':
$limit = 1200;
break;
case 'jobrunner2.miraheze.org':
$limit = 1200;
break;
default:
if ( $_SERVER['REQUEST_METHOD'] === 'POST' ) {
$limit = 110;
} else {
$limit = 60;
}
}
set_time_limit( $limit );
}
// Last Stuff
$wi->config->extractAllGlobals( $wi->dbname );
$wgConf = $wi->config;
diff --git a/ManageWikiSettings.php b/ManageWikiSettings.php
index 950024ac..1e42ecdd 100644
--- a/ManageWikiSettings.php
+++ b/ManageWikiSettings.php
@@ -1,1948 +1,1957 @@
internal value).
* list-multi: see above, just that multiple can be selected.
* list-multi-bool: see above, just outputs are $this => $bool.
* matrix: adds an array of "columns" and "rows". Columns are the top array and rows will be the values.
* namespace: adds dropdown to select one namespace.
* namespaces: see above, except multiple namespaces.
* text: adds a single line text entry.
* timezone: adds a dropdown for timezone selection.
* url: adds a single line text entry which requires a full URL.
* user: adds an autocomplete text box to select a single user on the wiki.
* users: see above, except multiple users.
* usergroups: adds a drop down selection box for selecting multiple user groups.
* userrights: adds a drop down selection box for selecting multiple user rights.
* wikipage: add a textbox which will return an autocomplete drop-down list of wikipages. Returns standardised MediaWiki pages.
* wikipages: see above, except multiple wikipages.
*
* Other variables that are required are name and from.
*
* name: the displayed name of the setting on Special:ManageWiki.
* from: a text entry of which extension is required for this setting to work. If added by MediaWiki or a 'global' extension, use 'mediawiki'.
* overridedefault: a string/array override default when no existing value exist.
* restricted: boolean - requires managewiki-restricted to change.
* help: string providing help information for the setting.
* section: string name of groupings for settings.
*/
$wgManageWikiSettings = [
// Anti-Spam
'wgAbuseFilterActions' => [
'name' => 'AbuseFilter Actions',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'list-multi-bool',
'allopts' => [
'block',
'blockautopromote',
'degroup',
'disallow',
'tag',
'throttle',
'warn',
],
'options' => [
'Block' => 'block',
'BlockAutopromote' => 'blockautopromote',
'Degroup' => 'degroup',
'Disallow' => 'disallow',
'Tag' => 'tag',
'Throttle' => 'throttle',
'Warn' => 'warn',
],
'overridedefault' => [
'block' => true,
'blockautopromote' => true,
'degroup' => true,
'disallow' => true,
'rangeblock' => false,
'tag' => true,
'throttle' => true,
'warn' => true,
],
'section' => 'anti-spam',
'help' => 'The possible actions that can be taken by abuse filters. When adding a new action, check if it is restricted in $wgAbuseFilterRestrictions and, if it is, don\'t forget to add the abusefilter-modify-restricted right to the appropriate user groups.',
],
'wgAutoblockExpiry' => [
'name' => 'Autoblock Expiry',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'integer',
'minint' => 0,
'maxint' => 315360000,
'overridedefault' => 86400,
'section' => 'anti-spam',
'help' => 'Number of seconds before autoblock entries expire. Minimum value allowed: 0, default: 1 day (86400), maximum: 10 years (315360000).',
],
'wgBlockAllowsUTEdit' => [
'name' => 'Allows blocking users to restrict talk page access',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'anti-spam',
'help' => 'Allows the blocking user to grant talk page edit access for the blocked user',
],
'wgCookieSetOnAutoblock' => [
'name' => 'Cookie set on autoblock',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'anti-spam',
'help' => 'Determines whether to set a cookie when a user is autoblocked. Doing so means that a blocked user, even after logging out and moving to a new IP address, will still be blocked.',
],
'wgCookieSetOnIpBlock' => [
'name' => 'Cookie set on IP block',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'anti-spam',
'help' => 'Determines whether to set a cookie when an IP user is blocked. Doing so means that a blocked user, even after moving to a new IP address, will still be blocked.',
],
'wgEmailConfirmToEdit' => [
'name' => 'Email Confirm To Edit',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'anti-spam',
'help' => 'Require users to confirm email address before they can edit. This effectively disables IP editing.',
],
'wgProtectSiteLimit' => [
'name' => 'Protect Site Limit',
'from' => 'protectsite',
'restricted' => false,
'type' => 'list',
'options' => [
'indefinite' => 'indefinite',
'10 year' => '10 year',
'1 week' => '1 week',
],
'overridedefault' => '1 week',
'section' => 'anti-spam',
'help' => 'Maximum time allowed for protection of the site.',
],
'wgProtectSiteDefaultTimeout' => [
'name' => 'ProtectSite Default Timeout',
'from' => 'protectsite',
'restricted' => false,
'type' => 'list',
'options' => [
'1 year' => '1 year',
'6 month' => '6 month',
'3 month' => '3 month',
'1 month' => '1 month',
'1 week' => '1 week',
'3 day' => '3 day',
'1 day' => '1 day',
'1 hour' => '1 hour',
],
'overridedefault' => '1 hour',
'section' => 'anti-spam',
'help' => 'Default timeout, 1 hour by default.',
],
'wmgFlaggedRevsProtection' => [
'name' => 'Flagged Revs Protection',
'from' => 'flaggedrevs',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'anti-spam',
'help' => 'This enables Flagged Revs Protection.',
],
'wmgFlaggedRevsAutoReview' => [
'name' => 'FlaggedRevs Auto Review',
'from' => 'flaggedrevs',
'restricted' => false,
'type' => 'list',
'options' => [
'No Auto-Review' => 0,
'Changes' => 1,
'Creation' => 2,
'Changes and Creation' => 3,
],
'overridedefault' => 3,
'section' => 'anti-spam',
'help' => 'Auto-review settings for edits/new pages.',
],
'wmgFlaggedRevsRestrictionLevels' => [
'name' => 'FlaggedRevs Restriction Levels',
'from' => 'flaggedrevs',
'restricted' => false,
'type' => 'usergroups',
'options' => [
'No Restriction' => '',
],
'overridedefault' => [
'',
'sysop',
],
'section' => 'anti-spam',
'help' => 'Restriction levels for "autoreview"/"review" rights.',
],
'wmgSimpleFlaggedRevsUI' => [
'name' => 'Simple FlaggedRevs UI',
'from' => 'flaggedrevs',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'anti-spam',
'help' => 'When enabled, this will only distinguish "checked", "quality", and unreviewed.',
],
'wmgFlaggedRevsLowProfile' => [
'name' => 'FlaggedRevs Low Profile',
'from' => 'flaggedrevs',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'anti-spam',
'help' => 'For visitors, only show tags/icons for unreviewed/outdated pages when enabled.',
],
// Beta Feature related stuff
'wgEchoUseCrossWikiBetaFeature' => [
'name' => 'Enable Echo Cross Wiki Beta Feature',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'beta',
'help' => 'Feature flag for the cross-wiki notifications beta feature.',
],
'wgMediaViewerIsInBeta' => [
'name' => 'Enable Media Viewer Beta Mode',
'from' => 'multimediaviewer',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'beta',
'help' => 'This makes Media Viewer a beta feature thus this will not be enabled for all users.',
],
'wgVisualEditorEnableDiffPageBetaFeature' => [
'name' => 'Enable VisualEditor Diff Page Beta Feature',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'beta',
'help' => 'Enable the new visual mode as a beta feature on revision difference pages.',
],
'wgVisualEditorEnableWikitextBetaFeature' => [
'name' => 'Enable VisualEditor Wikitext Beta Feature',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'beta',
'help' => 'Enable the new wikitext mode inside the visual editor as a beta feature. It has many of the tools present in the visual editor, uses a similar design, and allows better switching between the two.',
],
'wgVisualEditorShowBetaWelcome' => [
'name' => 'Enable VisualEditor Show Beta Welcome',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'beta',
'help' => 'Shows a beta welcome for users of VisualEditor.',
],
// Chat
'wgChatLinkUsernames' => [
'name' => 'Chat Link to Usernames',
'from' => 'mediawikichat',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'chat',
'help' => 'Link to user pages in the main chat window.',
],
'wgChatMeCommand' => [
'name' => 'Chat Me Command',
'from' => 'mediawikichat',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'chat',
'help' => 'Enable "/me " command that prints a status-type message.',
],
'wmgWebChatServer' => [
'name' => 'WebChat Server',
'from' => 'webchat',
'restricted' => false,
'type' => 'text',
'overridedefault' => '',
'section' => 'chat',
'help' => 'IRC Server to connect to, not required when using the freenodeChat web client.',
],
'wmgWebChatChannel' => [
'name' => 'WebChat Channel',
'from' => 'webchat',
'restricted' => false,
'type' => 'text',
'overridedefault' => '',
'section' => 'chat',
'help' => 'Channel to connect to.',
],
'wmgWebChatClient' => [
'name' => 'WebChat Client',
'from' => 'webchat',
'restricted' => false,
'type' => 'list',
'options' => [
'Freenode' => 'freenodeChat',
'Other Server' => 'Mibbit',
],
'overridedefault' => 'freenodeChat',
'section' => 'chat',
'help' => 'This sets the web client to use. If you are not using Freenode, select Other Server.',
],
// Cosmos
'wgCosmosBannerLogo' => [
'name' => 'Cosmos Banner Logo',
'from' => 'cosmos',
'restricted' => false,
'type' => 'url',
'overridedefault' => null,
'section' => 'cosmos',
'help' => 'Add a logo to appear in the top banner on the Cosmos skin.',
],
'wgCosmosWikiHeaderWordmark' => [
'name' => 'Cosmos Wordmark',
'from' => 'cosmos',
'restricted' => false,
'type' => 'url',
'overridedefault' => null,
'section' => 'cosmos',
'help' => 'Add a wordmark to appear in the wiki header on the Cosmos skin. Not setting this will default the logo to $wgLogo
.',
],
'wgCosmosBackgroundImage' => [
'name' => 'Cosmos Background Image',
'from' => 'cosmos',
'restricted' => false,
'type' => 'url',
'overridedefault' => null,
'section' => 'cosmos',
'help' => 'Add an image to set as the background image for the wiki's body of the Cosmos skin.',
],
'wgCosmosBackgroundImageSize' => [
'name' => 'Cosmos Background Image Size',
'from' => 'cosmos',
'restricted' => false,
'type' => 'list',
'options' => [
'auto' => 'auto',
'contain' => 'contain',
'cover' => 'cover',
],
'overridedefault' => 'cover',
'section' => 'cosmos',
'help' => 'Add an image to set as the background image for the wiki's body of the Cosmos skin.',
],
'wgCosmosWikiHeaderBackgroundImage' => [
'name' => 'Cosmos Wiki Header Background Image',
'from' => 'cosmos',
'restricted' => false,
'type' => 'url',
'overridedefault' => null,
'section' => 'cosmos',
'help' => 'Add a background image for the wiki header of the Cosmos skin.',
],
'wgCosmosMainBackgroundColor' => [
'name' => 'Cosmos Main Background Color',
'from' => 'cosmos',
'restricted' => false,
'type' => 'text',
'overridedefault' => '#1A1A1A',
'section' => 'cosmos',
'help' => 'Add a color name or hex code to set as the background color for the wiki body of the Cosmos skin.',
],
'wgCosmosContentBackgroundColor' => [
'name' => 'Cosmos Content Background Color',
'from' => 'cosmos',
'restricted' => false,
'type' => 'text',
'overridedefault' => '#000',
'section' => 'cosmos',
'help' => 'Add a color name or hex code to set as the background color for the content area of the Cosmos skin.',
],
'wgCosmosBannerBackgroundColor' => [
'name' => 'Cosmos Banner Background Color',
'from' => 'cosmos',
'restricted' => false,
'type' => 'text',
'overridedefault' => '#001e3b',
'section' => 'cosmos',
'help' => 'Add a color name or hex code to set as the background color for the top banner of the Cosmos skin.',
],
'wgCosmosWikiHeaderBackgroundColor' => [
'name' => 'Cosmos Wiki Header Background Color',
'from' => 'cosmos',
'restricted' => false,
'type' => 'text',
'overridedefault' => '#001e3b',
'section' => 'cosmos',
'help' => 'Add a color name or hex code to set as the background color of the wiki navigation header on the Cosmos skin.',
],
'wgCosmosLinkColor' => [
'name' => 'Cosmos Link Color',
'from' => 'cosmos',
'restricted' => false,
'type' => 'text',
'overridedefault' => '#006cb0',
'section' => 'cosmos',
'help' => 'Add a color name or hex code to set as the link color for the Cosmos skin.',
],
'wgCosmosButtonColor' => [
'name' => 'Cosmos Button Color',
'from' => 'cosmos',
'restricted' => false,
'type' => 'text',
'overridedefault' => '#012E59',
'section' => 'cosmos',
'help' => 'Add a color name or hex code to set as the button background color for the Cosmos skin.',
],
'wgCosmosToolbarColor' => [
'name' => 'Cosmos Toolbar Color',
'from' => 'cosmos',
'restricted' => false,
'type' => 'text',
'overridedefault' => '#001e3b',
'section' => 'cosmos',
'help' => 'Add a color name or hex code to set as the toolbar background color for the Cosmos skin.',
],
'wgCosmosFooterColor' => [
'name' => 'Cosmos Footer Color',
'from' => 'cosmos',
'restricted' => false,
'type' => 'text',
'overridedefault' => '#141414',
'section' => 'cosmos',
'help' => 'Add a color name or hex code to set as the footer background color for the Cosmos skin.',
],
+ 'wgCosmosEnablePortableInfoboxEuropaTheme' => [
+ 'name' => 'Enable Europa Theme for Infoboxes on Cosmos',
+ 'from' => 'cosmos',
+ 'restricted' => false,
+ 'type' => 'check',
+ 'overridedefault' => true,
+ 'section' => 'cosmos',
+ 'help' => 'Enable the Europa theme on infoboxes when using the Cosmos skin, if you have the PortableInfobox extension enabled.',
+ ],
'wgCosmosBackgroundImageNorepeat' => [
'name' => 'Cosmos Background Image Repeat',
'from' => 'cosmos',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'cosmos',
'help' => 'Repeat the background for the cosmos skin?',
],
'wgCosmosBackgroundImageFixed' => [
'name' => 'Cosmos Background Image Position',
'from' => 'cosmos',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'cosmos',
'help' => 'Make the background for the cosmos skin "position: fixed"?',
],
'wgCosmosUseMessageforToolbar' => [
'name' => 'Replace Cosmos Toolbar with Message',
'from' => 'cosmos',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'cosmos',
'help' => 'Replace the existing floating toolbar with the contents of MediaWiki:Cosmos-toolbar? Not checking this will make the contents of MediaWiki:Cosmos-toolbar be appended to the toolbar rather than replacing it.',
],
'wgCosmosSocialProfileModernTabs' => [
'name' => 'Cosmos Modern Profile Tabs',
'from' => 'cosmos',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'cosmos',
'help' => 'Modern profile tabs for the Cosmos skin when social profile is enabled.',
],
'wgCosmosSocialProfileRoundAvatar' => [
'name' => 'Cosmos Round Avatar',
'from' => 'cosmos',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'cosmos',
'help' => 'Make avatar round on profile pages for the Cosmos skin when social profile is enabled.',
],
'wgCosmosSocialProfileShowEditCount' => [
'name' => 'Cosmos Show Edit Count',
'from' => 'cosmos',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'cosmos',
'help' => 'Show edit count on profile pages for the Cosmos skin when social profile is enabled.',
],
'wgCosmosSocialProfileAllowBio' => [
'name' => 'Cosmos Allow Bio Feature',
'from' => 'cosmos',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'cosmos',
'help' => 'Allow users to add a bio on profile pages for the Cosmos skin when social profile is enabled.',
],
'wgCosmosSocialProfileShowGroupTags' => [
'name' => 'Cosmos Enable Group Tags',
'from' => 'cosmos',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'cosmos',
'help' => 'Show user group tags on profile pages for the Cosmos skin when social profile is enabled.',
],
'wgCosmosUseSocialProfileAvatar' => [
'name' => 'Cosmos Use Social Profile Avatar',
'from' => 'cosmos',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'cosmos',
'help' => 'Use social profile avatar in the top banner for the Cosmos skin when social profile is enabled.',
],
'wgCosmosProfileTagGroups' => [
'name' => 'Cosmos User Group Tags',
'from' => 'cosmos',
'restricted' => false,
'type' => 'usergroups',
'overridedefault' => [
'bureaucrat',
'bot',
'sysop',
'interface-admin'
],
'section' => 'cosmos',
'help' => 'User groups to show on profile pages for the Cosmos skin when social profile is enabled. They will be shown in order of priority.',
],
'wgCosmosNumberofGroupTags' => [
'name' => 'Cosmos Number of Group Tags',
'from' => 'cosmos',
'restricted' => false,
'type' => 'integer',
'minint' => 1,
'maxint' => 5,
'overridedefault' => 2,
'section' => 'cosmos',
'help' => 'Number of user group tags to show on profile pages for the Cosmos skin when social profile and the profile group tags are enabled. Min. 1; Max. 5.',
],
'wgCosmosContentOpacityLevel' => [
'name' => 'Cosmos Content Opacity Level',
'from' => 'cosmos',
'restricted' => false,
'type' => 'integer',
'minint' => 0,
'maxint' => 100,
'overridedefault' => 100,
'section' => 'cosmos',
'help' => 'Set the opacity level of the content area and custom sidebar for the Cosmos skin in precentage',
],
// Editing
'wmgWikiLicense' => [
'name' => 'Content License',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'list',
'options' => [
'All Rights Reserved' => 'arr',
'Creative Commons BY 4.0' => 'cc-by',
'Creative Commons BY-NC 4.0' => 'cc-by-nc',
'Creative Commons BY-ND 4.0' => 'cc-by-nd',
'Creative Commons BY-SA 4.0' => 'cc-by-sa',
'Creative Commons BY-SA 2.0 Korea' => 'cc-by-sa-2-0-kr',
'Creative Commons BY-SA-NC 4.0' => 'cc-by-sa-nc',
'Creative Commons BY-NC-ND 4.0' => 'cc-by-nc-nd',
'Public Domain' => 'cc-pd',
'GNU General Public V3' => 'gpl-v3',
'No license provided' => 'empty',
],
'overridedefault' => 'cc-by-sa',
'section' => 'edit',
'help' => 'Each wiki on Miraheze is by default licensed under CC-BY-SA 4.0 although this can be changed to another supported license. If you would like to release the contributions on your wiki under another license, please let us know so that we can make it available to you. Be aware that changing the license on your wiki can have an impact on your community and should not be done lightly.',
],
'wgActiveUserDays' => [
'name' => 'Active User Days',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'integer',
'minint' => 0,
'maxint' => 400,
'overridedefault' => 30,
'section' => 'edit',
'help' => 'The number of days within which a person must make edits to be considered an "active" user.',
],
'wgShowCreditsIfMax' => [
'name' => 'Editing attribution',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'edit',
'help' => 'Show more authors.',
],
'wgRestrictionTypes' => [
'name' => 'Restriction Types',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'list-multi',
'options' => [
'Edit' => 'edit',
'Move' => 'move',
'Create' => 'create',
'Upload' => 'upload',
'Delete' => 'delete',
'Protect' => 'protect',
],
'overridedefault' => [
'edit',
'move',
'create',
'upload',
'delete',
],
'section' => 'edit',
'help' => 'Actions that can be restricted.',
],
'wgCommentStreamsEnableTalk' => [
'name' => 'CommentStreams Enable Talk',
'from' => 'commentstreams',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'edit',
'help' => 'Enable in talk namespaces',
],
'wgCommentStreamsNewestStreamsOnTop' => [
'name' => 'CommentStreams Newest Streams On Top',
'from' => 'commentstreams',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'edit',
'help' => 'Show newer comments first',
],
'wgCommentStreamsUserAvatarPropertyName' => [
'name' => 'CommentStreams User Avatar Property Name',
'from' => 'commentstreams',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'edit',
'help' => 'If SocialProfile is enabled, it will display an avatar',
],
'wgCommentStreamsEnableVoting' => [
'name' => 'CommentStreams Enable Voting',
'from' => 'commentstreams',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'edit',
'help' => 'Allows logged in users to vote thumbs up, thumbs down, or neither on top level comments.',
],
'wgCommentStreamsModeratorFastDelete' => [
'name' => 'CommentStreams Moderator Fast Delete',
'from' => 'commentstreams',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'edit',
'help' => 'allows users with csdelete right to delete a comment and all of its replies in one action rather than having to individually delete all of the replies first.',
],
'wgCommentsSortDescending' => [
'name' => 'Sort Comments by Descending',
'from' => 'comments',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'edit',
'help' => 'This sorts comments by descending date, with the new comment box and most recent comments at the top when enabled.',
],
'wgEnableScaryTranscluding' => [
'name' => 'Enable Scary Transcluding',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'edit',
'help' => 'Allow templates to be imported/transcluded from another wiki.',
],
'wmgVisualEditorEnableDefault' => [
'name' => 'Make VisualEditor the default editor for all',
'from' => 'visualeditor',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'edit',
'help' => 'This will make VisualEditor the default edit for all.',
],
'wgVisualEditorEnableWikitext' => [
'name' => 'Enable VisualEditor Wikitext mode',
'from' => 'visualeditor',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'edit',
'help' => 'This option allow you to read Wikitext syntax on VisualEditor.',
],
'wgVisualEditorUseSingleEditTab' => [
'name' => 'VisualEditor Use Single Edit Tab',
'from' => 'visualeditor',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'edit',
'help' => 'Shows only the "edit" tab. Uses VisualEditor by default if "Make VisualEditor the default editor for all" is set, otherwise defaults to Wikitext.',
],
'wgVisualEditorEnableDiffPage' => [
'name' => 'Enable VisualEditor Diff Page',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'edit',
'help' => 'Enable the new visual mode on revision difference pages by default (not Beta).',
],
'wgAllowSlowParserFunctions' => [
'name' => 'Allow slow parser functions',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'edit',
'help' => 'Parser functions are "magic words" that return a value or function, such as time, site details or page names.',
],
'wgPFEnableStringFunctions' => [
'name' => 'Enable string function functionality',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'edit',
'help' => 'This option adds support a couple of functions for basic string handling. Example: #pos function returns the position of a given search term within the string. You can learn more in MediaWiki\'s documentation page',
],
'wgAllowDisplayTitle' => [
'name' => 'Allow Display Title',
'restricted' => false,
'from' => 'mediawiki',
'type' => 'check',
'overridedefault' => true,
'section' => 'edit',
'help' => 'Allows use of {{DISPLAYTITLE}} magic word.',
],
'wgRestrictDisplayTitle' => [
'name' => 'Restrict Display Title',
'restricted' => false,
'from' => 'mediawiki',
'type' => 'check',
'overridedefault' => true,
'section' => 'edit',
'help' => 'Restrict {{DISPLAYTITLE}} to titles that normalize to the same canonical database key. Wikis with NoTitle extension installed have this config unset.',
],
'wgDisplayTitleHideSubtitle' => [
'name' => 'Don\'t display the page\'s original title below the display title',
'restricted' => false,
'from' => 'displaytitle',
'type' => 'check',
'overridedefault' => false,
'section' => 'edit',
'help' => 'Set this to hide the page\'s original title as a subtitle below the title bar, shown by the Display Title extension.',
],
'wgCapitalLinks' => [
'name' => 'Capital Links',
'restricted' => false,
'from' => 'mediawiki',
'type' => 'check',
'overridedefault' => true,
'section' => 'edit',
'help' => 'Unset this to avoid forcing the first letter of links to capitals.',
],
'wgEnableCanonicalServerLink' => [
'name' => 'Enable Canonical Server Link',
'restricted' => false,
'from' => 'mediawiki',
'type' => 'check',
'overridedefault' => false,
'section' => 'edit',
'help' => 'Output a tag on every page indicating the canonical server which should be used, i.e. $wgServer or $wgCanonicalServer.',
],
'wgPageCreationLog' => [
'name' => 'Page Creation Log',
'restricted' => false,
'from' => 'mediawiki',
'type' => 'check',
'overridedefault' => true,
'section' => 'edit',
'help' => 'Whether to maintain a log of new page creations, which can be viewed at Special:Log/create.',
],
'wgMSCS_WarnNoCategories' => [
'name' => 'MsCatSelect warn no categories',
'restricted' => false,
'from' => 'mscatselect',
'type' => 'check',
'overridedefault' => true,
'section' => 'edit',
'help' => 'By default, if you try to save a page that has no categories assigned, MsCatSelect will ask for confirmation. If you wish to avoid this, unset this option.',
],
'wgCodeEditorEnableCore' => [
'name' => 'CodeEditor Enable Core',
'restricted' => false,
'from' => 'codeeditor',
'type' => 'check',
'overridedefault' => true,
'section' => 'edit',
'help' => 'To disable the editor on JavaScript and CSS pages in the MediaWiki, User and other core namespaces, unset this option.',
],
'wgScribuntoUseCodeEditor' => [
'name' => 'Scribunto Use CodeEditor',
'restricted' => false,
'from' => 'codeeditor',
'type' => 'check',
'overridedefault' => true,
'section' => 'edit',
'help' => 'Set this to use it when editing Module pages.',
],
'wgScribuntoUseGeSHi' => [
'name' => 'Scribunto Use GeSHi (SyntaxHighlight_GeSHi)',
'restricted' => false,
'from' => 'syntaxhighlight_geshi',
'type' => 'check',
'overridedefault' => true,
'section' => 'edit',
'help' => 'Use SyntaxHighlight_GeSHi extension to highlight syntax.',
],
'wgCategoryTreeDefaultMode' => [
'name' => 'Category Tree Default Mode',
'from' => 'categorytree',
'restricted' => false,
'type' => 'list',
'overridedefault' => 0,
'section' => 'edit',
'help' => 'the default mode to use when no mode attribute is specified in a tag. You also need to set "Category Tree Category Page Mode" if you select the page mode.',
'options' => [
'Category' => 0,
'Pages' => 10,
'All' => 20,
'Parents' => 100,
],
],
'wgCategoryTreeCategoryPageMode' => [
'name' => 'Category Tree Category Page Mode',
'from' => 'categorytree',
'restricted' => false,
'type' => 'list',
'overridedefault' => 0,
'section' => 'edit',
'help' => 'The mode to use when rendering trees on category pages.',
'options' => [
'Category' => 0,
'Pages' => 10,
'All' => 20,
'Parents' => 100,
],
],
'wgRandomGameDisplay' => [
'name' => 'Random Game Display',
'from' => 'randomgameunit',
'restricted' => false,
'type' => 'list-multi-bool',
'allopts' => [
'random_poll',
'random_picturegame',
'random_quiz',
],
'options' => [
'Poll' => 'random_poll',
'PictureGame' => 'random_picturegame',
'Quiz' => 'random_quiz',
],
'overridedefault' => [
'random_picturegame' => false,
'random_poll' => false,
'random_quiz' => false,
],
'section' => 'edit',
'help' => 'Controls what games are enabled.',
],
'wgUserBoard' => [
'name' => 'User Board',
'restricted' => false,
'from' => 'socialprofile',
'type' => 'check',
'overridedefault' => false,
'section' => 'edit',
'help' => 'Displays UserBoard-related things on social profile pages.',
],
'wgUserProfileDisplay' => [
'name' => 'User Profile Display',
'from' => 'socialprofile',
'restricted' => false,
'type' => 'list-multi-bool',
'allopts' => [
'activity',
'articles',
'avatar',
'awards',
'board',
'custom',
'foes',
'friends',
'games',
'gifts',
'interests',
'personal',
'profile',
'stats',
'userboxes',
],
'options' => [
'Activity' => 'activity',
'Articles' => 'articles',
'Avatar' => 'avatar',
'Awards' => 'awards',
'Board' => 'board',
'Custom' => 'custom',
'Foes' => 'foes',
'Friends' => 'friends',
'Games' => 'games',
'Gifts' => 'gifts',
'Interests' => 'interests',
'Personal' => 'personal',
'Profile' => 'profile',
'Stats' => 'stats',
'Userboxes' => 'userboxes',
],
'overridedefault' => [
'activity' => false,
'articles' => true,
'avatar' => true,
'awards' => true,
'board' => false,
'custom' => true,
'foes' => false,
'friends' => false,
'games' => false,
'gifts' => true,
'interests' => true,
'personal' => true,
'profile' => true,
'stats' => false,
'userboxes' => false,
],
'section' => 'edit',
'help' => 'Enables default stuff to display on social profile pages by default',
],
'wgWikiForumAllowAnonymous' => [
'name' => 'WikiForum Allow Anonymous',
'from' => 'wikiforum',
'type' => 'check',
'restricted' => false,
'overridedefault' => true,
'section' => 'edit',
'help' => 'Allow Anonymous (users who are not logged in) to use WikiForum',
],
'egApprovedRevsAutomaticApprovals' => [
'name' => 'Automatically approve new revisions',
'from' => 'approvedrevs',
'type' => 'check',
'restricted' => false,
'overridedefault' => true,
'section' => 'edit',
'help' => 'Uncheck this box to require new revisions to be manually approved even if made by an administrator',
],
'wgTwitterCardType' => [
'name' => 'Twitter Card Type (WikiSEO)',
'from' => 'wikiseo',
'restricted' => false,
'type' => 'list',
'overridedefault' => 'summery_large_image',
'section' => 'edit',
'help' => 'Type of twitter card to use.',
'options' => [
'Summary' => 'summary',
'Summary large image' => 'summary_large_image',
],
],
'wgGoogleSiteVerificationKey' => [
'name' => 'Google Site Verification Key (WikiSEO)',
'from' => 'wikiseo',
'restricted' => false,
'type' => 'text',
'overridedefault' => false,
'section' => 'edit',
'help' => 'Site verification key for Google Search Console.',
],
'wgBingSiteVerificationKey' => [
'name' => 'Bing Site Verification Key (WikiSEO)',
'from' => 'wikiseo',
'restricted' => false,
'type' => 'text',
'overridedefault' => false,
'section' => 'edit',
'help' => 'Site verification key for Bing Webmaster Center.',
],
'wgFacebookAppId' => [
'name' => 'Facebook App Id (WikiSEO)',
'from' => 'wikiseo',
'restricted' => false,
'type' => 'text',
'overridedefault' => false,
'section' => 'edit',
'help' => 'App Id for Facebook Insights.',
],
'wgYandexSiteVerificationKey' => [
'name' => 'Yandex Site Verification Key (WikiSEO)',
'from' => 'wikiseo',
'restricted' => false,
'type' => 'text',
'overridedefault' => false,
'section' => 'edit',
'help' => 'Site verification key for Yandex Webmasters.',
],
'wgAlexaSiteVerificationKey' => [
'name' => 'Alexa Site Verification Key (WikiSEO)',
'from' => 'wikiseo',
'restricted' => false,
'type' => 'text',
'overridedefault' => false,
'section' => 'edit',
'help' => 'Site verification key for Alexa Console.',
],
'wgPinterestSiteVerificationKey' => [
'name' => 'Pinterest Site Verification Key (WikiSEO)',
'from' => 'wikiseo',
'restricted' => false,
'type' => 'text',
'overridedefault' => false,
'section' => 'edit',
'help' => 'Site verification key for Pinterest Console.',
],
// Links
'wgExternalLinkTarget' => [
'name' => 'External Link Target',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'list',
'options' => [
'Blank' => '_blank',
'Default' => false,
],
'overridedefault' => false,
'section' => 'links',
'help' => 'Set a default target for external links.',
],
'wgRottenLinksCurlTimeout' => [
'name' => 'RottenLinks Timeout Threshold',
'restricted' => false,
'from' => 'mediawiki',
'type' => 'integer',
'minint' => 5,
'maxint' => 120,
'overridedefault' => 10,
'section' => 'links',
'help' => 'Number of seconds before a RottenLinks request returns no response. Min: 5. Max: 120.'
],
// Localisation (E.G i18n/timezone etc)
'wgLocaltimezone' => [
'name' => 'Timezone',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'timezone',
'overridedefault' => 'UTC',
'section' => 'localisation',
'help' => 'This will adapt your wikis time over clock to whatever timezone you choose for all users, however it can be changed through user\'s preferences.',
],
'wmgTranslateDocumentationLanguageCode' => [
'name' => 'Translate Documentation Language Code',
'from' => 'translate',
'restricted' => false,
'type' => 'list',
'options' => [
'info' => 'info',
'No Documentation' => false,
'qqq' => 'qqq',
],
'overridedefault' => false,
'section' => 'localisation',
'help' => 'Language code for message documentation.',
],
'wgULSAnonCanChangeLanguage' => [
'name' => 'Allow anonymous users to change language',
'from' => 'universallanguageselector',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'localisation',
'help' => 'Enabling allows anonymous users to control the language they view the wiki in.',
],
'wgPageLanguageUseDB' => [
'name' => 'Enable per page language',
'restricted' => false,
'from' => 'mediawiki',
'type' => 'check',
'overridedefault' => false,
'section' => 'localisation',
'help' => 'Allows to change the page language for MediaWiki pages.',
],
'wmgUseYandexTranslate' => [
'name' => 'Use Yandex Machine Translation on Special:Translate',
'from' => 'translate',
'restricted' => 'false',
'type' => 'check',
'overridedefault' => false,
'section' => 'localisation',
'help' => 'Adds suggestions from Yandex to Special:Translate',
],
// Maps (E.G navigation)
'wgKartographerWikivoyageMode' => [
'name' => 'Kartographer Wikivoyage Mode',
'restricted' => false,
'from' => 'kartographer',
'type' => 'check',
'overridedefault' => false,
'section' => 'maps',
'help' => 'Enables Wikivoyage mode.',
],
'wgKartographerUseMarkerStyle' => [
'name' => 'Kartographer Use Marker Style',
'restricted' => false,
'from' => 'kartographer',
'type' => 'check',
'overridedefault' => false,
'section' => 'maps',
'help' => 'Allows Kartographer to extract CSS style to be used by the link from the GeoJSON.',
],
// Media/File
'wgEnableUploads' => [
'name' => 'Enable File Uploads',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'media',
'help' => 'Check or uncheck this option if you want to enable or disable the upload of files on your wiki.',
],
'wgAllowCopyUploads' => [
'name' => 'Enable File Uploads Through URL',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'media',
'help' => 'By default Miraheze enables file upload only from a local media but with this option you can upload files remotely from other sites.',
],
'wgCopyUploadsFromSpecialUpload' => [
'name' => 'Enable File Uploads Through URL on Special:Upload',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'media',
'help' => 'This option adds a textbox on Special:Upload enabling you to upload files from any URL.',
],
'wgUseInstantCommons' => [
'name' => 'Enable Wikimedia Commons Files',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'media',
'help' => 'This option allows you to use the WikiMedia Commons file database on your wiki.',
],
'wgMirahezeCommons' => [
'name' => 'Enable Miraheze Commons (linking to commons.miraheze.org)',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'media',
'help' => 'This option allows you to use the Miraheze Commons file database on your wiki.',
],
'wgShowArchiveThumbnails' => [
'name' => 'Show Old Thumbnails On Description Page',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'media',
'help' => 'Whether to show thumbnails for old images on the image\'s description page.',
],
'wgAllowExternalImages' => [
'name' => 'Allow External Images',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'media',
'help' => 'Determines whether or not MediaWiki will allow external images to be rendered inline with text',
],
'wgAllowImageTag' => [
'name' => 'Allow Image Tag',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'media',
'help' => 'Allow img tag to be used in wikitext.',
],
'wgSVGConverter' => [
'name' => 'SVG Converter',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'list',
'options' => [
'Inkscape' => 'inkscape',
'ImageMagick' => 'ImageMagick',
],
'overridedefault' => 'ImageMagick',
'section' => 'media',
'help' => 'This picks the converter to convert Scalable Vector Graphics (SVG) to PNG. You may want to choose Inkscape if your SVG->PNG conversion results in a black image.',
],
'wgMediaViewerEnableByDefault' => [
'name' => 'MediaViewer Enable By Default',
'from' => 'multimediaviewer',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'media',
'help' => 'This enables MediaViewer for everyone.',
],
'wgMSU_checkAutoCat' => [
'name' => 'MsUpload check auto cat',
'from' => 'msupload',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'media',
'help' => 'If set, sets the checkbox for adding a category to a page by default.',
],
'wgMSU_confirmReplace' => [
'name' => 'MsUpload confirm replace',
'from' => 'msupload',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'media',
'help' => 'If set, shows the "Replace file" checkbox.',
],
'wgMSU_showAutoCat' => [
'name' => 'MsUpload show auto cat',
'from' => 'msupload',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'media',
'help' => 'If set, files uploaded while editing a category page will be added to that category.',
],
'wgMSU_useDragDrop' => [
'name' => 'MsUpload use drag and drop',
'from' => 'msupload',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'media',
'help' => 'If set, the drag & drop area will be shown.',
],
'wgMaxImageArea' => [
'name' => 'Max Image Area',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'text',
'overridedefault' => '1.25e7',
'section' => 'media',
'help' => 'Specifies the max pixels you can have in a image.',
],
'wgCommonsMetadataForceRecalculate' => [
'name' => 'Force Remote Image Description Parsing',
'from' => 'commonsmetadata',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'media',
'help' => 'Set this to true to force CommonsMetadata to parse the description page of the image and extract the metadata when using images from other wikis.'
],
// Notification
'wgCookieWarningMoreUrl' => [
'name' => 'CookieWarning More Url',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'text',
'overridedefault' => 'https://meta.miraheze.org/wiki/Privacy_Policy#4._Cookies',
'section' => 'notifications',
'help' => 'Set the URL to your \'More Information\' page.',
],
'wgEchoCrossWikiNotifications' => [
'name' => 'Echo Cross Wiki Notifications',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'notifications',
'help' => 'Whether to enable the cross-wiki notifications feature.',
],
'wgEchoMentionStatusNotifications' => [
'name' => 'Echo Mention Status Notifications',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'notifications',
'help' => 'Enable mention success/failure notifications.',
],
'wmgSiteNoticeOptOut' => [
'name' => 'Opt out of global Miraheze notices',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'notifications',
'help' => 'Opts your wiki out of global Miraheze notices, only showing important notices.',
],
'wgMinervaEnableSiteNotice' => [
'name' => 'Minerva Sitenotice',
'from' => 'mobilefrontend',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'notifications',
'help' => 'Display the Sitenotice on the Minerva skin.',
],
'wgModerationNotificationEnable' => [
'name' => 'Moderation Notification Enable',
'from' => 'moderation',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'notifications',
'help' => 'If set, notification email will be sent to "Moderation Email" each time an edit is queued for moderation.',
],
'wgModerationNotificationNewOnly' => [
'name' => 'Moderation Notification New Only',
'from' => 'moderation',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'notifications',
'help' => 'If set, only notify about new pages (but not about edits in existing pages).',
],
'wgDismissableSiteNoticeForAnons' => [
'name' => 'Dismissable Site Notice For Anons',
'from' => 'dismissablesitenotice',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'notifications',
'help' => 'This allows to set whether or not it should be possible for anonymous visitors of the wiki to dismiss the site notice shown.',
],
'wgDiscordNotificationBlockedUser' => [
'name' => 'Discord Notification Blocked User',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'notifications',
'help' => 'Notify on user or IP blocked in MediaWiki.',
],
'wgDiscordNotificationNewUser' => [
'name' => 'Discord Notification New User',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'notifications',
'help' => 'Notify on new user added into MediaWiki.',
],
// Recent changes
'wgRCMaxAge' => [
'name' => 'RecentChanges max age',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'integer',
'minint' => 1,
'maxint' => 15552000,
'overridedefault' => 180 * 24 * 3600,
'section' => 'recentchanges',
'help' => 'Items in the recentchanges table are periodically purged; entries older than this many seconds will go.',
],
'wgRCLinkDays' => [
'name' => 'RecentChanges link days',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'list-multi',
'options' => [
'1 (86400 seconds)' => 1,
'3 (259200 seconds)' => 3,
'7 (604800 seconds)' => 7,
'14 (1209600 seconds)' => 14,
'30 (2592000 seconds)' => 30,
'60 (5184000 seconds)' => 60,
'90 (7776000 seconds)' => 90,
'180 (15552000 seconds)' => 180,
],
'overridedefault' => [
1,
3,
7,
14,
30,
],
'section' => 'recentchanges',
'help' => 'List days options to list in the Special:Recentchanges and Special:Recentchangeslinked pages.',
],
'wgCommentsInRecentChanges' => [
'name' => 'Enable Comments In RecentChanges',
'from' => 'comments',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'recentchanges',
'help' => 'Shows comments in the RecentChanges special page.',
],
'wgWikiForumLogsInRC' => [
'name' => 'Display WikiForum logs in RecentChanges',
'from' => 'wikiforum',
'type' => 'check',
'restricted' => false,
'overridedefault' => true,
'section' => 'recentchanges',
'help' => 'Toggles the display of WikiForum logs in Special:RecentChanges',
],
'wgRCWatchCategoryMembership' => [
'name' => 'Treat Category Membership as a RecentChange',
'from' => 'mediawiki',
'type' => 'check',
'restricted' => false,
'overridedefault' => false,
'section' => 'recentchanges',
'help' => 'Shows changes to category membership as an action in Special:RecentChanges',
],
'wgSimpleChangesOnlyContentNamespaces' => [
'name' => 'Display only content namespaces for Simple Changes',
'from' => 'simplechanges',
'type' => 'check',
'restricted' => false,
'overridedefault' => false,
'section' => 'recentchanges',
'help' => 'Restricts the list to display only content namespaces',
],
'wgSimpleChangesOnlyLatest' => [
'name' => 'Prevent duplicate titles appearing for Simple Changes',
'from' => 'simplechanges',
'type' => 'check',
'restricted' => false,
'overridedefault' => true,
'section' => 'recentchanges',
'help' => 'Avoids duplicate titles showing up in the list by only showing changes that match each page's most recent revision',
],
'wgSimpleChangesShowUser' => [
'name' => 'Display the user name of the user who made the change for Simple Changes',
'from' => 'simplechanges',
'type' => 'check',
'restricted' => false,
'overridedefault' => false,
'section' => 'recentchanges',
'help' => 'Shows the user name of the user who made the change',
],
// Restricted (where settings that are restricted go)
'wgDefaultRobotPolicy' => [
'name' => 'Default Robot Policy',
'from' => 'mediawiki',
'restricted' => true,
'type' => 'text',
'overridedefault' => 'index,follow',
'section' => 'restricted',
'help' => 'Allows specifying the default robot policy for all pages on the wiki.',
],
'wgModerationEmail' => [
'name' => 'Moderation Email',
'from' => 'moderation',
'restricted' => true,
'type' => 'text',
// Must match wgPasswordSender from LocalSettings.php
'overridedefault' => 'noreply@miraheze.org',
'section' => 'restricted',
'help' => 'Sets the email for notifications to go to.',
],
'wgAccountCreationThrottle' => [
'name' => 'Account Creation Throttle',
'from' => 'mediawiki',
'restricted' => true,
'type' => 'integer',
'minint' => 0,
'maxint' => 900000000,
'overridedefault' => 5,
'section' => 'restricted',
'help' => 'Number of accounts each IP address may create, 0 to disable.',
],
'wgSVGMetadataCutoff' => [
'name' => 'SVG Metadata Cutoff',
'from' => 'mediawiki',
'restricted' => true,
'type' => 'integer',
'minint' => 0,
'maxint' => 90000000,
'overridedefault' => 262144,
'section' => 'restricted',
'help' => 'Don\'t read SVG metadata beyond this point.',
],
// If necessary we can increase maxint.
'wgMaxArticleSize' => [
'name' => 'Max Article Size',
'from' => 'mediawiki',
'restricted' => true,
'type' => 'integer',
'minint' => 0,
'maxint' => 10000,
'overridedefault' => 2048,
'section' => 'restricted',
'help' => 'Maximum page size in kilobytes.',
],
'wgDisqusShortname' => [
'name' => 'Disqus Shortname',
'from' => 'mediawiki',
'restricted' => true,
'type' => 'text',
'overridedefault' => false,
'section' => 'restricted',
'help' => 'The Disqus shortname for your site. This is the identifier (or the hostname) you specify when entering your unique Disqus URL. This is required when using the DisqusTag extension.',
],
'wgPageDisqusShortname' => [
'name' => 'Page DisqusShortname',
'from' => 'mediawiki',
'restricted' => true,
'type' => 'text',
'overridedefault' => false,
'section' => 'restricted',
'help' => 'The Disqus shortname for your site. This is the identifier (or the hostname) you specify when entering your unique Disqus URL. This is required when using the PageDisqus extension.',
],
'wgMaxCredits' => [
'name' => 'Editing attribution',
'from' => 'mediawiki',
'restricted' => true,
'type' => 'integer',
'minint' => -1,
'maxint' => 25,
'overridedefault' => 0,
'section' => 'restricted',
'help' => 'Number of editors to attribute.',
],
// Default list must be kept insync with wgFileExtensions in LocalSettings.php
'wgFileExtensions' => [
'name' => 'File Extensions',
'from' => 'mediawiki',
'restricted' => true,
'type' => 'list-multi',
'options' => [
'add' => 'add',
'alist' => 'alist',
'apk' => 'apk',
'apng' => 'apng',
'asv' => 'asv',
'avi' => 'avi',
'bat' => 'bat',
'bib' => 'bib',
'bmp' => 'bmp',
'bnk' => 'bnk',
'bst' => 'bst',
'bz' => 'bz',
'bz2' => 'bz2',
'c' => 'c',
'cap' => 'cap',
'chr' => 'chr',
'cls' => 'cls',
'cpp' => 'cpp',
'crt' => 'crt',
'css' => 'css',
'dae' => 'dae',
'dat' => 'dat',
'data' => 'data',
'desktop' => 'desktop',
'dia' => 'dia',
'djvu' => 'djvu',
'doc' => 'doc',
'docx' => 'docx',
'eot' => 'eot',
'exe' => 'exe',
'fig' => 'fig',
'fla' => 'fla',
'flac' => 'flac',
'fpd' => 'fpd',
'gb' => 'gb',
'gba' => 'gba',
'gbc' => 'gbc',
'gbs' => 'gbs',
'gif' => 'gif',
'gp' => 'gp',
'gz' => 'gz',
'gz2' => 'gz2',
'h' => 'h',
'hes' => 'hes',
'hpp' => 'hpp',
'htm' => 'htm',
'html' => 'html',
'hxx' => 'hxx',
'ico' => 'ico',
'ipe' => 'ipe',
'ips' => 'ips',
'jpeg' => 'jpeg',
'jpg' => 'jpg',
'js' => 'js',
'm4a' => 'm4a',
'mat' => 'mat',
'mbz' => 'mbz',
'md' => 'md',
'mhtml' => 'mhtml',
'mid' => 'mid',
'midi' => 'midi',
'mkv' => 'mkv',
'mov' => 'mov',
'mp3' => 'mp3',
'mp4' => 'mp4',
'mus' => 'mus',
'naf' => 'naf',
'nes' => 'nes',
'nsf' => 'nsf',
'odg' => 'odg',
'odp' => 'odp',
'ods' => 'ods',
'odt' => 'odt',
'off' => 'off',
'oga' => 'oga',
'ogg' => 'ogg',
'ogv' => 'ogv',
'ogx' => 'ogx',
'opus' => 'opus',
'otf' => 'otf',
'otg' => 'otg',
'pcap' => 'pcap',
'pdf' => 'pdf',
'perf' => 'perf',
'php' => 'php',
'plot' => 'plot',
'png' => 'png',
'pps' => 'pps',
'ppt' => 'ppt',
'pptx' => 'pptx',
'psd' => 'psd',
'pub' => 'pub',
'py' => 'py',
'rar' => 'rar',
'rtf' => 'rtf',
'scss' => 'scss',
'sfnt' => 'sfnt',
'sh' => 'sh',
'smc' => 'smc',
'spc' => 'spc',
'spl' => 'spl',
'stl' => 'stl',
'sty' => 'sty',
'svg' => 'svg',
'swf' => 'swf',
'tar' => 'tar',
'tar.gz' => 'tar.gz',
'tex' => 'tex',
'tif' => 'tif',
'tiff' => 'tiff',
'ttf' => 'ttf',
'txt' => 'txt',
'val' => 'val',
'vit' => 'vit',
'vsd' => 'vsd',
'vst' => 'vst',
'wav' => 'wav',
'webm' => 'webm',
'webp' => 'webp',
'wma' => 'wma',
'wmv' => 'wmv',
'woff' => 'woff',
'woff2' => 'woff2',
'xcf' => 'xcf',
'xhtml' => 'xhtml',
'xls' => 'xls',
'xlsx' => 'xlsx',
'xlxs' => 'xlxs',
'xml' => 'xml',
'xps' => 'xps',
'zip' => 'zip',
'7z' => '7z',
],
'overridedefault' => [
'djvu',
'gif',
'ico',
'jpg',
'jpeg',
'ogg',
'pdf',
'png',
'svg',
],
'section' => 'restricted',
'help' => 'This is the list of preferred extensions for uploading files. Uploading files with extensions not selected in this list will trigger a warning.',
],
'wgExpensiveParserFunctionLimit' => [
'name' => 'Expensive Parser Function Limit',
'restricted' => true,
'from' => 'mediawiki',
'type' => 'integer',
'minint' => 50,
'maxint' => 500,
'overridedefault' => 99,
'section' => 'restricted',
'help' => 'Number of expensive parser functions allowed on a single page. Min: 50. Max: 500.'
],
// Styling (E.G skins/logos etc)
'wgDefaultSkin' => [
'name' => 'Default Skin',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'list',
'options' => [
'CologneBlue' => 'cologneblue',
'Modern' => 'modern',
'MonoBook' => 'monobook',
'Timeless' => 'timeless',
'Vector' => 'vector',
],
'overridedefault' => 'vector',
'section' => 'styling',
'help' => 'This change the visual interface to the selected skin for all users, however it can be changed through user\'s preferences.',
],
'wgLogo' => [
'name' => 'Logo',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'text',
'overridedefault' => "https://$wmgUploadHostname/metawiki/3/35/Miraheze_Logo.svg",
'section' => 'styling',
'help' => 'This will replace Miraheze\'s default logo. See this link for how you can change it.',
],
'wgFavicon' => [
'name' => 'Favicon',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'text',
'overridedefault' => '/favicon.ico',
'section' => 'styling',
'help' => 'A favicon is a shortcut image that is displayed on your visitor\'s browser address bar and in the bookmarks page. Most often it is a smaller version of the logo. See this link for how you can add one.',
],
'wgAppleTouchIcon' => [
'name' => 'Apple Touch Icon',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'text',
'overridedefault' => '/apple-touch-icon.png',
'section' => 'styling',
'help' => 'Favicon for Apple mobile devices. See this link on how you can add one.',
],
'wgMetrolookDownArrow' => [
'name' => 'Metrolook Down Arrow',
'from' => 'metrolook',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'styling',
'help' => 'This configuration variable has to be true for the tiles to be generated.',
],
'wgMetrolookUploadButton' => [
'name' => 'Metrolook Upload Button',
'from' => 'metrolook',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'styling',
'help' => 'When enabled, an "Upload file" link is generated in the top menu bar, before the content-specific action links ("History", "Discussion", etc.)',
],
'wgMetrolookBartile' => [
'name' => 'Metrolook Bartile',
'from' => 'metrolook',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'styling',
'help' => 'When "Metrolook Down Arrow" is enabled and "Metrolook Bartile" is enabled, the tile menu will be generated from MediaWiki:Metrolook-tiles. If "Metrolook Down Arrow" is not set and "Metrolook Bartile" is not set, then the tile menu will be generated from MediaWiki:Metrolook-tiles-second.',
],
'wgMetrolookMobile' => [
'name' => 'Metrolook Mobile',
'from' => 'metrolook',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'styling',
'help' => 'When enabled, makes the UI responsive on mobiles.',
],
'wgMetrolookUseIconWatch' => [
'name' => 'Metrolook Use Icon Watch',
'from' => 'metrolook',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'styling',
'help' => 'When enabled, it uses an icon for the watch/unwatch button.',
],
'wgMetrolookLine' => [
'name' => 'Metrolook Line',
'from' => 'metrolook',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'styling',
'help' => 'If not set, then the img.line element (white divider line in the top menu, between the site name and the down arrow/"Upload file" link) won\'t be generated.',
],
'wgRelatedArticlesFooterWhitelistedSkins' => [
'name' => 'RelatedArticles Footer Whitelisted Skins',
'from' => 'relatedarticles',
'restricted' => false,
'type' => 'list-multi',
'options' => [
'Metrolook' => 'metrolook',
'Minerva' => 'minerva',
'Timeless' => 'timeless',
'Vector' => 'vector'
],
'overridedefault' => [
'minerva',
'timeless',
'vector'
],
'section' => 'styling',
'help' => 'List of skin names (e.g. "minerva", "vector") where related articles will be shown in the footer.',
],
'wgMultiBoilerplateDiplaySpecialPage' => [
'name' => 'MultiBoilerplate Diplay SpecialPage',
'from' => 'multiboilerplate',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'styling',
'help' => 'if set, will add to the wiki a page named Special:Boilerplates that shows the currently configured boilerplates.',
],
'wgAllowUserCss' => [
'name' => 'Allow User Css',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'styling',
'help' => 'Allow user Cascading Style Sheets (CSS). For example User:/*.css.',
],
'wgAllowUserJs' => [
'name' => 'Allow User Js',
'from' => 'mediawiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => true,
'section' => 'styling',
'help' => 'Allow user JavaScript pages. For example User:/*.js.',
],
'wgDefaultTheme' => [
'name' => 'Default Theme',
'from' => 'theme',
'restricted' => false,
'type' => 'list',
'options' => [
'Default' => 'default',
'Dark (Monobook and Vector only)' => 'dark',
'Deepsea (Vector only)' => 'deepsea',
'Pink (Monobook only)' => 'pink',
'Stellarbook (Monobook only)' => 'stellarbook',
],
'overridedefault' => 'default',
'section' => 'styling',
'help' => 'Sets which theme is displayed by default when users visit your wiki.',
],
'wgManageWikiForceSidebarLinks' => [
'name' => 'Force ManageWiki side bar links',
'from' => 'managewiki',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'styling',
'help' => 'Force the display of ManageWiki links in the sidebar for all users. The link text will differ for nonprivileged users.',
],
'wmgShowPopupsByDefault' => [
'name' => 'Show Popups by default',
'from' => 'popups',
'restricted' => false,
'type' => 'check',
'overridedefault' => false,
'section' => 'styling',
'help' => 'When enabled, this shows Popups by default.',
],
// Wikibase
'wmgWikibaseRepoUrl' => [
'name' => 'Repository URL',
'restricted' => false,
'from' => 'wikibaseclient',
'type' => 'url',
'overridedefault' => 'https://wikidata.org',
'section' => 'wikibase',
'help' => 'URL of the Wikibase repository the client should connect to.'
],
'wmgWikibaseRepoDatabase' => [
'name' => 'Repository Database',
'restricted' => false,
'from' => 'wikibaseclient',
'type' => 'databases',
'overridedefault' => $wi->dbname,
'section' => 'wikibase',
'help' => 'Database identifier of the repository being used. If unknown, select the identifier for this wiki.'
],
'wmgAllowEntityImport' => [
'name' => 'Allow Entity Import',
'restricted' => false,
'from' => 'wikibaserepository',
'type' => 'check',
'overridedefault' => false,
'section' => 'wikibase',
'help' => 'Allow importing entities via Special:Import and importDump.php.',
],
'wmgEnableEntitySearchUI' => [
'name' => 'Enable Entity Search UI',
'restricted' => false,
'from' => 'wikibaserepository',
'type' => 'check',
'overridedefault' => true,
'section' => 'wikibase',
'help' => 'To determine if entity search UI should be enabled or not.',
],
'wmgWikibaseItemNamespaceID' => [
'name' => 'Item Namespace ID',
'from' => 'wikibaseclient',
'restricted' => false,
'type' => 'integer',
'minint' => 0,
'maxint' => 9999,
'overridedefault' => 0,
'section' => 'wikibase',
'help' => 'Namespace ID of the Item namespace on the upstream Wikibase installation. Leave as-is if unsure.',
],
'wmgWikibasePropertuNamespaceID' => [
'name' => 'Property Namespace ID',
'from' => 'wikibaseclient',
'restricted' => false,
'type' => 'integer',
'minint' => 0,
'maxint' => 9999,
'overridedefault' => 120,
'section' => 'wikibase',
'help' => 'Namespace ID of the Property namespace on the upstream Wikibase installation. Leave as-is if unsure.',
]
];