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

            Bug ID: 72521
           Summary: Edit preview doesn't work for JS and CSS pages
           Product: MobileFrontend
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: stable
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

If you use the Wikitext editor to edit a JS or CSS page on mobile, it throws
the following Javascript error: "resp.parse.sections[0] is undefined"

Apparently our previewing code assumes that the API always returns sections for
pages (which JS and CSS pages don't have).

-- 
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