[wp-trac] [WordPress Trac] #30966: Let's make word count better (master ticket)

WordPress Trac noreply at wordpress.org
Tue Jul 21 15:30:01 UTC 2015


#30966: Let's make word count better (master ticket)
--------------------------+-------------------------
 Reporter:  iseulde       |       Owner:  iseulde
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.3
Component:  Editor        |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  javascript
--------------------------+-------------------------

Comment (by iseulde):

 Here's what's left:

 * Exclude astral unicode blocks that contain punctuation and symbols. The
 most important one is emoji. (word count only)
 * Exclude text inside certain HTML tags like `<pre><code>` (or `<code>` in
 general?) and maybe `<form>`? `<script>` can also be use by admins and
 should also be excluded.
 * Figure out how a mix of languages should be counted (but most likely
 wontfix).
 * Should words separated by `/` count as two? What do we do with URLs?

 One ticket per issue? One ticket for all?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30966#comment:64>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list