I have a problem, always indicate 5 stars shine, even if I indicated a 1-4 stars.
Topic on Extension talk:VoteNY/Archive 2
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.
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.
- Bug on different browsers
- MediaWiki 1.35.2
Can I sent e-mail with link on my wiki?
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 );
}
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.