45 if ( isset( $wgGrammarForms[
'he'][$case][$word] ) ) {
46 return $wgGrammarForms[
'he'][$case][$word];
52 # Duplicate the "Waw" if prefixed, but not if it is already double.
53 if ( substr( $word, 0, 2 ) ===
"ו" && substr( $word, 0, 4 ) !==
"וו" ) {
57 # Remove the "He" article if prefixed.
58 if ( substr( $word, 0, 2 ) ===
"ה" ) {
59 $word = substr( $word, 2 );
62 # Add a hyphen (maqaf) before non-Hebrew letters.
63 if ( substr( $word, 0, 2 ) <
"א" || substr( $word, 0, 2 ) >
"ת" ) {