mediawiki upload size

To change the maximum upload size in MediaWiki, you need to adjust the following configuration settings in your LocalSettings.php file:

$wgMaxUploadSize = 1024  1024  20; // Set to desired size in bytes (e.g., 20 MB)
$wgUploadSizeWarning = 1024  1024  15; // Optional: Set a warning threshold if needed
$wgMaxImageArea = 1.25  1024  1024 * 20; // Optional: Adjust maximum image area

Replace the values accordingly based on your requirements.