Guess Case: Difference between revisions
From MusicBrainz Wiki
Jump to navigationJump to search
PavanChander (talk | contribs) m (MoinMoin interpreted "JavaScript" as a link, removing.) |
m (case fix (!)) |
||
Line 5: | Line 5: | ||
==Implemented modes== |
==Implemented modes== |
||
* [[Guess Case Mode/Default Mode|GuessCaseMode/DefaultMode]] - handles |
* [[Guess Case Mode/Default Mode|GuessCaseMode/DefaultMode]] - handles English titles. |
||
** Implements [[Capitalization Standard English|CapitalizationStandardEnglish]] |
** Implements [[Capitalization Standard English|CapitalizationStandardEnglish]] |
||
** All the official formatting [[Style Guideline|StyleGuideline]]<code><nowiki></nowiki></code>s |
** All the official formatting [[Style Guideline|StyleGuideline]]<code><nowiki></nowiki></code>s |
Revision as of 11:33, 16 June 2011
This is the wiki page for the GuessCase JavaScript function.
Keschte has enhanced the guess case script and addressed most of the GuessCaseOldSuggestions.
Implemented modes
- GuessCaseMode/DefaultMode - handles English titles.
- Implements CapitalizationStandardEnglish
- All the official formatting StyleGuideline
s
- GuessCaseMode/SentenceMode - handles the same cases than the GuessCaseMode/DefaultMode, but
- Titles only the first word of a sentence.
- If there are multiple sentences in a title, each one is handled as a separate sentence. (meaning: the next word after one of the sentence stop characters "?", "!", ".", ";", "/" is titled again)
- Does not title words after a hyphen.
- Example: Peut-être, the second part is not titled
- This will be eventually moved into a GuessCaseMode/FrenchMode --Keschte
- GuessCaseMode/ClassicalMode - handles specific cases of the ClassicalStyleGuideline
New modes under discussion
- (see the open tickets of the guess case function)
Borked Data
usually lowercased words after a single quote: