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

            Bug ID: 62250
           Summary: CodeEditor activates in the absence of toggle cookie
                    but does not recreate this cookie / critical problems
                    with other editors such as wikEd
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: Unprioritized
         Component: CodeEditor
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: cacycl...@gmail.com
                CC: br...@wikimedia.org
       Web browser: ---
   Mobile Platform: ---

CodeEditor's cookie toggle mechanism is not implemented correctly and causes
massive problems with other editors (such as missing edit areas with wikEd).

CodeEditor sets a cookie to signal that it is active on an edit page
(wikiEditor-0-codeEditor-enabled = 1). This cookie is also used to toggle the
editor's activation state.

Problem: CodeEditor is active by default, even if the the cookie is absent.
However, CodeEditor does not recreate the missing cookie. CodeEditor is then
active without the cookie and without an easy mechanism for other editors to
detect its active presence. For wikEd, this leads to edit pages without any
editing area (see
https://en.wikipedia.org/wiki/User_talk:Cacycle/wikEd#WikEd_conflicts_with_code_editor).

Solution: Either CodeEditor has to recreate the cookie when it activates itself
in the absence of the cookie or CodeEditor should stay inactive in the absence
of the cookie.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to