Skip to content

Commit

Permalink
Disable file uploads temporarily (#5377)
Browse files Browse the repository at this point in the history
  • Loading branch information
paladox authored Nov 20, 2023
1 parent d5a04fe commit a24b405
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions GlobalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -653,3 +653,10 @@
$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;

0 comments on commit a24b405

Please sign in to comment.