Last modified: 2010-07-04 00:16:28 UTC
For some reason, the Javascript variable wgDBname is not defined for my account (Kaldari) on the english wikipedia, i.e., the line: wgDBname="enwiki", is missing from the source. This only seems to occur with my account specifically and only on the english wikipedia. This prevents any Javascripts from knowing what project I'm on, which leads to all sorts of interesting problems. Nimish has dubbed this the "Kaldari bug".
What other JS declarations are missing from that account vs others?
Do you have 'Disable AJAX Suggestions' option in special:preferences checked?
Yep, that's it. I turned off Disable AJAX Suggestions and everything's fixed. I guess we should not be relying on wgDBname in our Javascript code so long as it is disableable.
(In reply to comment #3) > Yep, that's it. I turned off Disable AJAX Suggestions and everything's fixed. I > guess we should not be relying on wgDBname in our Javascript code so long as it > is disableable. although, one could make an argument that the variable should always be there.