JavaScript error in ContentTranslation scripts on enwiki. Seems to be intermittent for some users, persistent for others:
Unable to get property 'data' of undefined or null reference File: ext.cx.interlanguagelink.js, Line: 54, Column: 4
That error is from IE. Similar TypeError seen in other browsers.
This seems to stop other user scripts and gadgets from loading.
Original description:
Hi there,
For some reason the GoogleTrans gadget is loading intermittently. Sometimes it loads (check MORE menu item to see if it has). When it does load there is no javascript error message. When it doesn't load the following javascript error message can be seen:
LOG: Exception in module-execute in module ext.cx.interlanguagelink:
TypeError: Unable to get value of the property 'data': object is null or undefinedTypeError: Unable to get value of the property 'data': object is null or undefined
I assume this is a wiki thing since the gadget was last changed two weeks ago, and has run well since then. MediaWiki hasn't been updated, according to SignPost, either.
I got a slightly better error message in the javascript:
function pageInLanguageExists(code){return $('li.interlanguage-link.interwiki-'+code).length===1;}
there is an error in the function above, I believe, and this seems to be stopping the GoogleTrans gadget from properly loading.
this only seems to be happening on the enwiki. the other wikis that run the gadget seem to be okay