Last modified: 2012-06-21 02:00:36 UTC
* If debug=true, remember in session * the "set debugmode" code should check session in addition to GET query param * going to debug=false will also unset it in the session Allows to navigate the wiki, submit forms (bug 35061), and stuff. To prevent users from unknowingly staying in debug mode, JS should but up an informational notification on the page informing something short like: "You've enabled debug mode of client resources delivery, click here to disable this"
Since setting a cookie "resourceLoaderDebug" enables debug mode, this probably can be done easily on client side.
(In reply to comment #1) > Since setting a cookie "resourceLoaderDebug" enables debug mode, this probably > can be done easily on client side. The cookie can be set on the client side, however the initial server request needs to know this before any client code is processed because it influences how the page is rendered very early on. (one could implement a redirect/refresh, but that gives the same problem with form submissions). This needs (at least some) server development. But that's OK, it's not a hard thing to do :), just other priorities right now (although patches are welcome at any time :)
(In reply to comment #1) > Since setting a cookie "resourceLoaderDebug" enables debug mode, this probably > can be done easily on client side. Ah, this is already implemented. I didn't know that. (bug 25610 slipped by silently, and it never made it into documentation). Repurposing this bug for the GUI module.