Warning: You take full responsibility for any actions taken using PasteToCommons. You must read and understand all relevant Wikipedia policies and abide by them when using this tool; failure to do so may result in being blocked from editing.
PasteToCommons
Description
Upload an image to Commons from anywhere on the site by pasting it
If you paste an image by Ctrl+V (or ⌘ Cmd+V or whatever depending on your OS) on any page on the site while this script is installed, a dialog will show up that allows you to upload it to Wikimedia Commons. This is to allow easier uploading and sharing of screenshots of the site.
The default values for the description are based on the instructions at Wikipedia:Screenshots of Wikipedia . You may override them in your common.js using the following syntax:
window.pastetocommonsDefaults={filename:'en-two.iwiki.icu Page Name yyyy-mm-dd',description:'Screenshot of the English Wikipedia',source:'Screenshot',author:'Wikipedia Authors, see the history of [[w:Page Name]]',license:'{{Wikipedia-screenshot|1=en}}'};