# CAPITOL in leading word in title is humanizes incorrectly

**URL:** <https://meta.discourse.org/t/capitol-in-leading-word-in-title-is-humanizes-incorrectly/30050>\
**Category:** Bug\
**Created:** [2015年六月15日 16:43 UTC](https://meta.discourse.org/t/capitol-in-leading-word-in-title-is-humanizes-incorrectly/30050 "2015-06-15T16:43:41Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![stroupaloop](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stroupaloop/32/43099_2.png) [@stroupaloop](https://meta.discourse.org/u/stroupaloop)\
**Post date:** [2015年六月15日 16:43 UTC](https://meta.discourse.org/t/capitol-in-leading-word-in-title-is-humanizes-incorrectly/30050/1 "2015-06-15T16:43:41Z")

</div>

When I create a post with a title like ‘NASA’ it humanizes it to ‘Nasa’ and won’t let me change it (editing it to ‘NASA’ still reverts it to the humanized form).

This seems to only happen when I reduce the number of required characters for a title in Settings.

---

<div class="post-metadata">

**Author:** ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)\
**Post date:** [2015年六月15日 16:52 UTC](https://meta.discourse.org/t/capitol-in-leading-word-in-title-is-humanizes-incorrectly/30050/2 "2015-06-15T16:52:27Z")

</div>

Pretty sure this is due to the enabled-by-default site setting **title prettify** which incorectly assumes it knows better than you what NASA is. 😄

Did you try to disable it and see if it still changes?

---

<div class="post-metadata">

**Author:** ![stroupaloop](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stroupaloop/32/43099_2.png) [@stroupaloop](https://meta.discourse.org/u/stroupaloop)\
**Post date:** [2015年六月15日 17:28 UTC](https://meta.discourse.org/t/capitol-in-leading-word-in-title-is-humanizes-incorrectly/30050/3 "2015-06-15T17:28:04Z")

</div>

Thanks for the quick reply. When I remove the prettify setting for the title I get this error. I also lowered the title entropy to 3, but the error persists.

I re-enabled prettify (with the title length and entropy set to 3) and it posts, but changes the title to Nasa

![](https://global.discourse-cdn.com/meta/original/3X/5/e/5ed72eff1d7e6c52e783071b219458259d51c240.png)

---

<div class="post-metadata">

**Author:** ![accalia](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/accalia/32/48626_2.png) [@accalia](https://meta.discourse.org/u/accalia)\
**Post date:** [2015年六月15日 17:34 UTC](https://meta.discourse.org/t/capitol-in-leading-word-in-title-is-humanizes-incorrectly/30050/4 "2015-06-15T17:34:06Z")

</div>

Unfortunately Topic titles are required to have at least one lowercase letter. There does not appear to be a way to disable this requirement.

---

<div class="post-metadata">

**Author:** ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)\
**Post date:** [2015年六月15日 17:38 UTC](https://meta.discourse.org/t/capitol-in-leading-word-in-title-is-humanizes-incorrectly/30050/5 "2015-06-15T17:38:02Z")

</div>

> [@stroupaloop](#):
>
> When I remove the prettify setting for the title I get this error.

Unfortunately, the error message once again isn’t helpful in determining why your post isn’t allowed. Apparently this confusion is intended & by design:

> [@Are very long words not allowed in topic titles?](https://meta.discourse.org/t/are-very-long-words-not-allowed-in-topic-titles/29683/13):
>
> That is not really the intent of this feature. We view it as anti-griefing, and telling griefers how to bypass filters is like Google telling spammers exactly what they didn’t like about their emails.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2015年六月15日 18:05 UTC](https://meta.discourse.org/t/capitol-in-leading-word-in-title-is-humanizes-incorrectly/30050/6 "2015-06-15T18:05:16Z")

</div>

What the OP is referring to is the **first word of the title** , I am pretty sure. And there’s an existing topic on this. So

> I love NASA!

will work fine (barring length minimums) but

> NASA is the best!

Will get converted to “Nasa”, which is kind of a bug.

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2015年六月15日 22:33 UTC](https://meta.discourse.org/t/capitol-in-leading-word-in-title-is-humanizes-incorrectly/30050/7 "2015-06-15T22:33:37Z")

</div>

What is the exact title here?

---

<div class="post-metadata">

**Author:** ![stroupaloop](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stroupaloop/32/43099_2.png) [@stroupaloop](https://meta.discourse.org/u/stroupaloop)\
**Post date:** [2015年六月16日 14:23 UTC](https://meta.discourse.org/t/capitol-in-leading-word-in-title-is-humanizes-incorrectly/30050/8 "2015-06-16T14:23:27Z")

</div>

The title is actually ‘NASA’ 😄

---

<div class="post-metadata">

**Author:** ![accalia](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/accalia/32/48626_2.png) [@accalia](https://meta.discourse.org/u/accalia)\
**Post date:** [2015年六月16日 15:33 UTC](https://meta.discourse.org/t/capitol-in-leading-word-in-title-is-humanizes-incorrectly/30050/9 "2015-06-16T15:33:02Z")

</div>

yeah, then you’re falling into the rule i mentioned earlier where all caps topic titles are not allowed.

---

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [2015年六月16日 18:53 UTC](https://meta.discourse.org/t/capitol-in-leading-word-in-title-is-humanizes-incorrectly/30050/10 "2015-06-16T18:53:34Z")

</div>

> [@codinghorror](#):
>
> the first word of the title,

Would making it _not_ be the first “word” be acceptable? eg,

- NASA …

AFAIK it would be nigh impossible to have script make a distinction between YELLING and a valid acronym without relying on a dictionary of some sort.

I imagine code could be written that would allow Admins to whitelist acronyms, but is this a common enough problem that efforts to do so would have a reasonable ROI ?

Between the feature creep (code bloat) and the increased maintenance cost of a whitelist I’m thinking a hacky work-around likely makes miore sense as the solution

---

<div class="post-metadata">

**Author:** ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)\
**Post date:** [2015年六月16日 18:57 UTC](https://meta.discourse.org/t/capitol-in-leading-word-in-title-is-humanizes-incorrectly/30050/11 "2015-06-16T18:57:06Z")

</div>

> [@Mittineague](#):
>
> Would making it not be the first “word” be acceptable? eg, - NASA …

Or maybe spell it out?

National Aeronautics and Space Administration (NASA)

---

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [2015年六月16日 19:05 UTC](https://meta.discourse.org/t/capitol-in-leading-word-in-title-is-humanizes-incorrectly/30050/12 "2015-06-16T19:05:18Z")

</div>

That could get for some potentially rather long titles.

Actually, on further thought, Discourse does have a large collection of common passwords, so if one were to submit a collection of common acronyms it might be possible to twist some arms and get that into the topic title code

---

<div class="post-metadata">

**Author:** ![Chili](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chili/32/40331_2.png) [@Chili](https://meta.discourse.org/u/Chili)\
**Post date:** [2015年六月16日 19:16 UTC](https://meta.discourse.org/t/capitol-in-leading-word-in-title-is-humanizes-incorrectly/30050/13 "2015-06-16T19:16:51Z")

</div>

The description for the “title prettify” setting is:

> Prevent common title typos and errors, including all caps, lowercase first character, multiple ! and ?, extra . at end, etc.

Surely if it is disabled then one should be free to write all caps titles as they please? Seems a bit inconsistent that it still attempts to “prettify” it even if you disable this setting.

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2015年六月16日 23:50 UTC](https://meta.discourse.org/t/capitol-in-leading-word-in-title-is-humanizes-incorrectly/30050/14 "2015-06-16T23:50:56Z")

</div>

> [@stroupaloop](#):
>
> The title is actually ‘NASA’

That is a terrible title for a topic, surely better can be done 🙂

---

<div class="post-metadata">

**Author:** ![rewphus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rewphus/32/115836_2.png) [@rewphus](https://meta.discourse.org/u/rewphus)\
**Post date:** [2015年六月17日 00:52 UTC](https://meta.discourse.org/t/capitol-in-leading-word-in-title-is-humanizes-incorrectly/30050/15 "2015-06-17T00:52:13Z")

</div>

Not that my use case is common, but this can prove to be difficult when trying to use game titles for topics. XCOM for example is not allowed.

I personally would prefer disabling that setting to fully disable it, but it’s not a major concern for me.

---

<div class="post-metadata">

**Author:** ![Chili](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chili/32/40331_2.png) [@Chili](https://meta.discourse.org/u/Chili)\
**Post date:** [2015年六月17日 07:40 UTC](https://meta.discourse.org/t/capitol-in-leading-word-in-title-is-humanizes-incorrectly/30050/16 "2015-06-17T07:40:06Z")

</div>

> [@rewphus](#):
>
> Not that my use case is common, but this can prove to be difficult when trying to use game titles for topics. XCOM for example is not allowed.

We had that exact problem with this particular example, and many others. It actually caused some frustration among users, who don’t like Discourse telling them how things should be!

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2015年六月17日 07:40 UTC](https://meta.discourse.org/t/capitol-in-leading-word-in-title-is-humanizes-incorrectly/30050/17 "2015-06-17T07:40:57Z")

</div>

> [@rewphus](#):
>
> I personally would prefer disabling that setting to fully disable it

it should be totally disablable … the fact it is not is a bug.

---

<div class="post-metadata">

**Author:** ![TechnoBear](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/technobear/32/40546_2.png) [@TechnoBear](https://meta.discourse.org/u/TechnoBear)\
**Post date:** [2015年六月17日 11:04 UTC](https://meta.discourse.org/t/capitol-in-leading-word-in-title-is-humanizes-incorrectly/30050/18 "2015-06-17T11:04:08Z")

</div>

A bit late to the discussion, but we have topics starting with CSS, HTML, FLEXBOX (dunno why that should be all-caps, but still…) without a problem. Unfortunately, I don’t know what our site settings are. @cpradio - do you know?

![](https://global.discourse-cdn.com/meta/original/3X/9/5/956df199dd9f28ee169ddde87403d073ee663fed.png)

(I do know we’re still on Discourse 1.3.0.beta7.)

---

<div class="post-metadata">

**Author:** ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)\
**Post date:** [2015年六月17日 11:27 UTC](https://meta.discourse.org/t/capitol-in-leading-word-in-title-is-humanizes-incorrectly/30050/19 "2015-06-17T11:27:29Z")

</div>

> [@TechnoBear](#):
>
> @cpradio - do you know?

Fairly certain we have Title Prettify enabled.

---

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [2015年六月17日 21:10 UTC](https://meta.discourse.org/t/capitol-in-leading-word-in-title-is-humanizes-incorrectly/30050/20 "2015-06-17T21:10:46Z")

</div>

> [@cpradio](#):
>
> Fairly certain we have Title Prettify enabled.

This is an Admin accessibility thing @ralphm should be able to see what the current setting is

[下一頁](https://meta.discourse.org/t/capitol-in-leading-word-in-title-is-humanizes-incorrectly/30050.md?page=2)
