Last modified: 2013-09-23 09:43:49 UTC
I'm using the master branch of SMW and Semantic Results Formats with MW 1.21.0. The jqplotseries is throwing Javascript errors in Chrome and Safari, but not in Firefox. Test URLs: http://semantic-mediawiki.org/wiki/Demo:Jqplotseries/Survey http://wikiapiary.com/wiki/User:Thingles/Scratch5 If you set debug=true in Safari and Chrome it will work. Without it the errors are: Exception thrown by ext.jquery.jqplot.enhancedlegend: Cannot set property 'EnhancedLegendRenderer' of undefined Exception thrown by ext.srf.jqplot.chart: Object [object Object] has no method 'srfjqPlotBarChartData'
Using debug=true is to circumvent the ResourceLoader which indicates that the format (and its JS) itself is working (otherwise it wouldn't work at all in neither browser under no conditions). Further it is to note that nothing has changed with this format (JS files) or its resource definitions since 2012-10-12 and earlier versions of MW 1.21 (or 1.20, 1.19) did not show any of the described behaviours which lends itself to a conclusion that something in the ResourceLoader has changed. It correlates with other findings earlier reported here [1]/[2] but MW-core developers have denied such attribution. [1] https://bugzilla.wikimedia.org/show_bug.cgi?id=46401#c20 [2] https://gerrit.wikimedia.org/r/#/c/64128/
Change 82757 had a related patch set uploaded by Mwjames: (Bug 48944) RL rearrange resource dependencies https://gerrit.wikimedia.org/r/82757
Change 82757 merged by jenkins-bot: (Bug 48944) RL rearrange resource dependencies https://gerrit.wikimedia.org/r/82757
Mark this as solved as with the current Semantic MediaWiki (Version 1.9 alpha-3) (ac48012), Semantic Result Formats (Version 1.9 alpha) (feb2a7d) the problem can no longer be verified on MediaWiki 1.22alpha (ae44cfb) or MediaWiki 1.21.2 (2255287).