MediaWiki talk:Gadget-ImprovedUploadForm.js
| This script, ImprovedUploadForm, is a JavaScript gadget which can be enabled or disabled in your Preferences. The documentation page is located at Help:Gadget-ImprovedUploadForm. |
i18n | Gadget translations:
no internationalisation required: |
| By default, MediaWiki:UploadForm.js is loaded via MediaWiki:Gadget-ImprovedUploadForm.js if appropriate and required (it's only used at Special:Upload). |
| Conversations older than 7 days will be archived automatically. |
Dependencies on other scripts
This script makes use of the following other Javascripts:
| Script | Type of dependency |
Purpose |
|---|---|---|
| MediaWiki:Gadget-HotCat.js | ||
| MediaWiki:TextCleaner.js | ||
| MediaWiki:LanguageHandler.js | ||
| MediaWiki:FormRestorer.js | ||
| MediaWiki:UIElements.js | ||
| MediaWiki:Tooltips.js |
Invalid size of image icons on the form
Steps:
What happens?:
Icons are broken (cut on two sides). Probably related to: T414805 FY 25/26 WE 5.4.10 Standard Thumbnail Sizes Only
Screenshot here: phab:T418071.
What should have happened instead?:
Show whole icon.
If that is important: I tested on Firefox 147 on Windows 11 (the same on Chrome 145). Nux (talk··dyskusja) 19:43, 22 February 2026 (UTC)
- Note, also close icons has invalid size. Nux (talk··dyskusja) 19:44, 22 February 2026 (UTC)
- This works:
- a.wpUploadFormHelpOpenClass {
- background-size: 16px;
- }
- a.wpUploadFormHelpCloseClass {
- background-size: 14px;
- padding: 4px 2px;
- } Nux (talk··dyskusja) 20:11, 22 February 2026 (UTC)
- Maybe the gadget should use a Codex Popover instead of the custom-made popup? Or just move these explanations to MediaWiki itself, and find a proper formatting for them there – most of the messages are not Commons-specific anyway (only the bits discussing free licenses are). —Tacsipacsi (talk) 17:08, 24 February 2026 (UTC)
- Sounds good, but might be hard to adapt. The gadget uses many pages that contain state of icons and i18n. So a bot might be required to gather and transform the translations. Nux (talk··dyskusja) 19:13, 24 February 2026 (UTC)
- Maybe the gadget should use a Codex Popover instead of the custom-made popup? Or just move these explanations to MediaWiki itself, and find a proper formatting for them there – most of the messages are not Commons-specific anyway (only the bits discussing free licenses are). —Tacsipacsi (talk) 17:08, 24 February 2026 (UTC)