Page MenuHomePhabricator

Add a character/word counter to wpTextbox1
Open, LowestPublic

Description

There are cases when certain projects (like ArbCom elections and Dispute resolution noticeboard replies) where there is an arbitrary 400 or 500 word count limit. It would be nice if there was an indicator on the inputbox itself someplace that returned a character and word count.

I do foresee the difficult part of this being the counting of words that are transcluded as template calls, but I don't think it needs to be that detailed or accurate. Anyone that tries to game the system by transcluding a bunch of words in a template will surely be called out on it. This may need some more input/thought/development before it can be implemented. See https://en.wikipedia.org/wiki/Wikipedia:Help_desk#Word_Count_Template.3F

Event Timeline

Technical13 raised the priority of this task from to Needs Triage.
Technical13 updated the task description. (Show Details)
Technical13 subscribed.
Aklapper triaged this task as Lowest priority.Dec 28 2014, 4:09 AM

I just came across [[w:en:User:Dr pda/prosesize.js]] but it is really old, using deprecated code, probably not very stable, and only counts characters on the page (has nothing to do with the length of the content in the wpText1 box).