Flo Posted November 15, 2006 Posted November 15, 2006 I apologize if this has been requested before (search didn't turn up anything useful), but the current anti-shout function is awful. There are far too many "false positives". InterCaps should not trigger the shout filter, neither should roman numerals.My suggestion: anti-shout should only trigger on three or more consecutive caps, with roman numerals as an exception. "SomeTitle XII" should not be converted to "Sometitle Xii". Also, previously lowercase words should be preserved. Currently when the shout filter is triggered, every word is converted to Xxxxx case, even if it was all lowercase to begin with.
Strange_Will Posted November 15, 2006 Posted November 15, 2006 I just turn anti-shout off, if someone wants to be a dick and type in all caps, they can answer to moderation.Because either:You let some shouts throughYou incorrectly label some titles as shoutsIt's hard to find a solution.I mean being as I KNOW 3 or more I could just HE.Y TH.IS IS A GR.EA.T TO.PI.COr something similar.
bfarber Posted November 15, 2006 Posted November 15, 2006 We simply use the php function ucwords() - to introduce some massive regex to try to accomodate for all possibilities really isn't worth the hassle when the php function built in does the job it does.
Flo Posted November 16, 2006 Posted November 16, 2006 That would be true if ucwords did the job. Unfortunately as it is, anti-shout is pretty uselses :(
Fabian169 Posted June 24, 2007 Posted June 24, 2007 That would be true if ucwords did the job. Unfortunately as it is, anti-shout is pretty uselses :(truth...why not just include a check like "if two letters or more in row = uppercase => only first letter = uppercase"That should do the trick much better for most situations.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.