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
Version: unspecified
Severity: normal