Jump to content

Topic on Extension talk:MsUpload

Summary by Sophivorus

Use $wgMSU_uploadsize

Sm8ps (talkcontribs)

I do not know if this is all well-know but the main page only talks about that the maximum file size depending on MediaWiki settings. However the parameter 'max_file_size' can be set in 'extensions/MsUpload/js/msupload.js', restricting the file size specifically for MsUpload.

I have added this information to the main page of the extension.

205.210.253.12 (talkcontribs)

Thank you for this!!

YOU saved me a ton of time trying to figure out WHY the uploads were getting capped!!

Cheers,

Dan

Sm8ps (talkcontribs)

Just wanted to point that MsUpload will silently refuse to add files of size greater than 'max_file_size' to its upload list. So this setting may possibly confuse users unaware of this limitation. YMMV!

24.42.248.200 (talkcontribs)

Turns out that this has moved; the limit is still 100mb, but is now set in extension.json as "MSU_uploadsize". This should really be documented somewhere.

Sophivorus (talkcontribs)

Just added the documentation for $wgMSU_uploadsize, thanks for pointing it out!