diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2014-12-27 15:41:37 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2014-12-31 11:43:28 +0100 |
commit | c1f9b1f7b1b77776192048005dcc66dcf3df2bfb (patch) | |
tree | 2b38796e738dd74cb42ecd9bfd151803108386bc /resources/mediawiki.language/languages/he.js | |
parent | b88ab0086858470dd1f644e64cb4e4f62bb2be9b (diff) |
Update to MediaWiki 1.24.1
Diffstat (limited to 'resources/mediawiki.language/languages/he.js')
-rw-r--r-- | resources/mediawiki.language/languages/he.js | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/resources/mediawiki.language/languages/he.js b/resources/mediawiki.language/languages/he.js deleted file mode 100644 index 13d457b2..00000000 --- a/resources/mediawiki.language/languages/he.js +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Hebrew (עברית) language functions - */ - -mediaWiki.language.convertGrammar = function( word, form ) { - var grammarForms = mediaWiki.language.getData( 'he', 'grammarForms' ); - if ( grammarForms && grammarForms[form] ) { - return grammarForms[form][word]; - } - switch ( form ) { - case 'prefixed': - case 'תחילית': // the same word in Hebrew - // Duplicate prefixed "Waw", but only if it's not already double - if ( word.substr( 0, 1 ) === 'ו' && word.substr( 0, 2 ) !== 'וו' ) { - word = 'ו' + word; - } - - // Remove the "He" if prefixed - if ( word.substr( 0, 1 ) === 'ה' ) { - word = word.substr( 1, word.length ); - } - - // Add a hyphen (maqaf) before numbers and non-Hebrew letters - if ( word.substr( 0, 1 ) < 'א' || word.substr( 0, 1 ) > 'ת' ) { - word = '־' + word; - } - } - return word; -}; |