Steps to replicate the issue (include links if applicable):
- Edit any page in Visual editor, for example this page
- Make random screenshot. Tested with Ubuntu 26.04, FireFox 151.0.2 (64-bit)
- In any place on the page push Ctrl+V. You will get long text with error and then again the same text. This is bug, should be the only one text without duplication. And also If you think that wiki should allow uploading an images from clipboard (best for users) then such error should not happen. But if you don't plan to make such feature then fix error text to add "images from clipboard can't be inserted".
What happens?:
Error text "This page is currently semi-protected, and can be edited only by established registered users.
Semi-protection is sometimes necessary to prevent vandalism to popular pages. Most media files and gallery pages can be edited by anyone. The reason for protection can be found in the protection log. If you have a user account, log in first. If you do not yet have an account, you may create one; after a while, you will be able to edit semi-protected pages. You may request unprotection of the page."
What should have happened instead?:
The Image should be inserted from a clipboard
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Ubuntu 26.04, FireFox 151.0.2 (64-bit)
