Is there a type of JS or Lua that I can score other pages?
Is there a type of JS or Lua that I can score other pages?
You'll have to explain better what it means to score pages. For example, score based on what? And where is the scoring supposed to be displayed?
Maybe like this. Though it doesn't matter where the scoring, it's better to have it on the page.
Creating a voting/rating mechanism in user scripts is extremely problematic, as the only place the script can store the voting information is on a page visible to everyone and editable by anyone.
I know dev:AjaxPoll.js can achieve this effect. Yet it seems unavailable in some wikis where discussion boards are not enabled. So I want to find a way to bypass the discussion boards.
Storing the information on a public page may not be matter. Because users can view the history and revoke the tampering.
AjaxPoll simply takes a poll already posted on Discussions and displays it on a page. That's why it can never work on a wiki with no Discussions. Nor it'll work if the original poll post has been deleted.
You're right that any corrouption of the page storing the vote information can technically be tracked down and reverted, but the whole process seems as not worth it to me. The page also cannot be protected as that would prevent users from voting.
Of course, anyone who does want to create such a script despite the limitations - is welcome to. But I think that's the main reason why no one ever did.
The author of AjaxPoll (KhangND) once made the "ArticleRating", but it was deleted...
What do you think?