Page MenuHomePhabricator

Reference adapatation cause javascript error with infinite recursion
Closed, ResolvedPublic1 Estimated Story Points

Description

Try a translation - Special:ContentTranslation&page=Hebrew+language&from=en&to=he&targettitle=Hebrew+language&debug=1

Click on second paragraph and you will notice browser hangs for couple of seconds and finally an error in console saying maximum callstack reached..

It is caused by a recursion in ReferenceCard.prototype.getReferenceData method

Event Timeline

santhosh claimed this task.
santhosh raised the priority of this task from to High.
santhosh updated the task description. (Show Details)
santhosh subscribed.

Change 197286 had a related patch set uploaded (by Santhosh):
References: Fix javascript error by infinite recursion

https://gerrit.wikimedia.org/r/197286

Change 197286 merged by jenkins-bot:
References: Fix javascript error by infinite recursion

https://gerrit.wikimedia.org/r/197286