From b76851f197b50682e177285fcd8c11e9ef5bbe0f Mon Sep 17 00:00:00 2001 From: The-Voidwalker Date: Tue, 21 Nov 2023 16:04:59 -0500 Subject: [PATCH] remove sitenotice and enable uploads (#5378) --- GlobalSettings.php | 7 ------- Sitenotice.php | 36 ++++++++++++++++++------------------ 2 files changed, 18 insertions(+), 25 deletions(-) diff --git a/GlobalSettings.php b/GlobalSettings.php index 8b79de25e4..9b0406c696 100644 --- a/GlobalSettings.php +++ b/GlobalSettings.php @@ -653,10 +653,3 @@ $wgMathMathMLUrl = 'http://[2a10:6740::6:504]:10044/'; $wgPropagateErrors = false; - -// Disble ImportDump requests and uploads due to swift outage -$wgSpecialPages['RequestImportDump'] = DisabledSpecialPage::getCallback( 'RequestImportDump', 'Currently ImportDump requests cannot be processed due to ongoing issues with our file storage' ); -$wgSpecialPages['RequestImportDumpQueue'] = DisabledSpecialPage::getCallback( 'RequestImportDumpQueue', 'Currently ImportDump requests cannot be processed due to ongoing issues with our file storage' ); -$wgRevokePermissions['*']['upload'] = true; -$wgRevokePermissions['*']['movefile'] = true; -$wgUploadMaintenance = true; diff --git a/Sitenotice.php b/Sitenotice.php index abc09c858b..d71ad804ab 100644 --- a/Sitenotice.php +++ b/Sitenotice.php @@ -15,7 +15,7 @@ */ // Global SiteNotice -if ( !$wmgSiteNoticeOptOut ) { +/*if ( !$wmgSiteNoticeOptOut ) { $wgHooks['SiteNoticeAfter'][] = 'wfGlobalSiteNotice'; function wfGlobalSiteNotice( &$siteNotice, $skin ) { @@ -38,7 +38,7 @@ function wfGlobalSiteNotice( &$siteNotice, $skin ) { EOF; } -} +}*/ // Specific wiki SiteNotice if ( $wi->isExtensionActive( 'Graph' ) ) { @@ -90,22 +90,22 @@ function wfMetaSiteNotice( &$siteNotice, $skin ) { '.skin-cosmos #sitenotice-learnmore-button { margin-left: 50px; }' ); $siteNotice .= << - - - -
- OOjs UI icon web-progressive -
Vacancy
- SRE is looking for Software Engineers to join our MediaWiki Team to develop code to improve the user experience of Miraheze users, build tools that allow communities to grow, and tools that support our valuable volunteers in managing a dynamic and active global community. If you think this could be you, please do have a look at the the Vacancies page which includes more information. -

Other vacancies are also available on that page. - - - - - - - + + + + + + + + + +
+
+ OOjs UI icon web-progressive +
Vacancy
+ SRE is looking for Software Engineers to join our MediaWiki Team to develop code to improve the user experience of Miraheze users, build tools that allow communities to grow, and tools that support our valuable volunteers in managing a dynamic and active global community. If you think this could be you, please do have a look at the the Vacancies page which includes more information. +

Other vacancies are also available on that page. +
EOF; } }