Extension talk:VoteNY/Archive

don't work in 1.170
don't work in 1.170 —The preceding unsigned comment was added by 221.129.245.100 (talk • contribs). Please sign your posts with ~ !

Don't work here too
Can't vote

Looks like that everything is ok, but I can't select and vote.

Any ideas? —The preceding unsigned comment was added by 189.38.206.71 (talk • contribs). Please sign your posts with ~ !


 * Here too... MW 1.17.0 --Singlespeedfahrer 03:35, 5 November 2011 (UTC)
 * Get this JS-Error:

VoteNY is not defined onmouseoutonmouseout (Zeile 3) event = mouseout clientX=276, clientY=247 [Bei diesem Fehler anhalten] VoteNY.startClearRating("", "0.00", 0);
 * --Singlespeedfahrer 03:37, 5 November 2011 (UTC)


 * I totally forgot how much 1.17 and its ResourceLoader sucks. I'd suggest upgrading to 1.18.0 once it's out (beta 1 was released a few days ago). --Jack Phoenix (Contact) 22:17, 12 November 2011 (UTC)
 * Thank you for your response. MediaWiki 1.18.0 Beta1 doesn't fix it for me. Same JavaScript error as above (the solution you posted on the next section doesn't work too). Singlespeedfahrer 22:32, 15 November 2011 (UTC)

javascript load problem fix (running 1.17.0)
i added Vote.js to \skins\common and then included that file in LocalSettings:

$wgExtensionFunctions[] = 'efAddJquery'; function efAddJquery { global $wgOut; $wgOut->includeJQuery;

$wgOut->addScriptFile( 'Vote.js' );

}

works like a charm! --Baranyad 21:45, 14 November 2011 (UTC)


 * It might work, but it's a bad solution in pretty much every imaginable way. You'll find the correct solution on the jQuery page, under the Before ResourceLoader header &mdash; it's the solution which doesn't require changing anything else than your wiki's LocalSettings.php. --Jack Phoenix (Contact) 15:31, 15 November 2011 (UTC)