User:Caorongjin/wordcount

This scripts adds a Word count to the list of tools normally found on the left of the Wikipedia screen. The script produces an output of the word count for the main body and the references section, highlighting the counted fields in yellow and cyan, respectively. Clicking the Word count link again toggles these calculations and highlights off.

This script is based on User:Dr pda/prosesize, which limits its calculation to the readable prose and does not include lists such as references.