Extension talk:VoteNY

About this board

Previous discussion was archived at Extension talk:VoteNY/Archive on 21 June 2020.

62.16.3.184 (talkcontribs)

I have a problem, always indicate 5 stars shine, even if I indicated a 1-4 stars.

62.16.3.184 (talkcontribs)

As soon as I select the number of stars, everything is displayed correctly, but as soon as I move the mouse away, all 5 stars are indicated.

Jack Phoenix (talkcontribs)

Please share the following information:

  • Your browser details (e.g. browser's name & version number)
  • Your MediaWiki version (1.35 series is the main development target, as per Social tools/MediaWiki compatibility but the social tools should work even on newer, though they're not guaranteed to or tested against newer non-LTS versions)
  • Your VoteNY extension version and where you got the extension from
    • If you used the Special:ExtensionDistributor page, make sure to select the master/latest development version; the branched releases are obsolete and unmaintained and only exist because automated processes create them, but I don't maintain those.

For what it's worth, I'm unable to reproduce the issue on my local 1.35 test wiki.

62.16.3.184 (talkcontribs)
  • Bug on different browsers
  • MediaWiki 1.35.2

Can I sent e-mail with link on my wiki?

Jack Phoenix (talkcontribs)

I have no interest in providing private support, sorry. Maybe you'll be able to find someone else for that.

One thing I can definitely say, though, is that you should be running 1.35.3 or newer; basically all extensions which query the database (which is to say most of social tools, save maybe for Extension:WikiTextLoggedInOut since that's just a simple parser hook) are nowadays using the newer DB_PRIMARY constant, which used to be called DB_MASTER but it was renamed basically due to alleged political correctness and for no other, actual, functional reason. The DB_PRIMARY constant does not exist in MediaWiki 1.35.2, it was backported for the 1.35 branch only in 1.35.3, so code that uses it may malfunction.

If, for whatever reason, you would be unable to upgrade to a newer point release of the 1.35 branch, this three-liner in your wiki's LocalSettings.php file before any extension invocations should also do the trick:

if ( !defined( 'DB_PRIMARY' ) && defined( 'DB_MASTER' ) ) {
	define( 'DB_PRIMARY', DB_MASTER );
}
62.16.3.184 (talkcontribs)

I offered to give a link to understand what could be the problem. I tried to do what you suggested, but unfortunately there is no result. It seems to me that the problem is not with the database, but with the display - during the voting, the number of stars is displayed specifically, and they are counted correctly in the database. the problem is that when I move the cursor out of the voting area, for some reason, all 5 stars start to glow. I would show at least a gif, but here I can’t click any file or link.

Reply to "Incorrect works"

does not seem to work in Chrome...

2
145.53.133.136 (talkcontribs)

Does work in IE and Edge, but not in Chrome...

Jack Phoenix (talkcontribs)

Please report a bug with further details so that this can be looked into and fixed. Thanks!

Reply to "does not seem to work in Chrome..."
Farvardyn (talkcontribs)

Is this voting extension for entire wiki? or is it possible to have separate voting for each article?

Jack Phoenix (talkcontribs)

What do you mean exactly? Votes are a per-page thing, but things like the Special:TopRatings page show an overview for the entire wiki, e.g. all pages sorted by their rating.

Reply to "Vote per article"
There are no older topics
Return to "VoteNY" page.