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

       Web browser: Firefox
             Bug #: 37808
           Summary: VisualEditor freaks out on <span>
           Product: MediaWiki extensions
           Version: master
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: VisualEditor
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


After I vandalised the test page with[1], trying to edit this page resulted in
"renderers[annotation.type] is undefined"

var openAnnotations = function( annotations ) {
    var out = '',
        annotation;
    for ( var hash in annotations ) {
        annotation = annotations[hash];
        out += typeof renderers[annotation.type].open === 'function' ? <-- here
            renderers[annotation.type].open( annotation.data ) :
            renderers[annotation.type].open;
        hashStack.push( hash );
        annotationStack[hash] = annotation;
    }


----
[1]
https://www.mediawiki.org/w/index.php?title=VisualEditor:Test&diff=552553&oldid=552537

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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