Last modified: 2012-04-16 09:15:41 UTC
There seems to be a problem with JS when an article is in a hidden category. It breaks with the following error message (as seen in Chrome's console): Uncaught ReferenceError: isClass is not defined hiddencat window.runOnloadHook I get that on srwiki, so current Wikimedia deployment branch of MediaWiki. Example URL: http://sr.wikipedia.org/w/index.php?title=En_nombre_del_Amor&diff=next&oldid=5160786
This is a bug in [[sr:MediaWiki:Common.js]], line 140: function isClass is not defined. Not a MediaWiki bug, but a bug in the local site-wide JS. To fix, replace all occurrenes of "isClass" in [[sr:MediaWiki:Common.js]] by "hasClass" (defined on line 38 of the same file).
Thanks Lupo for investigating this issue :)
OK, I've fixed the JS page and can confirm that it works now. Thanks