Problem
Adding safemode=1 to the URL should prevent user scripts, gadgets, etc. from loading. While this works in most cases, it does not work while editing in VE:
Several ways to reproduce:
- Open https://de.wikipedia.org/wiki/Benutzer:Schnark?safemode=1 (scripts not loaded as expected)
- Click "Edit".
The URL changes to https://de.wikipedia.org/wiki/Benutzer:Schnark?safemode=1&veaction=edit, but unexpectedly my user scripts do load.
The same happens when:
- Opening https://de.wikipedia.org/wiki/Benutzer:Schnark?safemode=1&veaction=edit directly
- NWE (i.e. with veaction=editsource).
- Old editor (when NWE is enabled) with https://de.wikipedia.org/wiki/Benutzer:Schnark?safemode=1&action=edit.
[And also, NWE doesn't load for me without displaying any error, but per above I'm not sure whether one of my scripts is responsible for this or not.]