Board Thread:Script Suggestions/@comment-6475116-20150718223235/@comment-6475116-20150719145935

Gguigui1 wrote: And, for your script, you check for wgUserName. But, if it's anonymous user, this variable won't work so you'II have to check manually if the user IP is in the page history. I figured most wikis don't want IPs to vote and they would semi-protect the pages.