Difference between revisions of "Guess Case"

From MusicBrainz Wiki
m (New modes under discussion)
(Searches are dead)
Line 25: Line 25:
 
<ul><li style="list-style-type:none">(see [http://bugs.musicbrainz.org/report/2 the open tickets] of the guess case function)  
 
<ul><li style="list-style-type:none">(see [http://bugs.musicbrainz.org/report/2 the open tickets] of the guess case function)  
 
</ul>
 
</ul>
 
==Borked Data==
 
 
usually lowercased words after a single quote:
 
* [http://musicbrainz.org/search/oldsearch.html?search=Puttin%27+on+the+Ritz+&table=track&limit=0 Puttin' on the Ritz]
 
* [http://musicbrainz.org/search/oldsearch.html?search=Singin%27+in+the+Rain+&table=track&limit=0 Singin' in the Rain]
 
* [http://musicbrainz.org/search/oldsearch.html?search=Stompin%27+at+the+Savoy+&table=track&limit=0 Stompin' at the Savoy] etc.
 
  
 
[[Category:To Be Reviewed]] [[Category:Development]]
 
[[Category:To Be Reviewed]] [[Category:Development]]

Revision as of 05:51, 14 October 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

  • 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

New modes under discussion