worldendDominator said:
(Moving from my report in site issues thread)
I opened a few random posts from my userpage, and they all got warnings.
post #3400296 - all 3 (gentags, copyright, artist)
post #3400263 - copyright and artist
post #3398804 - artist
post #3231136 - copyright and artist
post #3398653 - all 3
post #3369437 - copyright and tags
Gentags warning seems to work correctly, but other 2 are broken.
The only warnings I got were on post #3400296, post #3398653, post #3369437, and only the general tags warning since they all have less than 30 general tags.
I tested it out on both Chrome and Firefox, and got the same with both browsers. I did find an issue which caused the Artist validator to fail on Firefox that I fixed in Version 26.2, but that wouldn't cause the notice to be fired like you're showing.
Which browser are you using? Also, what other user scripts are you running? There may be a conflict.
One thing you can do is turn on debug statements and see what shows up in the development console (F12). This can be done by altering one of the first lines in the script to change the value from false
to true
.
JSPLib.debug.debug_console = true;
I just thought of this, but another issue could be that certain elements aren't available for whatever reason when the script is run.
For the copyright validator, you can run the following in the development console on the post page and see what it says.
$(".copyright-tag-list .category-3 .wiki-link").length
For the artist validator, you can do the same with the following.
$(".artist-tag-list .category-1 .wiki-link").map((i,entry)=>{return decodeURI(entry.search.split("=")[1]);}).toArray();
Also, when you're getting the artist validation warnings, which ones are you actually getting. Same for the copyright warnings.