Just open console on any page on Thai Wikipedia.
TypeError: mw.user.isAnon is not a function
I don't know where is it. This cause some script/gadget fails to work. Please help.
Just open console on any page on Thai Wikipedia.
TypeError: mw.user.isAnon is not a function
I don't know where is it. This cause some script/gadget fails to work. Please help.
Update: I see one at https://th.wikipedia.org/wiki/%E0%B8%A1%E0%B8%B5%E0%B9%80%E0%B8%94%E0%B8%B5%E0%B8%A2%E0%B8%A7%E0%B8%B4%E0%B8%81%E0%B8%B4:Common.js but I am unable to solve it.
@Octahedron80 Have a sysop/administrator on that page, change:
mw.loader.using( ['mediawiki.util', 'mediawiki.notify', 'jquery.client'], function () {
into
mw.loader.using( ['mediawiki.util', 'mediawiki.user', 'mediawiki.notify', 'jquery.client'], function () {
I think that would fix it.