Last modified: 2014-06-16 09:39:12 UTC
https://en.wikipedia.org/wiki/Linux_distributions?debug=true#mediaviewer/File:Linux_Distribution_Timeline.svg The file usage contains a link to ar.wikipedia.org in the namespace 104. This namespace is not known to en.wikipedia.org, so when trying to format this link in FileUsage.prototype.getFileUrl(), the script throws an exception inside mw.Title. Full stacktrace in: http://pastebin.com/xjhMxQsR
If you are doing crosswiki links, you should really implement a JS function that can guarantee the same behavior as PHPs Title::makeTitle or Title:makeSafeTitle. Especially, since https://gerrit.wikimedia.org/r/139592 is basically running into similar problems with the JS Title object.
*** This bug has been marked as a duplicate of bug 66147 ***