Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F723
D4.1752060363.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
47 KB
Referenced Files
None
Subscribers
None
D4.1752060363.diff
View Options
diff --git a/InitialiseSettings.php b/InitialiseSettings.php
--- a/InitialiseSettings.php
+++ b/InitialiseSettings.php
@@ -14,13 +14,13 @@
# wgconf
$wgLocalDatabases = [
- 'enwickedgov',
- 'metawiki',
- 'ensterling',
- 'loginwiki',
- 'entechwiki',
- 'commonswiki',
- 'testwiki'
+ 'enwickedgov',
+ 'metawiki',
+ 'ensterling',
+ 'loginwiki',
+ 'entechwiki',
+ 'commonswiki',
+ 'testwiki'
];
$wgConf->wikis = $wgLocalDatabases;
@@ -29,41 +29,41 @@
$wgConf->settings = [
'wgServer' => [
- 'enwickedgov' => 'https://www.wickedgov.org',
- 'metawiki' => 'https://meta.wickedgov.org',
- 'ensterling' => 'https://sterling.wickedgov.org',
- 'loginwiki' => 'https://login.wickedgov.org',
- 'entechwiki' => 'https://tech.wickedgov.org',
- 'commonswiki' => 'https://commons.wickedgov.org',
- 'testwiki' => 'https://test.wickedgov.org',
+ 'enwickedgov' => 'https://www.wickedgov.org',
+ 'metawiki' => 'https://meta.wickedgov.org',
+ 'ensterling' => 'https://sterling.wickedgov.org',
+ 'loginwiki' => 'https://login.wickedgov.org',
+ 'entechwiki' => 'https://tech.wickedgov.org',
+ 'commonswiki' => 'https://commons.wickedgov.org',
+ 'testwiki' => 'https://test.wickedgov.org',
],
'wgCanonicalServer' => [
- 'enwickedgov' => 'https://www.wickedgov.org',
- 'metawiki' => 'https://meta.wickedgov.org',
- 'ensterling' => 'https://sterling.wickedgov.org',
- 'loginwiki' => 'https://login.wickedgov.org',
- 'entechwiki' => 'https://tech.wickedgov.org',
- 'commonswiki' => 'https://commons.wickedgov.org',
- 'testwiki' => 'https://test.wickedgov.org',
+ 'enwickedgov' => 'https://www.wickedgov.org',
+ 'metawiki' => 'https://meta.wickedgov.org',
+ 'ensterling' => 'https://sterling.wickedgov.org',
+ 'loginwiki' => 'https://login.wickedgov.org',
+ 'entechwiki' => 'https://tech.wickedgov.org',
+ 'commonswiki' => 'https://commons.wickedgov.org',
+ 'testwiki' => 'https://test.wickedgov.org',
],
'wgScriptPath' => [
- 'default' => '/w',
+ 'default' => '/w',
],
'wgArticlePath' => [
- 'default' => '/wiki/$1',
+ 'default' => '/wiki/$1',
],
'wgSitename' => [
- 'enwickedgov' => 'WickedGov',
- 'ensterling' => 'LambWiki',
- 'metawiki' => 'WickedGov Meta-Wiki',
- 'loginwiki' => 'WickedGov Login Wiki',
- 'entechwiki' => 'WickedTech',
- 'commonswiki' => 'WickedGov Commons',
- 'testwiki' => 'Test Wiki',
+ 'enwickedgov' => 'WickedGov',
+ 'ensterling' => 'LambWiki',
+ 'metawiki' => 'WickedGov Meta-Wiki',
+ 'loginwiki' => 'WickedGov Login Wiki',
+ 'entechwiki' => 'WickedTech',
+ 'commonswiki' => 'WickedGov Commons',
+ 'testwiki' => 'Test Wiki',
],
'wgMetaNamespace' => [
@@ -76,164 +76,161 @@
'+wgGroupPermissions' => [
'default' => [
- 'user' => [
- 'changetags' => false,
- 'oathauth-enable' => true,
+ 'user' => [
+ 'changetags' => false,
+ 'oathauth-enable' => true,
# 'reupload-own' => true,
- 'spamblacklistlog' => false,
- 'viewmywatchlist' => true,
- 'torunblocked' => false,
+ 'spamblacklistlog' => false,
+ 'viewmywatchlist' => true,
+ 'torunblocked' => false,
'movefile' => false,
- ],
- 'accountcreator' => [
- 'noratelimit' => true,
+ ],
+ 'accountcreator' => [
+ 'noratelimit' => true,
'centralauth-createlocal' => true,
- ],
- 'autoconfirmed' => [
- 'editsemiprotected' => true,
- 'autoconfirmed' => true,
- 'skipcaptcha' => true,
- ],
- 'autopatrolled' => [
- 'autopatrol' => true,
- 'patrolmarks' => true,
- ],
- 'bot' => [
- 'bot' => true,
- 'abusefilter-bypass-blocked-external-domains' => true,
- 'sboverride' => true,
- 'editsemiprotected' => true,
- 'autopatrol' => true,
- 'autoconfirmed' => true,
- 'suppressredirect' => true,
- 'nominornewtalk' => true,
- 'apihighlimits' => true,
- 'changetags' => true,
- 'ipblock-exempt' => true,
+ ],
+ 'autoconfirmed' => [
+ 'editsemiprotected' => true,
+ 'autoconfirmed' => true,
+ 'skipcaptcha' => true,
+ ],
+ 'autopatrolled' => [
+ 'autopatrol' => true,
+ 'patrolmarks' => true,
+ ],
+ 'bot' => [
+ 'bot' => true,
+ 'abusefilter-bypass-blocked-external-domains' => true,
+ 'sboverride' => true,
+ 'editsemiprotected' => true,
+ 'autopatrol' => true,
+ 'autoconfirmed' => true,
+ 'suppressredirect' => true,
+ 'nominornewtalk' => true,
+ 'apihighlimits' => true,
+ 'changetags' => true,
+ 'ipblock-exempt' => true,
'globalblock-exempt' => true,
- 'skipcaptcha' => true,
- ],
- 'bureaucrat' => [
+ 'skipcaptcha' => true,
+ ],
+ 'bureaucrat' => [
'noratelimit' => true,
'oathauth-verify-user' => true,
# 'oathauth-view-log' => true,
+ ],
+ 'checkuser' => [
+ 'checkuser' => true,
+ 'checkuser-temporary-account-no-preference' => false,
+ 'abusefilter-privatedetails' => true,
+ 'abusefilter-privatedetails-log' => true,
+ 'checkuser-log' => true,
+ 'checkuser-temporary-account-log' => false,
],
- 'checkuser' => [
- 'checkuser' => true,
- 'checkuser-temporary-account-no-preference' => false,
- 'abusefilter-privatedetails' => true,
- 'abusefilter-privatedetails-log' => true,
- 'checkuser-log' => true,
- 'checkuser-temporary-account-log' => false,
- ],/*
- 'temp-account-viewer' => [
- 'checkuser-temporary-account' => true,
- ],*/
- 'confirmed' => [
- 'editsemiprotected' => true,
- 'autoconfirmed' => true,
- 'skipcaptcha' => true,
- ],
- 'interface-admin' => [
- 'editcontentmodel' => true,
- 'editusercss' => true,
- 'edituserjson' => true,
- 'edituserjs' => true,
- 'editsitecss' => true,
- 'editsitejson' => true,
- 'editsitejs' => true,
- 'editinterface' => true,
- ],
- 'ipb-exemption' => [
- 'ipblock-exempt' => true,
- 'torunblocked' => true,
- 'autoconfirmed' => true,
+ 'confirmed' => [
+ 'editsemiprotected' => true,
+ 'autoconfirmed' => true,
+ 'skipcaptcha' => true,
+ ],
+ 'interface-admin' => [
+ 'editcontentmodel' => true,
+ 'editusercss' => true,
+ 'edituserjson' => true,
+ 'edituserjs' => true,
+ 'editsitecss' => true,
+ 'editsitejson' => true,
+ 'editsitejs' => true,
+ 'editinterface' => true,
+ ],
+ 'ipb-exemption' => [
+ 'ipblock-exempt' => true,
+ 'torunblocked' => true,
+ 'autoconfirmed' => true,
'globalblock-exempt' => true,
- ],
- 'steward' => [
- 'centralauth-lock' => false,
- 'centralauth-suppress' => false,
- 'centralauth-unmerge' => false,
- 'userrights' => true,
- ],
- 'suppress' => [
- 'hideuser' => true,
- 'deletelogentry' => true,
- 'deleterevision' => true,
- 'abusefilter-hide-log' => true,
- 'abusefilter-hidden-log' => true,
- 'viewsuppressed' => true,
- 'suppressionlog' => true,
- 'suppressrevision' => true,
+ ],
+ 'steward' => [
+ 'centralauth-lock' => false,
+ 'centralauth-suppress' => false,
+ 'centralauth-unmerge' => false,
+ 'userrights' => true,
+ ],
+ 'suppress' => [
+ 'hideuser' => true,
+ 'deletelogentry' => true,
+ 'deleterevision' => true,
+ 'abusefilter-hide-log' => true,
+ 'abusefilter-hidden-log' => true,
+ 'viewsuppressed' => true,
+ 'suppressionlog' => true,
+ 'suppressrevision' = true,
'deletedhistory' => true,
'deletedtext' => true,
'browsearchive' => true,
- ],
- 'sysop' => [
- 'blockemail' => true,
- 'block' => true,
- 'changetags' => true,
- 'ipblock-exempt' => true,
- 'torunblocked' => true,
+ ],
+ 'sysop' => [
+ 'blockemail' => true,
+ 'block' => true,
+ 'changetags' => true,
+ 'ipblock-exempt' => true,
+ 'torunblocked' => true,
'globalblock-exempt' => true,
- 'protect' => true,
- 'managechangetags' => true,
- 'createaccount' => false,
- 'abusefilter-modify' => true,
- 'abusefilter-modify-blocked-external-domains' => true,
- 'abusefilter-bypass-blocked-external-domains' => true,
-# 'deletechangetags' => true,
- 'deletelogentry' => true,
- 'deleterevision' => true,
- 'delete' => true,
- 'edituserjson' => true,
- 'editprotected' => true,
- 'editsemiprotected' => true,
- 'editsitejson' => true,
- 'editcontentmodel' => true,
- 'editinterface' => true,
- 'autopatrol' => true,
- 'import' => true,
+ 'protect' => true,
+ 'managechangetags' => true,
+ 'createaccount' => false,
+ 'abusefilter-modify' => true,
+ 'abusefilter-modify-blocked-external-domains' => true,
+ 'abusefilter-bypass-blocked-external-domains' => true,
+# 'deletechangetags' => true,
+ 'deletelogentry' => true,
+ 'deleterevision' => true,
+ 'delete' => true,
+ 'edituserjson' => true,
+ 'editprotected' => true,
+ 'editsemiprotected' => true,
+ 'editsitejson' => true,
+ 'editcontentmodel' => true,
+ 'editinterface' => true,
+ 'autopatrol' => true,
+ 'import' => true,
'importupload' => false,
- 'patrol' => true,
- 'markbotedits' => true,
- 'nuke' => true,
- 'oathauth-view-log' => false,
- 'oathauth-disable-for-user' => false,
- 'oathauth-verify-user' => false,
- 'mergehistory' => true,
- 'abusefilter-modify-restricted' => true,
- 'move-categorypages' => true,
- 'movefile' => true,
- 'move' => false,
- 'move-subpages' => true,
- 'move-rootuserpages' => false,
- 'autoconfirmed' => true,
- 'noratelimit' => true,
- 'suppressredirect' => true,
- 'nominornewtalk' => true,
- 'tboverride' => true,
- 'override-antispoof' => true,
- 'reupload' => true,
- 'rollback' => true,
- 'abusefilter-revert' => true,
- 'browsearchive' => true,
- 'undelete' => true,
- 'upload' => true,
- 'upload_by_url' => true,
- 'apihighlimits' => true,
- 'unwatchedpages' => true,
- 'abusefilter-view-private' => true,
- 'deletedhistory' => true,
- 'deletedtext' => true,
- 'abusefilter-log-detail' => true,
- 'abusefilter-log-private' => true,
- 'titleblacklistlog' => false,
- 'spamblacklistlog' => true,
- 'abusefilter-access-protected-vars' => false,
- 'abusefilter-protected-vars-log' => false,
- 'skipcaptcha' => true,
- ],
+ 'patrol' => true,
+ 'markbotedits' => true,
+ 'nuke' => true,
+ 'oathauth-view-log' => false,
+ 'oathauth-disable-for-user' => false,
+ 'oathauth-verify-user' => false,
+ 'mergehistory' => true,
+ 'abusefilter-modify-restricted' => true,
+ 'move-categorypages' => true,
+ 'movefile' => true,
+ 'move' => false,
+ 'move-subpages' => true,
+ 'move-rootuserpages' => false,
+ 'autoconfirmed' => true,
+ 'noratelimit' => true,
+ 'suppressredirect' => true,
+ 'nominornewtalk' => true,
+ 'tboverride' => true,
+ 'override-antispoof' => true,
+ 'reupload' => true,
+ 'rollback' => true,
+ 'abusefilter-revert' => true,
+ 'browsearchive' => true,
+ 'undelete' => true,
+ 'upload' => true,
+ 'upload_by_url' => true,
+ 'apihighlimits' => true,
+ 'unwatchedpages' => true,
+ 'abusefilter-view-private' => true,
+ 'deletedhistory' => true,
+ 'deletedtext' => true,
+ 'abusefilter-log-detail' => true,
+ 'abusefilter-log-private' => true,
+ 'titleblacklistlog' => false,
+ 'spamblacklistlog' => true,
+ 'abusefilter-access-protected-vars' => false,
+ 'abusefilter-protected-vars-log' => false,
+ 'skipcaptcha' => true,
+ ],
'transwiki' => [
'import' => true,
],
@@ -242,31 +239,31 @@
'importupload' => true,
'mergehistory' => true,
],
- ],
- '+enwickedgov' => [
- 'uploader' => [
- 'reupload' => true,
- 'upload' => true,
- 'upload_by_url' => true,
- ],
- 'extendedconfirmed' => [
- 'editextendedprotected' => true,
- ],
- 'bot' => [
- 'editextendedprotected' => true,
- ],
+],
+'+enwickedgov' => [
+ 'uploader' => [
+ 'reupload' => true,
+ 'upload' => true,
+ 'upload_by_url' => true,
+ ],
+ 'extendedconfirmed' => [
+ 'editextendedprotected' => true,
+ ],
+ 'bot' => [
+ 'editextendedprotected' => true,
+ ],
'bureaucrat' => [
'deletechangetags' => true,
],
- 'sysop' => [
+ 'sysop' => [
'deletechangetags' => false,
'editextendedprotected' => true,
- ],
+ ],
'user' => [
'edituserpages' => true,
],
- ],
- '+metawiki' => [
+],
+'+metawiki' => [
'autoconfirmed' => [
'mwoauthproposeconsumer' => true,
],
@@ -277,55 +274,55 @@
'mwoauthupdateownconsumer' => true,
'mwoauthmanagemygrants' => true,
],
- 'steward' => [
- 'userrights' => true,
- 'userrights-interwiki' => true,
- 'centralauth-lock' => true,
- 'centralauth-suppress' => true,
- 'centralauth-rename' => true,
- 'globalblock' => true,
- 'block' => true,
- 'blockemail' => true,
- 'globalgrouppermissions' => true,
- 'globalgroupmembership' => true,
- 'abusefilter-modify' => true,
- 'abusefilter-modify-global' => true,
- 'interwiki' => true,
- 'oathauth-verify-user' => true,
- 'mwoauthsuppress' => true,
- 'mwoauthviewsuppressed' => true,
- 'mwoauthmanageconsumer' => true,
- ],
- 'sysadmin' => [
- 'userrights' => true,
- 'userrights-interwiki' => true,
- 'centralauth-lock' => true,
- 'centralauth-suppress' => true,
- 'centralauth-rename' => true,
- 'centralauth-unmerge' => true,
- 'globalblock' => true,
- 'block' => true,
- 'blockemail' => true,
- 'globalgrouppermissions' => true,
- 'globalgroupmembership' => true,
- 'abusefilter-modify' => true,
- 'abusefilter-modify-global' => true,
- 'oathauth-verify-user' => true,
- 'oathauth-disable-for-user' => true,
- 'mwoauthmanageconsumer' => true,
- 'mwoauthviewsuppressed' => true,
- 'mwoauthsuppress' => true,
- ],
+ 'steward' => [
+ 'userrights' => true,
+ 'userrights-interwiki' => true,
+ 'centralauth-lock' => true,
+ 'centralauth-suppress' => true,
+ 'centralauth-rename' => true,
+ 'globalblock' => true,
+ 'block' => true,
+ 'blockemail' => true,
+ 'globalgrouppermissions' => true,
+ 'globalgroupmembership' => true,
+ 'abusefilter-modify' => true,
+ 'abusefilter-modify-global' => true,
+ 'interwiki' => true,
+ 'oathauth-verify-user' => true,
+ 'mwoauthsuppress' => true,
+ 'mwoauthviewsuppressed' => true,
+ 'mwoauthmanageconsumer' => true,
+ ],
+ 'sysadmin' => [
+ 'userrights' => true,
+ 'userrights-interwiki' => true,
+ 'centralauth-lock' => true,
+ 'centralauth-suppress' => true,
+ 'centralauth-rename' => true,
+ 'centralauth-unmerge' => true,
+ 'globalblock' => true,
+ 'block' => true,
+ 'blockemail' => true,
+ 'globalgrouppermissions' => true,
+ 'globalgroupmembership' => true,
+ 'abusefilter-modify' => true,
+ 'abusefilter-modify-global' => true,
+ 'oathauth-verify-user' => true,
+ 'oathauth-disable-for-user' => true,
+ 'mwoauthmanageconsumer' => true,
+ 'mwoauthviewsuppressed' => true,
+ 'mwoauthsuppress' => true,
+ ],
'translationadmin' => [
- 'pagelang' => true,
- 'editcontentmodel' => true,
- 'translate-import' => true,
- 'translate-manage' => true,
- 'pagetranslation' => true,
+ 'pagelang' => true,
+ 'editcontentmodel' => true,
+ 'translate-import' => true,
+ 'translate-manage' => true,
+ 'pagetranslation' => true,
],
'sysop' => [
- 'pagelang' => true,
- 'abusefilter-modify-global' => true,
+ 'pagelang' => true,
+ 'abusefilter-modify-global' => true,
],
'trustandsafety' => [
'userrights' => true,
@@ -349,42 +346,42 @@
'tempaccountviewer' => [
'checkuser-temporary-account' => true,
],
- ],
- '+commonswiki' => [
+],
+'+commonswiki' => [
'filemover' => [
- 'movefile' => true,
+ 'movefile' => true,
],
'translationadmin' => [
- 'pagelang' => true,
- 'editcontentmodel' => true,
- 'translate-import' => true,
- 'translate-manage' => true,
- 'pagetranslation' => true,
+ 'pagelang' => true,
+ 'editcontentmodel' => true,
+ 'translate-import' => true,
+ 'translate-manage' => true,
+ 'pagetranslation' => true,
],
'sysop' => [
- 'pagelang' => true,
+ 'pagelang' => true,
],
'patroller' => [
- 'rollback' => true,
- 'patrol' => true,
- ],
- ],
- '+testwiki' => [
- 'translationadmin' => [
- 'pagelang' => true,
- 'editcontentmodel' => true,
- 'translate-import' => true,
- 'translate-manage' => true,
- 'pagetranslation' => true,
- ],
- 'sysop' => [
- 'pagelang' => true,
- ],
- 'centralnoticeadmin' => [
- 'centralnotice-admin' => true,
- 'protect' => true,
- 'editinterface' => true,
+ 'rollback' => true,
+ 'patrol' => true,
+ ],
+],
+'+testwiki' => [
+ 'translationadmin' => [
+ 'pagelang' => true,
+ 'editcontentmodel' => true,
+ 'translate-import' => true,
+ 'translate-manage' => true,
+ 'pagetranslation' => true,
],
+ 'sysop' => [
+ 'pagelang' => true,
+ ],
+ 'centralnoticeadmin' => [
+ 'centralnotice-admin' => true,
+ 'protect' => true,
+ 'editinterface' => true,
+ ],
'tempaccountviewer' => [
'checkuser-temporary-account' => true,
],
@@ -394,34 +391,34 @@
'suppress' => [
'checkuser-temporary-account-no-preference' => true,
],
- ],
+],
],
'wgAddGroups' => [
- 'default' => [
- 'accountcreator' => [
- 'confirmed'
- ],
- 'bureaucrat' => [
- 'accountcreator',
- 'bot',
- 'bureaucrat',
+ 'default' => [
+ 'accountcreator' => [
+ 'confirmed'
+ ],
+ 'bureaucrat' => [
+ 'accountcreator',
+ 'bot',
+ 'bureaucrat',
'interface-admin',
- 'sysop',
+ 'sysop',
'transwiki',
- ],
- 'sysop' => [
- 'autopatrolled',
- 'confirmed',
- 'ipb-exemption',
- ],
- ],
- '+enwickedgov' => [
- 'sysop' => [
- 'extendedconfirmed',
+ ],
+ 'sysop' => [
+ 'autopatrolled',
+ 'confirmed',
+ 'ipb-exemption',
+ ],
+ ],
+ '+enwickedgov' => [
+ 'sysop' => [
+ 'extendedconfirmed',
'uploader',
- ],
- ],
+ ],
+ ],
'+metawiki' => [
'bureaucrat' => [
'translationadmin'
@@ -446,33 +443,33 @@
],
'wgRemoveGroups' => [
- 'default' => [
- 'bureaucrat' => [
- 'accountcreator',
- 'bot',
+ 'default' => [
+ 'bureaucrat' => [
+ 'accountcreator',
+ 'bot',
'interface-admin',
'transwiki'
- ],
- 'sysop' => [
- 'autopatrolled',
- 'confirmed',
- 'ipb-exemption'
- ],
- ],
- '+enwickedgov' => [
- 'bureaucrat' => [
- 'sysop'
- ],
- 'sysop' => [
- 'extendedconfirmed',
+ ],
+ 'sysop' => [
+ 'autopatrolled',
+ 'confirmed',
+ 'ipb-exemption'
+ ],
+ ],
+ '+enwickedgov' => [
+ 'bureaucrat' => [
+ 'sysop'
+ ],
+ 'sysop' => [
+ 'extendedconfirmed',
'uploader',
- ],
- ],
- '+metawiki' => [
- 'bureaucrat' => [
- 'translationadmin'
- ],
- ],
+ ],
+ ],
+ '+metawiki' => [
+ 'bureaucrat' => [
+ 'translationadmin'
+ ],
+ ],
'+commonswiki' => [
'bureaucrat' => [
'translationadmin'
@@ -509,11 +506,11 @@
'confirmed'
],
],
- '+metawiki' => [
- 'sysop' => [
- 'translationadmin'
- ],
- ],
+ '+metawiki' => [
+ 'sysop' => [
+ 'translationadmin'
+ ],
+ ],
'+commonswiki' => [
'sysop' => [
'translationadmin'
@@ -527,14 +524,14 @@
'wgLogos' => [
'default' => [
- 'icon' => "https://uploads.wickedgov.org/enwickedgov/static/logo/logo.svg",
- '1x' => "https://uploads.wickedgov.org/enwickedgov/static/logo/135px.png",
- 'wordmark' => [
- '1x' => 'https://uploads.wickedgov.org/enwickedgov/static/wordmark/135px.png',
- 'src' => 'https://uploads.wickedgov.org/enwickedgov/static/wordmark/wordmark.svg',
- 'width' => 135,
- 'height' => 19,
- ],
+ 'icon' => "https://uploads.wickedgov.org/enwickedgov/static/logo/logo.svg",
+ '1x' => "https://uploads.wickedgov.org/enwickedgov/static/logo/135px.png",
+ 'wordmark' => [
+ '1x' => 'https://uploads.wickedgov.org/enwickedgov/static/wordmark/135px.png',
+ 'src' => 'https://uploads.wickedgov.org/enwickedgov/static/wordmark/wordmark.svg',
+ 'width' => 135,
+ 'height' => 19,
+ ],
],
'metawiki' => [
'icon' => "https://uploads.wickedgov.org/enwickedgov/static/logo/meta.svg",
@@ -607,7 +604,7 @@
# On metawiki, allow subpages in mainspace
if ($wgDBname === 'metawiki') {
-$wgNamespacesWithSubpages[NS_MAIN] = true;
+ $wgNamespacesWithSubpages[NS_MAIN] = true;
};
# Template subpages, all wikis
@@ -727,13 +724,13 @@
# Terms of Use footer link
$wgHooks['SkinAddFooterLinks'][] = function ( Skin $skin, string $key, array &$footerlinks ) {
- if ( $key === 'places' ) {
- $footerlinks['termsofuse'] = Html::rawElement( 'a', [
+ if ( $key === 'places' ) {
+ $footerlinks['termsofuse'] = Html::rawElement( 'a', [
'href' => Title::newFromText(
$skin->msg( 'termsofuse-page' )->inContentLanguage()->text()
)->getFullURL()
], $skin->msg( 'termsofuse-desc' )->escaped() );
- };
+ };
};
# Disable raw HTML copyright messages
@@ -804,10 +801,10 @@
],
],
'email' => [
- 'files' => [
- 'DB: metawiki Spam_blacklist',
- ],
- ],
+ 'files' => [
+ 'DB: metawiki Spam_blacklist',
+ ],
+ ],
];
wfLoadExtension( 'SyntaxHighlight_GeSHi' );
wfLoadExtension( 'TemplateData' );
@@ -817,14 +814,14 @@
$wgTitleBlacklistLogHits = false;
$wgTitleBlacklistBlockAutoAccountCreation = false;
$wgTitleBlacklistSources = [
- [
- 'type' => 'localpage',
- 'src' => 'MediaWiki:Titleblacklist'
- ],
- [
- 'type' => 'url',
- 'src' => 'https://meta.wickedgov.org/w/index.php?title=Title_blacklist&action=raw'
- ],
+ [
+ 'type' => 'localpage',
+ 'src' => 'MediaWiki:Titleblacklist'
+ ],
+ [
+ 'type' => 'url',
+ 'src' => 'https://meta.wickedgov.org/w/index.php?title=Title_blacklist&action=raw'
+ ],
];
wfLoadExtension( 'VisualEditor' );
wfLoadExtension( 'WikiEditor' );
@@ -855,8 +852,8 @@
wfLoadExtension( 'GlobalCssJs' );
$wgUseGlobalSiteCssJs = true;
$wgResourceLoaderSources['metawiki'] = array(
- 'apiScript' => 'https://meta.wickedgov.org/w/api.php',
- 'loadScript' => 'https://meta.wickedgov.org/w/load.php',
+ 'apiScript' => 'https://meta.wickedgov.org/w/api.php',
+ 'loadScript' => 'https://meta.wickedgov.org/w/load.php',
);
$wgGlobalCssJsConfig = [
'wiki' => 'metawiki',
@@ -871,9 +868,9 @@
wfLoadExtension( 'GlobalBlocking' );
$wgVirtualDomainsMapping['virtual-globalblocking'] = ['db' => 'globalblocking'];
if (($wgDBname === 'metawiki') || ($wgDBname === 'loginwiki')) {
- $wgApplyGlobalBlocks = false;
+ $wgApplyGlobalBlocks = false;
} else {
- $wgApplyGlobalBlocks = true;
+ $wgApplyGlobalBlocks = true;
};
$wgGlobalBlockingCentralWiki = 'metawiki';
@@ -883,26 +880,26 @@
wfLoadExtension( 'ContactPage' );
$wgContactConfig['stewards'] = [
- 'RecipientEmail' => 'stewards@wickedgov.org',
- 'SenderEmail' => 'noreply@wickedgov.org',
- 'SenderName' => 'User Email',
- 'RequireDetails' => true,
- 'IncludeIP' => true,
- 'MustBeLoggedIn' => false,
- 'NameReadonly' => false,
- 'EmailReadonly' => false,
- 'SubjectReadonly' => false,
- 'MustHaveEmail' => false,
- 'AdditionalFields' => [
- 'Text' => [
- 'label-message' => 'emailmessage',
- 'type' => 'textarea',
- 'required' => true
- ],
- ],
- 'FieldsMergeStrategy' => null,
- 'RLModules' => [],
- 'RLStyleModules' => [],
+ 'RecipientEmail' => 'stewards@wickedgov.org',
+ 'SenderEmail' => 'noreply@wickedgov.org',
+ 'SenderName' => 'User Email',
+ 'RequireDetails' => true,
+ 'IncludeIP' => true,
+ 'MustBeLoggedIn' => false,
+ 'NameReadonly' => false,
+ 'EmailReadonly' => false,
+ 'SubjectReadonly' => false,
+ 'MustHaveEmail' => false,
+ 'AdditionalFields' => [
+ 'Text' => [
+ 'label-message' => 'emailmessage',
+ 'type' => 'textarea',
+ 'required' => true
+ ],
+ ],
+ 'FieldsMergeStrategy' => null,
+ 'RLModules' => [],
+ 'RLStyleModules' => [],
];
@@ -925,25 +922,25 @@
$wgCaptchaBadLoginPerUserExpiration = 600;
# wgconf
function efGetSiteParams( $conf, $wiki ) {
- $site = null;
- $lang = null;
- foreach( $conf->suffixes as $suffix ) {
- if ( substr( $wiki, -strlen( $suffix ) ) === $suffix ) {
- $site = $suffix;
- $lang = substr( $wiki, 0, -strlen( $suffix ) );
- break;
- }
- }
- return [
- 'suffix' => $site,
- 'lang' => $lang,
- 'params' => [
- 'lang' => $lang,
- 'site' => $site,
- 'wiki' => $wiki,
- ],
- 'tags' => [],
- ];
+ $site = null;
+ $lang = null;
+ foreach( $conf->suffixes as $suffix ) {
+ if ( substr( $wiki, -strlen( $suffix ) ) === $suffix ) {
+ $site = $suffix;
+ $lang = substr( $wiki, 0, -strlen( $suffix ) );
+ break;
+ }
+ }
+ return [
+ 'suffix' => $site,
+ 'lang' => $lang,
+ 'params' => [
+ 'lang' => $lang,
+ 'site' => $site,
+ 'wiki' => $wiki,
+ ],
+ 'tags' => [],
+ ];
}
$wgConf->siteParamsCallback = 'efGetSiteParams';
@@ -962,7 +959,7 @@
# Popups/Previews configuration
if ($wgDBname !== 'metawiki') {
-wfLoadExtension( 'Popups' );
+ wfLoadExtension( 'Popups' );
};
$wgPopupsReferencePreviewsBetaFeature = false;
@@ -983,26 +980,24 @@
$wgBabelMainCategory = false;
wfLoadExtension( 'Babel' );
if ($wgDBname === 'metawiki' or $wgDBname === 'commonswiki' or $wgDBname === 'testwiki') {
-$wgPageLanguageUseDB = true;
-
-wfLoadExtension( 'cldr' );
+ $wgPageLanguageUseDB = true;
-wfLoadExtension( 'CleanChanges' );
-$wgCCTrailerFilter = true;
-$wgCCUserFilter = false;
-$wgDefaultUserOptions['usenewrc'] = 1;
+ wfLoadExtension( 'cldr' );
-wfLoadExtension( 'Translate' );
-$wgGroupPermissions['*']['translate'] = true;
-$wgGroupPermissions['user']['translate-messagereview'] = true;
-$wgTranslateDocumentationLanguageCode = 'qqq';
-$wgExtraLanguageNames['qqq'] = 'Message documentation'; # No linguistic content. Used for documenting messages
-$wgTranslateFuzzyBotName = 'TranslationBot';
-$wgEnablePageTranslation = true;
-
-wfLoadExtension( 'UniversalLanguageSelector' );
+ wfLoadExtension( 'CleanChanges' );
+ $wgCCTrailerFilter = true;
+ $wgCCUserFilter = false;
+ $wgDefaultUserOptions['usenewrc'] = 1;
+ wfLoadExtension( 'Translate' );
+ $wgGroupPermissions['*']['translate'] = true;
+ $wgGroupPermissions['user']['translate-messagereview'] = true;
+ $wgTranslateDocumentationLanguageCode = 'qqq';
+ $wgExtraLanguageNames['qqq'] = 'Message documentation'; # No linguistic content. Used for documenting messages
+ $wgTranslateFuzzyBotName = 'TranslationBot';
+ $wgEnablePageTranslation = true;
+ wfLoadExtension( 'UniversalLanguageSelector' );
};
# Dependency for CentralNotice.
@@ -1015,10 +1010,10 @@
# CENTRALNOTICE
wfLoadExtension( 'CentralNotice' );
$wgNoticeProjects = array(
- 'wickedgov',
- 'sterling',
- 'techwiki',
- 'commonswiki',
+ 'wickedgov',
+ 'sterling',
+ 'techwiki',
+ 'commonswiki',
'metawiki',
'test',
);
@@ -1038,18 +1033,18 @@
$wgAllowUserCss = true;
if ($wgDBname === 'enwickedgov') {
-# Policy: namespace
-define("NS_POLICY", 3000); // This MUST be even.
-define("NS_POLICY_TALK", 3001); // This MUST be the following odd integer.
-$wgExtraNamespaces[NS_POLICY] = "Policy";
-$wgExtraNamespaces[NS_POLICY_TALK] = "Policy_talk";
-$wgNamespaceProtection[NS_POLICY] = ['editpolicyns'];
+ # Policy: namespace
+ define("NS_POLICY", 3000); // This MUST be even.
+ define("NS_POLICY_TALK", 3001); // This MUST be the following odd integer.
+ $wgExtraNamespaces[NS_POLICY] = "Policy";
+ $wgExtraNamespaces[NS_POLICY_TALK] = "Policy_talk";
+ $wgNamespaceProtection[NS_POLICY] = ['editpolicyns'];
};
# Protection levels
if ($wgDBname === 'enwickedgov') {
-$wgRestrictionLevels = [ '', 'autoconfirmed', 'editextendedprotected', 'sysop', 'editofficeprotected'];
-$wgSemiprotectedRestrictionLevels = ['autoconfirmed', 'editextendedprotected'];
+ $wgRestrictionLevels = [ '', 'autoconfirmed', 'editextendedprotected', 'sysop', 'editofficeprotected'];
+ $wgSemiprotectedRestrictionLevels = ['autoconfirmed', 'editextendedprotected'];
};
$wgAutoConfirmAge = 86400*3;
@@ -1060,40 +1055,33 @@
if ($wgDBname === 'enwickedgov') {
$wgAutopromoteOnce = [
- "onView" => [
- "extendedconfirmed" => [
- "&",
- [
- APCOND_EDITCOUNT,
- 100
- ],
- [
- APCOND_AGE_FROM_EDIT,
- 1209600
- ],
- [
- "!",
- [
- APCOND_INGROUPS,
- "sysop"
- ]
- ],
- [
- "!",
- [
- APCOND_INGROUPS,
- "bot"
- ]
- ],
- [
- "!",
- [
- APCOND_INGROUPS,
- "officestaff"
- ]
+ "onView" => [
+ "extendedconfirmed" => [
+ "&",
+ [
+ APCOND_EDITCOUNT,
+ 100
+ ],
+ [
+ APCOND_AGE_FROM_EDIT,
+ 1209600
+ ],
+ [
+ "!",
+ [
+ APCOND_INGROUPS,
+ "sysop"
+ ]
+ ],
+ [
+ "!",
+ [
+ APCOND_INGROUPS,
+ "bot"
+ ]
+ ]
+ ]
]
- ]
- ]
];
};
@@ -1118,8 +1106,8 @@
$wgAbuseFilterPrivateDetailsForceReason = true;
$wgCheckUserForceSummary = true;
$wgCheckUserCAMultiLock = [
- 'centralDB' => 'metawiki',
- 'groups' => [ 'steward' ]
+ 'centralDB' => 'metawiki',
+ 'groups' => [ 'steward' ]
];
$wgCheckUserCAtoollink = 'metawiki';
$wgCheckUserGBtoollink = $wgCheckUserCAMultiLock;
@@ -1143,8 +1131,8 @@
# Namespace alias for metaspace and metatalkspace
if ($wgDBname === 'enwickedgov') {
- $wgNamespaceAliases['WG'] = NS_PROJECT;
- $wgNamespaceAliases['WT'] = NS_PROJECT_TALK;
+ $wgNamespaceAliases['WG'] = NS_PROJECT;
+ $wgNamespaceAliases['WT'] = NS_PROJECT_TALK;
};
switch ($wgDBname) {
case 'enwickedgov':
@@ -1160,15 +1148,15 @@
# Prevent Main Page shenanigans on enwickedgov
if ($wgDBname === 'enwickedgov') {
$wgHooks['getUserPermissionsErrorsExpensive'][] = static function ( &$title, &$user, $action, &$result ) {
- if ( $action !== 'protect' && $action !== 'unprotect' && $action !== 'delete' && $action !== 'move') {
- return true;
- }
- $main = Title::newMainPage();
- $mainText = $main->getPrefixedDBkey();
- if ( $mainText === $title->getPrefixedDBkey() ) {
- $result = [ 'cant-delete-main-page' ];
- return false;
- }
+ if ( $action !== 'protect' && $action !== 'unprotect' && $action !== 'delete' && $action !== 'move') {
+ return true;
+ }
+ $main = Title::newMainPage();
+ $mainText = $main->getPrefixedDBkey();
+ if ( $mainText === $title->getPrefixedDBkey() ) {
+ $result = [ 'cant-delete-main-page' ];
+ return false;
+ }
};
};
@@ -1195,14 +1183,14 @@
// Don't allow import from the current wiki
if (($key = array_search($wgDBname, $wgImportSources)) !== false) {
- unset($wgImportSources[$key]);
+ unset($wgImportSources[$key]);
}
# Set group permissions
$wgExtensionFunctions[] = function() use ( &$wgGroupPermissions )
- {
- unset( $wgGroupPermissions['push-subscription-manager']);
- unset( $wgGroupPermissions['upwizcampeditors']);
+{
+ unset( $wgGroupPermissions['push-subscription-manager']);
+ unset( $wgGroupPermissions['upwizcampeditors']);
};
# BEGIN GRANT CONFIG
@@ -1213,186 +1201,186 @@
'abusefilter-log-detail' => false,
'abusefilter-view' => true,
'autocreateaccount' => false,
- 'autoconfirmed' => true,
- 'autopatrol' => true,
- 'editsemiprotected' => true,
+ 'autoconfirmed' => true,
+ 'autopatrol' => true,
+ 'editsemiprotected' => true,
'editextendedprotected' => true,
- 'ipblock-exempt' => true,
- 'nominornewtalk' => true,
- 'patrolmarks' => true,
- 'read' => true,
+ 'ipblock-exempt' => true,
+ 'nominornewtalk' => true,
+ 'patrolmarks' => true,
+ 'read' => true,
'skipcaptcha' => true,
'torunblocked' => true,
- 'unwatchedpages' => true,
- ],
- 'highvolume' => [
- 'bot' => true,
- 'apihighlimits' => true,
- 'noratelimit' => true,
- 'markbotedits' => true,
- ],
- 'import' => [
- 'import' => true,
- 'importupload' => true,
- ],
- 'editpage' => [
- 'edit' => true,
- 'minoredit' => true,
- 'applychangetags' => true,
- 'changetags' => true,
- 'editcontentmodel' => true,
- ],
- 'editprotected' => [
+ 'unwatchedpages' => true,
+ ],
+ 'highvolume' => [
+ 'bot' => true,
+ 'apihighlimits' => true,
+ 'noratelimit' => true,
+ 'markbotedits' => true,
+ ],
+ 'import' => [
+ 'import' => true,
+ 'importupload' => true,
+ ],
+ 'editpage' => [
+ 'edit' => true,
+ 'minoredit' => true,
+ 'applychangetags' => true,
+ 'changetags' => true,
+ 'editcontentmodel' => true,
+ ],
+ 'editprotected' => [
'abusefilter-bypass-blocked-external-domains' => true,
- 'edit' => true,
- 'minoredit' => true,
- 'applychangetags' => true,
- 'changetags' => true,
- 'editcontentmodel' => true,
- 'editprotected' => true,
+ 'edit' => true,
+ 'minoredit' => true,
+ 'applychangetags' => true,
+ 'changetags' => true,
+ 'editcontentmodel' => true,
+ 'editprotected' => true,
'editofficeprotected' => true,
'sboverride' => true,
'tboverride' => true,
- ],
- 'editmycssjs' => [
- 'edit' => true,
- 'minoredit' => true,
- 'applychangetags' => true,
- 'changetags' => true,
- 'editcontentmodel' => true,
- 'editmyusercss' => true,
- 'editmyuserjson' => true,
- 'editmyuserjs' => true,
- ],
- 'editmyoptions' => [
- 'editmyoptions' => true,
- 'editmyuserjson' => true,
- ],
- 'editinterface' => [
- 'edit' => true,
- 'minoredit' => true,
- 'applychangetags' => true,
- 'changetags' => true,
- 'editcontentmodel' => true,
- 'editinterface' => true,
- 'edituserjson' => true,
- 'editsitejson' => true,
- ],
- 'editsiteconfig' => [
- 'edit' => true,
- 'minoredit' => true,
- 'applychangetags' => true,
- 'changetags' => true,
- 'editcontentmodel' => true,
- 'editinterface' => true,
- 'edituserjson' => true,
- 'editsitejson' => true,
- 'editusercss' => true,
- 'edituserjs' => true,
- 'editsitecss' => true,
- 'editsitejs' => true,
- ],
- 'createeditmovepage' => [
- 'edit' => true,
- 'minoredit' => true,
- 'applychangetags' => true,
- 'changetags' => true,
- 'editcontentmodel' => true,
- 'createpage' => true,
- 'createtalk' => true,
- 'delete-redirect' => true,
- 'move' => true,
- 'move-rootuserpages' => true,
- 'move-subpages' => true,
- 'move-categorypages' => true,
- 'suppressredirect' => true,
- ],
- 'uploadfile' => [
- 'upload' => true,
- 'reupload-own' => true,
- ],
- 'uploadeditmovefile' => [
- 'upload' => true,
- 'reupload-own' => true,
- 'reupload' => true,
- 'upload_by_url' => true,
- 'movefile' => true,
- 'suppressredirect' => true,
- ],
- 'patrol' => [
- 'patrol' => true,
- ],
- 'rollback' => [
- 'rollback' => true,
- ],
- 'blockusers' => [
- 'block' => true,
- 'blockemail' => true,
- ],
- 'viewdeleted' => [
- 'browsearchive' => true,
- 'deletedhistory' => true,
- 'deletedtext' => true,
- ],
- 'viewrestrictedlogs' => [
+ ],
+ 'editmycssjs' => [
+ 'edit' => true,
+ 'minoredit' => true,
+ 'applychangetags' => true,
+ 'changetags' => true,
+ 'editcontentmodel' => true,
+ 'editmyusercss' => true,
+ 'editmyuserjson' => true,
+ 'editmyuserjs' => true,
+ ],
+ 'editmyoptions' => [
+ 'editmyoptions' => true,
+ 'editmyuserjson' => true,
+ ],
+ 'editinterface' => [
+ 'edit' => true,
+ 'minoredit' => true,
+ 'applychangetags' => true,
+ 'changetags' => true,
+ 'editcontentmodel' => true,
+ 'editinterface' => true,
+ 'edituserjson' => true,
+ 'editsitejson' => true,
+ ],
+ 'editsiteconfig' => [
+ 'edit' => true,
+ 'minoredit' => true,
+ 'applychangetags' => true,
+ 'changetags' => true,
+ 'editcontentmodel' => true,
+ 'editinterface' => true,
+ 'edituserjson' => true,
+ 'editsitejson' => true,
+ 'editusercss' => true,
+ 'edituserjs' => true,
+ 'editsitecss' => true,
+ 'editsitejs' => true,
+ ],
+ 'createeditmovepage' => [
+ 'edit' => true,
+ 'minoredit' => true,
+ 'applychangetags' => true,
+ 'changetags' => true,
+ 'editcontentmodel' => true,
+ 'createpage' => true,
+ 'createtalk' => true,
+ 'delete-redirect' => true,
+ 'move' => true,
+ 'move-rootuserpages' => true,
+ 'move-subpages' => true,
+ 'move-categorypages' => true,
+ 'suppressredirect' => true,
+ ],
+ 'uploadfile' => [
+ 'upload' => true,
+ 'reupload-own' => true,
+ ],
+ 'uploadeditmovefile' => [
+ 'upload' => true,
+ 'reupload-own' => true,
+ 'reupload' => true,
+ 'upload_by_url' => true,
+ 'movefile' => true,
+ 'suppressredirect' => true,
+ ],
+ 'patrol' => [
+ 'patrol' => true,
+ ],
+ 'rollback' => [
+ 'rollback' => true,
+ ],
+ 'blockusers' => [
+ 'block' => true,
+ 'blockemail' => true,
+ ],
+ 'viewdeleted' => [
+ 'browsearchive' => true,
+ 'deletedhistory' => true,
+ 'deletedtext' => true,
+ ],
+ 'viewrestrictedlogs' => [
'abusefilter-hidden-log' => true,
'abusefilter-log-private' => true,
'abusefilter-view-private' => true,
'spamblacklistlog' => true,
- 'suppressionlog' => true,
+ 'suppressionlog' => true,
'titleblacklistlog' => true,
- ],
- 'delete' => [
- 'edit' => true,
- 'minoredit' => true,
- 'applychangetags' => true,
- 'changetags' => true,
- 'editcontentmodel' => true,
- 'browsearchive' => true,
- 'deletedhistory' => true,
- 'deletedtext' => true,
- 'delete' => true,
- 'bigdelete' => true,
- 'deletelogentry' => true,
- 'deleterevision' => true,
- 'undelete' => true,
+ ],
+ 'delete' => [
+ 'edit' => true,
+ 'minoredit' => true,
+ 'applychangetags' => true,
+ 'changetags' => true,
+ 'editcontentmodel' => true,
+ 'browsearchive' => true,
+ 'deletedhistory' => true,
+ 'deletedtext' => true,
+ 'delete' => true,
+ 'bigdelete' => true,
+ 'deletelogentry' => true,
+ 'deleterevision' => true,
+ 'undelete' => true,
'nuke' => true,
- ],
- 'oversight' => [
+ ],
+ 'oversight' => [
'abusefilter-hide-log' => true,
- 'suppressrevision' => true,
- 'viewsuppressed' => true,
- ],
- 'protect' => [
- 'edit' => true,
- 'minoredit' => true,
- 'applychangetags' => true,
- 'changetags' => true,
- 'editcontentmodel' => true,
- 'editprotected' => true,
+ 'suppressrevision' => true,
+ 'viewsuppressed' => true,
+ ],
+ 'protect' => [
+ 'edit' => true,
+ 'minoredit' => true,
+ 'applychangetags' => true,
+ 'changetags' => true,
+ 'editcontentmodel' => true,
+ 'editprotected' => true,
'editofficeprotected' => true,
- 'protect' => true,
- ],
- 'viewmywatchlist' => [
- 'viewmywatchlist' => true,
- ],
- 'editmywatchlist' => [
- 'editmywatchlist' => true,
- ],
- 'sendemail' => [
- 'sendemail' => true,
- ],
- 'createaccount' => [
- 'createaccount' => true,
+ 'protect' => true,
+ ],
+ 'viewmywatchlist' => [
+ 'viewmywatchlist' => true,
+ ],
+ 'editmywatchlist' => [
+ 'editmywatchlist' => true,
+ ],
+ 'sendemail' => [
+ 'sendemail' => true,
+ ],
+ 'createaccount' => [
+ 'createaccount' => true,
'tboverride-account' => true,
'override-antispoof' => true,
- ],
- 'privateinfo' => [
- 'viewmyprivateinfo' => true,
- ],
- 'mergehistory' => [
- 'mergehistory' => true,
- ],
+ ],
+ 'privateinfo' => [
+ 'viewmyprivateinfo' => true,
+ ],
+ 'mergehistory' => [
+ 'mergehistory' => true,
+ ],
'oath' => [
'oathauth-api-all' => true,
'oathauth-verify-user' => true,
@@ -1491,8 +1479,8 @@
#Number of account creations per IP per day
$wgAccountCreationThrottle = [ [
- 'count' => 10,
- 'seconds' => 86400,
+ 'count' => 10,
+ 'seconds' => 86400,
] ];
@@ -1543,41 +1531,41 @@
];
$wgCentralAuthGlobalPasswordPolicies['policies'] = [
'steward' => [
- 'MinimalPasswordLength' => [ 'value' => 12, 'forceChange' => true ],
- 'MinimumPasswordLengthToLogin' => 1,
+ 'MinimalPasswordLength' => [ 'value' => 12, 'forceChange' => true ],
+ 'MinimumPasswordLengthToLogin' => 1,
],
'global-sysop' => [
'MinimalPasswordLength' => [ 'value' => 10, 'forceChange' => true ],
- 'MinimumPasswordLengthToLogin' => 1,
+ 'MinimumPasswordLengthToLogin' => 1,
+ ],
+ 'sysadmin' => [
+ 'MinimalPasswordLength' => [ 'value' => 12, 'forceChange' => true ],
+ 'MinimumPasswordLengthToLogin' => 1,
],
- 'sysadmin' => [
- 'MinimalPasswordLength' => [ 'value' => 12, 'forceChange' => true ],
- 'MinimumPasswordLengthToLogin' => 1,
- ],
'staff' => [
- 'MinimalPasswordLength' => [ 'value' => 12, 'forceChange' => true ],
- 'MinimumPasswordLengthToLogin' => 1,
- ],
+ 'MinimalPasswordLength' => [ 'value' => 12, 'forceChange' => true ],
+ 'MinimumPasswordLengthToLogin' => 1,
+ ],
'default' => [
'MinimalPasswordLength' => [ 'value' => 8, 'suggestChangeOnLogin' => true ],
- 'PasswordCannotBeSubstringInUsername' => [
- 'value' => true,
- 'suggestChangeOnLogin' => true
- ],
- 'PasswordCannotMatchDefaults' => [ 'value' => true, 'suggestChangeOnLogin' => true ],
- 'MaximalPasswordLength' => [ 'value' => 4096, 'suggestChangeOnLogin' => true ],
- 'PasswordNotInCommonList' => [ 'value' => true, 'suggestChangeOnLogin' => true ],
+ 'PasswordCannotBeSubstringInUsername' => [
+ 'value' => true,
+ 'suggestChangeOnLogin' => true
+ ],
+ 'PasswordCannotMatchDefaults' => [ 'value' => true, 'suggestChangeOnLogin' => true ],
+ 'MaximalPasswordLength' => [ 'value' => 4096, 'suggestChangeOnLogin' => true ],
+ 'PasswordNotInCommonList' => [ 'value' => true, 'suggestChangeOnLogin' => true ],
],
];
# Stewards outside metawiki
if ($wgDBname !== 'metawiki') {
- $wgExtensionFunctions[] = function() use ( &$wgGroupPermissions ) {
- unset( $wgGroupPermissions['steward'] );
- $wgGroupPermissions['steward']['userrights'] = true;
- $wgGroupPermissions['steward']['edit'] = true;
- };
+ $wgExtensionFunctions[] = function() use ( &$wgGroupPermissions ) {
+ unset( $wgGroupPermissions['steward'] );
+ $wgGroupPermissions['steward']['userrights'] = true;
+ $wgGroupPermissions['steward']['edit'] = true;
+ };
};
$wgScriptPath = "/w";
@@ -1588,7 +1576,7 @@
$wgEnablePartialActionBlocks = true;
$wgExtensionFunctions[] = function() use ( &$wgGroupPermissions ) {
- unset( $wgGroupPermissions['push-subscription-manager'] );
+ unset( $wgGroupPermissions['push-subscription-manager'] );
};
$wgCookieSameSite = "None";
@@ -1601,8 +1589,8 @@
$wgCentralAuthStrict = true;
$wgCentralAuthAutoCreateWikis = ['loginwiki', 'metawiki'];
$wgCentralAuthAutoLoginWikis = [
- # Mapping from domain name to wiki id for other wikis to automatically login into
- 'login.wickedgov.org' => 'loginwiki',
+ # Mapping from domain name to wiki id for other wikis to automatically login into
+ 'login.wickedgov.org' => 'loginwiki',
];
if ($wgDBname === 'metawiki') {
$wgCentralAuthEnableGlobalRenameRequest = true;
@@ -1616,23 +1604,23 @@
if ($wgDBname === 'testwiki' or $wgDBname === 'loginwiki') {
$wgAutoCreateTempUser = [
- 'known' => true,
- 'enabled' => true,
- 'actions' => [
- 'edit',
- ],
- 'genPattern' => '~$1',
- 'matchPattern' => null,
- 'reservedPattern' => '~$1',
- 'serialProvider' => [
- 'type' => 'centralauth',
- 'useYear' => true,
- ],
- 'serialMapping' => [
- 'type' => 'plain-numeric',
- ],
- 'expireAfterDays' => 90,
- 'notifyBeforeExpirationDays' => 10,
+ 'known' => true,
+ 'enabled' => true,
+ 'actions' => [
+ 'edit',
+ ],
+ 'genPattern' => '~$1',
+ 'matchPattern' => null,
+ 'reservedPattern' => '~$1',
+ 'serialProvider' => [
+ 'type' => 'centralauth',
+ 'useYear' => true,
+ ],
+ 'serialMapping' => [
+ 'type' => 'plain-numeric',
+ ],
+ 'expireAfterDays' => 90,
+ 'notifyBeforeExpirationDays' => 10,
];
} else {
$wgAutoCreateTempUser = [
@@ -1656,4 +1644,3 @@
];
};
$wgInterwikiCentralDB = 'metawiki';
-
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 9, 11:26 (12 h, 53 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
2b/ca/1beb42d628f094df660c24b4bac3
Default Alt Text
D4.1752060363.diff (47 KB)
Attached To
Mode
D4: InitialiseSettings cosmetic cleanup per T10
Attached
Detach File
Event Timeline
Log In to Comment