Observed: UI only loads partially, there is JS error.
Expected: To work without error.
Exception thrown by ext.cx.base
TypeError: Cannot read property 'replace' of undefined
TypeError
Detailed error:
Uncaught TypeError: Cannot read property 'replace' of undefined mediawiki.Title.js:125
parse mediawiki.Title.js:125
Title.newFromText mediawiki.Title.js:285
ContentTranslationSource.render ext.cx.source.js:79
ContentTranslationSource.init ext.cx.source.js:50
ContentTranslationSource ext.cx.source.js:43
(anonymous function) ext.cx.source.js:194
jQuery.extend.each load.php?debug=true&lang=en&modules=jquery,mediawiki,Spinner|jquery.triggerQueueCallback,lo…:383
jQuery.fn.jQuery.each load.php?debug=true&lang=en&modules=jquery,mediawiki,Spinner|jquery.triggerQueueCallback,lo…:136
$.fn.cxSource ext.cx.source.js:188
ContentTranslation.initComponents ext.cx.base.js:37
ContentTranslation.init ext.cx.base.js:31
ContentTranslation ext.cx.base.js:26
(anonymous function) ext.cx.base.js:69
jQuery.extend.each load.php?debug=true&lang=en&modules=jquery,mediawiki,Spinner|jquery.triggerQueueCallback,lo…:383
jQuery.fn.jQuery.each load.php?debug=true&lang=en&modules=jquery,mediawiki,Spinner|jquery.triggerQueueCallback,lo…:136
$.fn.cx ext.cx.base.js:64
(anonymous function) ext.cx.base.js:80
jQuery.Callbacks.fire load.php?debug=true&lang=en&modules=jquery,mediawiki,Spinner|jquery.triggerQueueCallback,lo…:3119
jQuery.Callbacks.self.add load.php?debug=true&lang=en&modules=jquery,mediawiki,Spinner|jquery.triggerQueueCallback,lo…:3165
jQuery.fn.ready load.php?debug=true&lang=en&modules=jquery,mediawiki,Spinner|jquery.triggerQueueCallback,lo…:3399
(anonymous function) ext.cx.base.js:79
(anonymous function) ext.cx.base.js:82
Also, before this error started occurring it showed the "undefined" article, that is not expected either.
Version: master
Severity: normal