https://bugzilla.wikimedia.org/show_bug.cgi?id=25610

           Summary: Setting a cookie to go into a RL debug mode
           Product: MediaWiki
           Version: 1.16-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Resource Loader
        AssignedTo: tpars...@wikimedia.org
        ReportedBy: e...@wp.pl
                CC: roan.katt...@gmail.com


The idea is to make this work:
javascript:alert(document.cookie="resource_loader_debug=1;path=/")

Meaning a developer could add this URI as a bookmark which would in effect turn
on the debug mode.

I was going to attach a patch, but I see my original idea is not working and I
have a question - can I replace all this getFuzzyBool thingies in
OutputPage.php to a static method call of e.g. ResourceLoaderContext? Something
like:
ResourceLoaderContext::isInDebugMode($wgRequest)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to