Page MenuHomePhabricator

[1.30.0-wmf.4] Console error "Uncaught TypeError: Cannot read property 'outerHTML' of undefined"
Closed, DeclinedPublic

Description

In Chrome, on enwiki (e.g.https://de.wikipedia.org/wiki/Cottbuser_Ostsee) click on the template which is at the beginning of the article. (Infobox See) The Console will display the following error:

Uncaught TypeError: Cannot read property 'outerHTML' of undefined
    at ContentTranslationStorage.getContent (eval at <anonymous> (/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki%7Cmediawiki.legacy.wikibits&only=scripts&skin=vector&version=0r0nkm9:4), <anonymous>:8:2097)
    at ContentTranslationStorage.markForSave (eval at <anonymous> (/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki%7Cmediawiki.legacy.wikibits&only=scripts&skin=vector&version=0r0nkm9:4), <anonymous>:13:375)
    at eval (eval at <anonymous> (/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki%7Cmediawiki.legacy.wikibits&only=scripts&skin=vector&version=0r0nkm9:4), <anonymous>:9:171)
    at fire (/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki%7Cmediawiki.legacy.wikibits&only=scripts&skin=vector&version=0r0nkm9:45)
    at Object.fireWith (/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki%7Cmediawiki.legacy.wikibits&only=scripts&skin=vector&version=0r0nkm9:46)
    at Object.fire (/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki%7Cmediawiki.legacy.wikibits&only=scripts&skin=vector&version=0r0nkm9:175)
    at TemplateTool.onUpdate (eval at <anonymous> (/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki%7Cmediawiki.legacy.wikibits&only=scripts&skin=vector&version=0r0nkm9:4), <anonymous>:93:280)
    at jQuery.fn.init.eval (eval at <anonymous> (/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki%7Cmediawiki.legacy.wikibits&only=scripts&skin=vector&version=0r0nkm9:4), <anonymous>:94:534)
    at fire (/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki%7Cmediawiki.legacy.wikibits&only=scripts&skin=vector&version=0r0nkm9:45)
    at Object.fireWith [as resolveWith] (/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki%7Cmediawiki.legacy.wikibits&only=scripts&skin=vector&version=0r0nkm9:46)

Note: I checked some other articles with the same template (e.g. https://de.wikipedia.org/wiki/Vierwaldst%C3%A4ttersee), the error is not displayed.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 14 2017, 11:35 AM
Arrbee moved this task from Bugs to Check & Move on the ContentTranslation board.Oct 15 2018, 8:59 AM
Petar.petkovic closed this task as Declined.Oct 15 2018, 3:00 PM
Petar.petkovic added a subscriber: Petar.petkovic.

This was reported for CX1.

T202714 describes the problem with the same infobox on top of de:Cottbuser_Ostsee, but on CX2, thus closing this one.