Your one-stop-cake-shop for everything Freshly Baked has to offer

feat(pm/wiki): allow more file uploads #185

deleted opened by a.starrysky.fyi targeting main from private/minion/push-xpqrvpwlrtsk

By default mediawiki has restrictive file upload requirements. In particular they have to be very small and in a tiny set of image types.

We trust the people on our wiki. We should just let them upload many more files...

Labels

None yet.

requested-reviewers

None yet.

approved

None yet.

tested-working

None yet.

rejected

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:uuyqs6y3pwtbteet4swt5i5y/sh.tangled.repo.pull/3mdi2nvgvgt22
+10
Diff #1
+10
packetmix/systems/wiki/wiki.nix
··· 281 281 282 282 $wgExternalLinkTarget = '_blank'; 283 283 284 + $wgStrictFileExtensions = false; 285 + 286 + $wgMaxUploadSize = 1024 * 1024 * 1024; 287 + 284 288 $wgShowExceptionDetails = true; 285 289 $wgDevelopmentWarnings = true; 286 290 ''; ··· 300 304 passwordFile = "/secrets/mediawiki/initial_admin_password.txt"; 301 305 }; 302 306 307 + services.phpfpm.pools.mediawiki.phpOptions = '' 308 + upload_max_filesize = 1G 309 + post_max_size = 1G 310 + memory_limit = 2G 311 + ''; 312 + 303 313 services.postgresql = { 304 314 enable = true; 305 315 ensureDatabases = [ config.services.mediawiki.database.name ];

History

2 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
feat(pm/wiki): allow more file uploads
expand 0 comments
This pull has been deleted (possibly by jj abandon or jj squash)
1 commit
expand
feat(pm/wiki): allow more file uploads
expand 0 comments