UploadInPage

UploadInPage is a script mostly designed for monobook users that allows them to upload a file without going to Special:Upload or Special:MultipleUpload and insert it into the page. If enabled, it prevents uploading files without a license in the special pages, the oasis modal and this modals. This script has two customizable options for personal use and one of them is that this replaces the oasis modal for this one.

Usage
To use this script you have to add  to the ImportJS page of your wiki or copy the following script to the Common.js of your wiki or to your personal global.js:

Customization
Here is a list of possible things that you can enable or disable. Remember to add them before you import the code, or if you imported it in ImportJS, you can put this anywhere in Common.js