Console:
Uncaught TypeError: str.replace is not a function
Further, Language selector on In progress and Published tab is not working with following,
Uncaught TypeError: Cannot read property 'hide' of undefined
Console:
Uncaught TypeError: str.replace is not a function
Further, Language selector on In progress and Published tab is not working with following,
Uncaught TypeError: Cannot read property 'hide' of undefined
Trace 1:
Uncaught TypeError: str.replace is not a function mw.RegExp.escape @ mediawiki.RegExp.js?4e552:19 moment.locale.postformat @ moment-locale-overrides.js?12e64:45 extend.humanize @ moment.js?a3c5c:2741 extend.from @ moment.js?a3c5c:2260 extend.fromNow @ moment.js?a3c5c:2264 CXTranslationList.renderTranslations @ ext.cx.translationlist.js?c3e42:258 (anonymous function) @ ext.cx.translationlist.js?c3e42:105 fire @ load.php?debug=true&lang=gu&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=m7F5ikBY:3148 self.fireWith @ load.php?debug=true&lang=gu&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=m7F5ikBY:3260 (anonymous function) @ load.php?debug=true&lang=gu&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=m7F5ikBY:3312 fire @ load.php?debug=true&lang=gu&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=m7F5ikBY:3148 self.fireWith @ load.php?debug=true&lang=gu&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=m7F5ikBY:3260 deferred.(anonymous function) @ load.php?debug=true&lang=gu&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=m7F5ikBY:3350 (anonymous function) @ api.js?10e9f:256fire @ load.php?debug=true&lang=gu&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=m7F5ikBY:3148 self.fireWith @ load.php?debug=true&lang=gu&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=m7F5ikBY:3260 done @ load.php?debug=true&lang=gu&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=m7F5ikBY:9314 callback @ load.php?debug=true&lang=gu&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=m7F5ikBY:9718
Could be related to interface language. Recent change in this area is https://gerrit.wikimedia.org/r/289132.
@Nikerabbit That's the case. Tested cawiki with Gujarati interface and I can reproduce there.
If anything, I'd look at that change's predecessor, https://gerrit.wikimedia.org/r/#/c/281198/.
More users are affected: https://www.mediawiki.org/wiki/Topic:T4lta8pdgpwrs04f and https://gu.wikipedia.org/wiki/%E0%AA%B5%E0%AA%BF%E0%AA%95%E0%AA%BF%E0%AA%AA%E0%AB%80%E0%AA%A1%E0%AA%BF%E0%AA%AF%E0%AA%BE:%E0%AA%9A%E0%AB%8B%E0%AA%A4%E0%AA%B0%E0%AB%8B#.E0.AA.97.E0.AB.81.E0.AA.9C.E0.AA.B0.E0.AA.BE.E0.AA.A4.E0.AB.80_.E0.AA.AD.E0.AA.BE.E0.AA.B7.E0.AA.BE_.E0.AA.AE.E0.AA.BE.E0.AA.9F.E0.AB.87_.E0.AA.AD.E0.AA.BE.E0.AA.B7.E0.AA.BE.E0.AA.82.E0.AA.A4.E0.AA.B0_.E0.AA.B8.E0.AA.BE.E0.AA.A7.E0.AA.A8.E0.AA.AE.E0.AA.BE.E0.AA.82_.E0.AA.AE.E0.AA.B6.E0.AB.80.E0.AA.A8_.E0.AA.AD.E0.AA.BE.E0.AA.B7.E0.AA.BE.E0.AA.82.E0.AA.A4.E0.AA.B0
Change 291889 had a related patch set uploaded (by Santhosh):
Avoid passing integers to mw.RegExp.escape
Works fine in local, Labs (http://cx2.wmflabs.org/index.php/Special:ContentTranslation) and Beta (http://en.wikipedia.beta.wmflabs.org/wiki/Special:ContentTranslation)
Change 292086 had a related patch set uploaded (by KartikMistry):
Avoid passing integers to mw.RegExp.escape
Change 292087 had a related patch set uploaded (by KartikMistry):
Avoid passing integers to mw.RegExp.escape
Change 292086 abandoned by KartikMistry:
Avoid passing integers to mw.RegExp.escape
Reason:
Backport to wmf4 is good enough, no need to backport to wmf3.
Thanks for fixing this! It apparently also affected VisualEditor and UploadWizard, but you folks noticed it first ;)