Thread:Project talk:Support desk/Character counter

Hello everyone. I want to restrict users of my site to create a page/article within 500 characters. I want to add one character counter which will count total number of characters inserted in that page from 500 to 0. How to do it ? My mediawiki version is 1.20.5.