User:Pythoncoder/Scripts/voteSymbols

{{infobox user script

| name = Vote Symbols

| desc = Displays symbols next to votes

| author = Pythoncoder (current maintainer), Ais523 (creator), Salvidrim!

| updated = {{start date and age|2023|11|26}}

| status = Stable

| released = {{start date and age|2006|09|13}}

| version = 3.1.4

| source = User:Pythoncoder/Scripts/voteSymbols.js

| skins = Tested on all current skins (Vector 2022, Vector, MonoBook, CologneBlue, Modern, Timeless, Minerva)

| browsers = Tested with Firefox 110 and Mobile Safari 16 but should work with all modern browsers

| logo =

| screenshot = 200px

| screenshot-caption = Examples of symbols (from version 0.0.1)

}}

{{userscript|name=Vote Symbols|code=User:Pythoncoder/Scripts/voteSymbols.js}} is a script that displays symbols next to users' votes, !votes, and closes. Adding symbols next to votes helps distinguish them quickly, through their different colors.

Now optimized for high-resolution displays!

History of voting symbols

There used to be templates one could use to put symbols next to their !votes in discussions. However, these were deleted as a result of many, many, many, many deletion discussions and DRVs (I might have missed a few), leading to the salting of {{tl|support}}, {{tl|oppose}}, and similar templates.

Voting symbol templates are common on other wikis, such as Wikimedia Commons.

To bring back this feature, a script was written by Ais523 in 2006. This is an update to that script which adds more icons and votes and takes out a couple of less useful votes that generate frequent false positives.

Installation

To install it, copy and paste this code into your common.js page:

importScript('User:Pythoncoder/voteSymbols.js'); // Linkback: User:Pythoncoder/voteSymbols.js

You can also use the Script Installer gadget to install this and other user scripts automatically.

Supported symbols

  • 15px: Support, Agree, Endorse, Accept, Good Block
  • 15px: Keep, Allow, Permit
  • 15px: Oppose, Disagree, Overturn, Object, Disallow, Decline, Bad Block, Opposition, Objection
  • 15px: Delete, Remove, Pull
  • 15px: Neutral, Meh, Ambivalent, Unsure
  • 15px: Merge, Upmerge
  • 15px: Move, Transwiki, Convert, Transwikify
  • 15px: Redirect, Retarget, Repost
  • 15px: Relist, Change, Recuse, Refine, Mixed
  • 15px: Comment, Note, Statement
  • 15px: Delist, Demote
  • 15px: Question, Query, Request, Inquiry
  • 15px: Disambiguate, Dab, Dabify, Set Index, SIA
  • 15px: Wait, Hold, Postpone
  • 15px: Rename
  • 15px: Undelete, Restore
  • 15px: Close, Speedy Close, No Consensus
  • 15px: Split
  • 15px: Abstain, Abstention, Unnecessary, Moot, Mu, Irrelevant, Void
  • 15px: Draftify, Incubate
  • 15px: Userfy
  • 15px: Listify, Blurb
  • 15px: Reply
  • 15px: Salt
  • 15px: Withdraw, Withdrawn
  • 15px: Info, Information
  • 15px: Update, Answer
  • 15px: Snow, Snowball
  • 15px: Blank, Keep Blanked
  • 15px: Speedy Delete, Speedy (with nothing after it)
  • 15px: Speedy Keep
  • 15px: Speedy Redirect
  • 15px: Strong Support, Strongly Support, Strong agree, Strongly agree
  • 15px: Weak Support, Weakly Support, Weak agree, Weakly agree
  • 15px: Strong Oppose, Strongly Oppose, Strong disagree, Strongly disagree, Strong object, Strongly object, Strong Opposition, Strong Objection
  • 15px: Weak Oppose, Weakly Oppose, Weak disagree, Weakly disagree, Weak Object, Weakly Object, Weak Opposition, Weak Objection
  • 15px: Partial Support, Conditional Support, Semi-support
  • 15px: Ongoing
  • 15px: Tag, Retag
  • 15px: Historical, Tag historical, Deprecate
  • 15px: Speedy Merge
  • 15px: Speedy Rename
  • 15px: Suggestion
  • 15px: Subst, Substitute
  • 15px: Recent Death, RD

Supported venues

This script contains symbols designed for the following venues:

The script should work on other pages as well.

Changelog

  • [https://en.wikipedia.org/w/index.php?title=User%3AAis523%2Fvotesymbols.js&type=revision&oldid=75483436 v1] (Sep 13 2006): Added support, endorse, keep, oppose, overturn, object, delete, neutral, merge, upmerge, move, rename, userfy, transwiki, redirect, opinion, relist, subst, salt, change, comment, update, note, delist, question, split, wait, BJAODN

::*[https://en.wikipedia.org/w/index.php?title=User%3AAis523%2Fvotesymbols.js&type=revision&diff=77682375&oldid=75483436 v1.0.1] (Sep 25 2006), [https://en.wikipedia.org/w/index.php?title=User:Ais523/votesymbols.js&diff=79023877&oldid=77682375 v1.0.2] (Oct 2 2006): Bug fixes

::*[https://en.wikipedia.org/w/index.php?title=User%3AAis523%2Fvotesymbols.js&type=revision&diff=181660888&oldid=79023877 v1.0.3] (Jan 2 2008): Changed Comment

::*[https://en.wikipedia.org/w/index.php?title=User:Ais523/votesymbols.js&diff=214641926&oldid=181660888 v1.0.4] (May 24 2008): Added List, Restore, Undelete, Close

::*[https://en.wikipedia.org/w/index.php?title=User:Ais523/votesymbols.js&diff=283629975&oldid=214641926 v1.0.5] (Apr 13 2009), [https://en.wikipedia.org/w/index.php?title=User:Ais523/votesymbols.js&diff=617089667&oldid=283629975 v1.0.6] (Jul 15 2014): Bug fixes

:*[https://en.wikipedia.org/w/index.php?title=User%3AAis523%2Fvotesymbols.js&type=revision&diff=625193094&oldid=617089667 v1.1] (Sep 12 2014): Added Allow, Listify, Retarget

::*[https://en.wikipedia.org/w/index.php?title=User:Ais523/votesymbols.js&diff=746343067&oldid=625193094 v1.1.1] (Oct 26 2016): Added Permit, Disallow

::*[https://en.wikipedia.org/w/index.php?title=User:Ais523/votesymbols.js&diff=788729067&oldid=746343067 v1.1.2] (Jul 2 2017): Bug fixes

::*[https://en.wikipedia.org/w/index.php?title=User:Ais523/votesymbols.js&diff=792027479&oldid=788729067 v1.1.3] (Jul 23 2017): Added Convert, Disambiguate, Dab, Set Index, SIA

::*[https://en.wikipedia.org/w/index.php?title=User:Ais523/votesymbols.js&diff=793234353&oldid=792027479 v1.1.4] (Jul 31 2017): Bug fixes

::*[https://en.wikipedia.org/w/index.php?title=User:Ais523/votesymbols.js&diff=825813709&oldid=793234353 v1.1.5] (Feb 15 2018): Added Dabify

:*[https://en.wikipedia.org/w/index.php?oldid=825813709&diff=832740235 v1.2] (Mar 27 2018): First version by me — Removed Opinion, List (likely to cause false positives)

::*[https://en.wikipedia.org/w/index.php?title=User:Pythoncoder/Scripts/voteSymbols.js&diff=836112853&oldid=833977539 v1.2.1] (Apr 12 2018): Removed BJAODN

  • [https://en.wikipedia.org/w/index.php?title=User%3APythoncoder%2FScripts%2FvoteSymbols.js&type=revision&diff=840452149&oldid=836112853 v2] (May 9 2018): Added Unsupport, No Consensus, Abstain, Draftify, Draft, Incubate, Reply, Withdraw, Withdrawn, Snow, Snowball, WP:SNOW; changed Rename, Userfy, Listify, Convert, Salt, Split

::*[https://en.wikipedia.org/w/index.php?title=User%3APythoncoder%2FScripts%2FvoteSymbols.js&type=revision&diff=840520795&oldid=840452149 v2.0.1] (May 10 2018): Added No consensus

::*[https://en.wikipedia.org/w/index.php?title=User%3APythoncoder%2FScripts%2FvoteSymbols.js&type=revision&diff=842831088&oldid=840520795 v2.0.2] (May 24 2018): Added Kept; removed Draft, No Consensus

::*[https://en.wikipedia.org/w/index.php?title=User%3APythoncoder%2FScripts%2FvoteSymbols.js&type=revision&diff=843346895&oldid=842831088 v2.0.3] (May 28 2018): Re-added code excluding anything with "no"; changed Rename icon; removed Kept

::*[https://en.wikipedia.org/w/index.php?title=User%3APythoncoder%2FScripts%2FvoteSymbols.js&type=revision&diff=850209810&oldid=843346895 v2.0.4] (Jul 14 2018): Added Comments, Info, Information; changed Update, Convert; fixed SIA; removed Set index, WP:SNOW

::*[https://en.wikipedia.org/w/index.php?title=User:Pythoncoder/Scripts/voteSymbols.js&diff=863703420&oldid=858550869 v2.0.5] (Oct 12 2018): Added Hold

::*[https://en.wikipedia.org/w/index.php?title=User:Pythoncoder/Scripts/voteSymbols.js&diff=868117304&oldid=863703420 v2.0.6] (Nov 9 2018): Added Arbitration votes (Accept, Decline, Recuse), Remove

:*[https://en.wikipedia.org/w/index.php?title=User%3APythoncoder%2FScripts%2FvoteSymbols.js&type=revision&diff=883350306&oldid=873066165 v2.1] (Dec 10 2018): Added support for high-resolution displays

::*[https://en.wikipedia.org/w/index.php?title=User:Pythoncoder/Scripts/voteSymbols.js&diff=883350306&oldid=873083910 v2.1.1] (Feb 14 2019): Disabled in draftspace

::*[https://en.wikipedia.org/w/index.php?title=User:Pythoncoder/Scripts/voteSymbols.js&diff=886070122&oldid=883350306 v2.1.2] (Mar 3 2019): Added Unnecessary

::*[https://en.wikipedia.org/w/index.php?title=User:Pythoncoder/Scripts/voteSymbols.js&diff=886535733&oldid=886070122 v2.1.3] (Mar 6 2019): Fixed false positives resulting from HTML attributes

  • [https://en.wikipedia.org/w/index.php?title=User:Pythoncoder/Scripts/voteSymbols.js&diff=886724674&oldid=886540118 v3] (Mar 7 2019): Added Blank, Speedy, Speedy Delete, Speedy Keep, Speedy Redirect, Strong Support, Strongly Support, Weak Support, Strong Oppose, Strongly Oppose, Weak Oppose, Partial Support, Conditional Support

::*[https://en.wikipedia.org/w/index.php?title=User:Pythoncoder/Scripts/voteSymbols.js&diff=886793611&oldid=886724674 v3.0.1] (Mar 8 2019): Added Demote, Answer; rewrote code to be more efficient and catch errors

::*[https://en.wikipedia.org/w/index.php?title=User:Pythoncoder/Scripts/voteSymbols.js&diff=889440517&oldid=886793611 v3.0.2] (Mar 25 2019): Added Pull, Ongoing, Query; excluded portals

::*[https://en.wikipedia.org/w/index.php?title=User:Pythoncoder/Scripts/voteSymbols.js&diff=889734505&oldid=889440517 v3.0.3] (Mar 27 2019): Added Repost

::*[https://en.wikipedia.org/w/index.php?title=User:Pythoncoder/Scripts/voteSymbols.js&diff=892141372&oldid=889734505 v3.0.4] (Apr 12 2019): Excluded templates, categories, files, help pages, and mediawiki pages

::*[https://en.wikipedia.org/w/index.php?title=User:Pythoncoder/Scripts/voteSymbols.js&diff=896500034&oldid=895314763 v3.0.5] (May 10 2019): Added Good Block, Bad Block

::*[https://en.wikipedia.org/w/index.php?title=User:Pythoncoder/Scripts/voteSymbols.js&diff=901400152&oldid=896500034 v3.0.6] (Jun 11 2019): Added Transwikify

::*[https://en.wikipedia.org/w/index.php?title=User:Pythoncoder/Scripts/voteSymbols.js&diff=919671712&oldid=901400152 v3.0.7] (Oct 4 2019): Added Tag, Retag, Historical

::*[https://en.wikipedia.org/wiki/Special:Diff/919671712/935316046 v3.0.8] (Jan 11 2020): Added Set Index, Moot, Mu

::*[https://en.wikipedia.org/wiki/Special:Diff/935316046/937364333 v3.0.9] (Jan 24 2020): Added Refine, Keep Blanked

::*[https://en.wikipedia.org/wiki/Special:Diff/937364333/939180044 v3.0.10] (Feb 4 2020): Bug fix (see [https://en.wikipedia.org/wiki/Special:Permalink/939180182#Weird_bug_in_vote_symbols])

::*[https://en.wikipedia.org/wiki/Special:Diff/939180044/956495686 v3.0.11] (May 13 2020): Added Abstention, Speedy Close, No Consensus

::*[https://en.wikipedia.org/wiki/Special:Diff/956495686/969902048 v3.0.12] (Jul 27 2020): Added Statement, Postpone, Semi-Support

::*[https://en.wikipedia.org/wiki/Special:Diff/969902048/971843536 v3.0.13] (Aug 8 2020): Added Weakly Support, Weakly Oppose, Speedy Merge

::*[https://en.wikipedia.org/wiki/Special:Diff/971843536/980357299 v3.0.14] (Sep 25 2020): Added Agree, Disagree, Strong agree, Strongly agree, Strong disagree, Strongly disagree, Weak agree, Weakly agree, Weak disagree, Weakly disagree

::*[https://en.wikipedia.org/wiki/Special:Diff/980357299/990473962 v3.0.15] (Nov 24 2020): Added Meh

::*[https://en.wikipedia.org/wiki/Special:Diff/990473962/993462062 v3.0.16] (Dec 10 2020): Added Speedy Rename, Substitute; added {{code|!}} to list of punctuation marks to ignore

::*[https://en.wikipedia.org/wiki/Special:Diff/993462062/1011437648 v3.0.17] (Mar 10 2021): Added Deprecate, fixed Speedy Rename

::*[https://en.wikipedia.org/wiki/Special:Diff/1011437648/1014959196 v3.0.18] (Mar 29 2021): Added Ambivalent, Mixed, Unsure; removed Unsupport

::*[https://en.wikipedia.org/wiki/Special:Diff/1014959196/1017578964 v3.0.19] (Apr 13 2021): Added Request

::*[https://en.wikipedia.org/wiki/Special:Diff/1017578964/1022437832 v3.0.20] (May 10 2021): Added Tag Historical

::*[https://en.wikipedia.org/wiki/Special:Diff/1022437832/1023343493 v3.0.21] (May 15 2021): Added Strong Object, Strongly Object

::*[https://en.wikipedia.org/wiki/Special:Diff/1023343493/1030696712 v3.0.22] (Jun 27 2021): Added Opposition, Strong Opposition, Weak Opposition, Weak Object, Weakly Object

::*[https://en.wikipedia.org/wiki/Special:Diff/1030696712/1033161045 v3.0.23] (Jul 11 2021): Added Inquiry

::*[https://en.wikipedia.org/wiki/Special:Diff/1033161045/1033812868 v3.0.24] (Jul 15 2021): Bug fixes

::*[https://en.wikipedia.org/wiki/Special:Diff/1033812868/1039635378 v3.0.25] (Aug 19 2021): Added Suggestion

::*[https://en.wikipedia.org/wiki/Special:Diff/1039635378/1085726541 v3.0.26] (May 1 2022): Added Strongest Support, Strongest Oppose, Weakest Support, Weakest Oppose; bug fixes

::*[https://en.wikipedia.org/wiki/Special:Diff/1107036835 v3.0.27] (Aug 27 2022): Added Objection, Strong Objection, Weak Objection

:*[https://en.wikipedia.org/wiki/Special:Diff/1134981542 v3.1] (Jan 21 2023): Changed "style='height: 60px'" to "height='30'" for improved performance; added Irrelevant, Void

::*[https://en.wikipedia.org/wiki/Special:Diff/1138467552 v3.1.1] (Feb 9 2023): Changed Suggestion

::*[https://en.wikipedia.org/wiki/Special:Diff/1140955819 v3.1.2] (Feb 22 2023): Added Bad RfC

::*[https://en.wikipedia.org/wiki/Special:Diff/1143501367 v3.1.3] (Mar 7 2023): Added Invalid RfC

::*[https://en.wikipedia.org/wiki/Special:Diff/1143501367/1186994894 v3.1.4] (Nov 26 2023): Added blurb, recent death, RD, suggest; changed substitute, subst; added alt text for vote-symbol images

To do

  • Change ongoing, repost, and other ITNC icons?
  • 3 words: move to draft, move to draftspace, strongest possible support/oppose
  • Fix list/SIA icons
  • Ignore content inside or

See also

Notes