MediaUploader inherits its codebase from UploadWizard, which has some Wikimedia Commons-specific features such as Wikibase support. Most of these features aren't that useful for third-party wikis and should be removed to cut down on the volume of code and speed up further development.
Things that should be removed (very rough draft for now, will be refined later):
- Image-based tutorials in favor of wikitext-based, see T228701: Change the tutorial to be a customizable message (instead of an image)
- Wikibase integration (structured data) – see patch
- Object references seem a bit weird and complicated, this is mostly a symptom of lacking configurability.
- Patent and weaponry handling for STL files. Very Commons-specific, but there could be a general way of adding upload filters like this one – see T275248.
- T274913: Remove old update scripts and SQL patches
- EventLogging schemas and related code. I doubt any third party uses that and a quick search says there are no non-WMF extensions using EventLogging schemas. Note: the EventLogging extension is still required for campaign schema validation, see T275157: Remove dependency on EventLogging.
- Extension:Campaigns support. This can be easily done with Google Analytics, Matomo, or any other proper tool for this kind of task.
And probably a few other minor things.