Last modified: 2011-10-31 01:10:39 UTC
On the page Special:Ask no $-JavaScript code is functioning and hence no search suggestion completion will work. We use Semantic MediaWiki r93922 or (http://offene-naturfuehrer.de/web/Spezial:Semantische_Suche) or r95304 on a testwiki (http://biowikifarm.net/test/Special:Ask) and it is on both wikis. The only workaround for this seems currently to restore $ on the MediaWiki:Common.js page: if(typeof $ ==="undefined"){$ = jQuery;} I think on http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php?revision=94774&view=markup line 221 the… jQuery.noConflict(); …has to be removed. No?
Auto-suggest of properties is not working for me, but this seems to be because the API is not returning any results. I don't see any issues with jQuery on MW trunk. What version of MediaWiki are you using?
Versions 1.19alpha http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/?pathrev=93922 1.18alpha http://svn.wikimedia.org/viewvc/mediawiki/branches/REL1_18/phase3/?pathrev=95304 Well if I switch on the browser debugger on http://offene-naturfuehrer.de/web/Spezial:Semantische_Suche Special:Ask it throws the error Uncaught exception: TypeError: Cannot convert '$' to object Uncaught exception: TypeError: '$' is not a function Somehow $ is not known at this moment. On our testwiki (1.18alpha) it works, because I added on the MediaWiki:Common.js page: if(typeof $ ==="undefined"){$ = jQuery;}
I'm not getting this error, on 1.17 and trunk, on several wikis with different configurations. Looks like you have some extension that adds JS which is then getting messed up by the call to jQuery.noConflict. There is probably no real reason for this call, so I'll look into removing it. Thanks for reporting :)
Removed in r101333