2 * Hebrew (עברית) language functions
5 mediaWiki.language.convertGrammar = function ( word, form ) {
6 var grammarForms = mediaWiki.language.getData( 'he', 'grammarForms' );
7 if ( grammarForms && grammarForms[form] ) {
8 return grammarForms[form][word];
12 case 'תחילית': // the same word in Hebrew
13 // Duplicate prefixed "Waw", but only if it's not already double
14 if ( word.slice( 0, 1 ) === 'ו' && word.slice( 0, 2 ) !== 'וו' ) {
18 // Remove the "He" if prefixed
19 if ( word.slice( 0, 1 ) === 'ה' ) {
20 word = word.slice( 1 );
23 // Add a hyphen (maqaf) before numbers and non-Hebrew letters
24 if ( word.slice( 0, 1 ) < 'א' || word.slice( 0, 1 ) > 'ת' ) {