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

            Bug ID: 68557
           Summary: Disabling CodeEditor while not logged in throws
                    JavaScript error
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: Unprioritized
         Component: CodeEditor
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
       Web browser: ---
   Mobile Platform: ---

Steps to reproduce:
1. Log out, open a page CodeEditor works on for editing.
2. Click the CodeEditor icon to disable it.

Of course saving to preferences fails, but additionally a JavaScript error is
thrown: TypeError: mw.log.error is not a function

This error isn't visible unless you look for it, and it doesn't prevent further
execution, but it shouldn't be there in any case.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to