Non-word characters don't terminate tag names.
[mediawiki.git] / resources / mediawiki.language / languages / dsb.js
blobb2c9c081f30f9aae9d90a4110d9ab41f77082b18
1 /**
2 * Lower Sorbian (Dolnoserbski) language functions
3 */
5 mediaWiki.language.convertGrammar = function ( word, form ) {
6 var grammarForms = mediaWiki.language.getData( 'dsb', 'grammarForms' );
7 if ( grammarForms && grammarForms[form] ) {
8 return grammarForms[form][word];
10 switch ( form ) {
11 case 'instrumental': // instrumental
12 word = 'z ' + word;
13 break;
14 case 'lokatiw': // lokatiw
15 word = 'wo ' + word;
16 break;
18 return word;