Page MenuHomePhabricator

Attempting to translate list containing a MathWorld template causes 'TypeError: mwData.parts[0].template is undefined'
Open, Needs TriagePublic

Description

On
https://pt.wikipedia.org/wiki/Special:ContentTranslation?page=Rational+root+theorem&from=en&to=pt&targettitle=Teorema+das+ra%C3%ADzes+racionais
if I click in the field on the right of 'Weisstein, Eric W. "Rational Zero Theorem". MathWorld.', in the section for "External links", I get the following error in the console (and the content is not inserted for translation:

TypeError: mwData.parts[0].template is undefined[Learn More]  load.php:99:1087
	Template.prototype.init https://pt.wikipedia.org/w/load.php:99:1087
	Template https://pt.wikipedia.org/w/load.php:99:593
	TemplateTool.static.processTemplate https://pt.wikipedia.org/w/load.php:117:412
	TemplateTool.static.processBlockTemplate https://pt.wikipedia.org/w/load.php:119:387
	jQuery.Callbacks/fire https://pt.wikipedia.org/w/load.php:45:104
	jQuery.Callbacks/self.fireWith https://pt.wikipedia.org/w/load.php:46:431
	mw.hook/<.fire https://pt.wikipedia.org/w/load.php:176:216
	sectionClick https://pt.wikipedia.org/w/load.php:59:711
	jQuery.event.dispatch https://pt.wikipedia.org/w/load.php:65:913
	jQuery.event.add/elemData.handle

In the original article, this is the content of that line:

*{{MathWorld|urlname=RationalZeroTheorem|title=Rational Zero Theorem}}

Event Timeline

He7d3r created this task.Dec 11 2016, 12:49 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 11 2016, 12:49 PM