Very similar to T244350 and T209502, I think.
Tested on Beta Commons in a private window.
(I also don’t understand why I can even attempt to edit a protected page, but that’s a different question.)
| Lucas_Werkmeister_WMDE | |
| Mar 27 2020, 12:34 PM |
Very similar to T244350 and T209502, I think.
Tested on Beta Commons in a private window.
(I also don’t understand why I can even attempt to edit a protected page, but that’s a different question.)
This no longer seems like an issue. This particular case is not reproducible because it is no longer possible to attempt to edit captions/structured data when the file itself is protected, the edit button does not appear. And editing captions when the file is cascade protected results in the error correctly rendering as actual HTML.
Mentioned in SAL (#wikimedia-releng) [2021-10-18T09:41:24Z] <Lucas_WMDE> lucaswerkmeister-wmde@deployment-mwmaint01:~$ mwscript createAndPromote.php commonswiki --sysop --force 'Lucas Werkmeister (WMDE)' # T248676
And even if the file is only protected after you loaded the editing UI, the error gets shown correctly.