Difference between revisions of "Guess Case"

From MusicBrainz Wiki
(intertwingled, added classicalmdoe (Imported from MoinMoin))
(changed wording (Imported from MoinMoin))
Line 5: Line 5:
 
==Implemented modes==
 
==Implemented modes==
  
* [[Guess Case Mode/Default Mode|GuessCaseMode/DefaultMode]]
+
* [[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 Guidelines|StyleGuidelines]]  
  
* [[Guess Case Mode/Sentence Mode|GuessCaseMode/SentenceMode]] - same as Standard mode, but   
+
* [[Guess Case Mode/Sentence Mode|GuessCaseMode/SentenceMode]] - handles the same cases than the [[Guess Case Mode/Default Mode|GuessCaseMode/DefaultMode]], but   
 
** ''Titles'' only the first word of a sentence.   
 
** ''Titles'' only the first word of a sentence.   
 
<ul><li style="list-style-type:none">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)   
 
<ul><li style="list-style-type:none">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)   
Line 19: Line 19:
 
</ul>
 
</ul>
  
* [[Guess Case Mode/Classical Mode|GuessCaseMode/ClassicalMode]] - same as Standard mode, but handles specific cases of the [[Classical Style Guideline|ClassicalStyleGuideline]]  
+
* [[Guess Case Mode/Classical Mode|GuessCaseMode/ClassicalMode]] - handles specific cases of the [[Classical Style Guideline|ClassicalStyleGuideline]]  
  
 
==New modes under discussion==
 
==New modes under discussion==

Revision as of 18:49, 12 May 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


°° Author: Keschte