Difference between revisions of "Guess Case"

From MusicBrainz Wiki
((Imported from MoinMoin))
((Imported from MoinMoin))
Line 7: Line 7:
 
* [[Guess Case Mode/Default Mode|GuessCaseMode/DefaultMode]] - handles english titles.  
 
* [[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 Guidelines|StyleGuidelines]]  
+
** All the official formatting [[Style Guideline|StyleGuideline]]<code><nowiki></nowiki></code>s
  
 
* [[Guess Case Mode/Sentence Mode|GuessCaseMode/SentenceMode]] - handles the same cases than the [[Guess Case Mode/Default Mode|GuessCaseMode/DefaultMode]], but   
 
* [[Guess Case Mode/Sentence Mode|GuessCaseMode/SentenceMode]] - handles the same cases than the [[Guess Case Mode/Default Mode|GuessCaseMode/DefaultMode]], but   

Revision as of 17:10, 19 June 2006

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

  • 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.

New modes under discussion