Index: branches/jsgrammar/resources/mediawiki/mediawiki.jqueryMsg.js |
— | — | @@ -423,7 +423,7 @@ |
424 | 424 | var templateContents = choice( [ |
425 | 425 | function() { |
426 | 426 | var res = sequence( [ |
427 | | - choice( [ templateWithReplacement, templateWithOutReplacement ] ) , |
| 427 | + choice( [ templateWithReplacement, templateWithOutReplacement ] ), |
428 | 428 | nOrMore( 0, templateParam ) |
429 | 429 | ] ); |
430 | 430 | return res === null ? null : res[0].concat( res[1] ); |
— | — | @@ -650,7 +650,7 @@ |
651 | 651 | /** |
652 | 652 | * Transform parsed structure into gender |
653 | 653 | * Usage {{gender:[gender| mw.user object ] | masculine|feminine|neutral}}. |
654 | | - * @param {Array} of nodes, [ {String|mw.User}, {String}, {String} , {String} ] |
| 654 | + * @param {Array} of nodes, [ {String|mw.User}, {String}, {String}, {String} ] |
655 | 655 | * @return {String} selected gender form according to current language |
656 | 656 | */ |
657 | 657 | gender: function( nodes ) { |
— | — | @@ -672,7 +672,7 @@ |
673 | 673 | grammar: function( nodes ) { |
674 | 674 | var form = nodes[0]; |
675 | 675 | var word = nodes[1]; |
676 | | - return this.language.convertGrammar( word , form ); |
| 676 | + return this.language.convertGrammar( word, form ); |
677 | 677 | } |
678 | 678 | }; |
679 | 679 | |
Index: branches/jsgrammar/resources/mediawiki.language/mediawiki.language.js |
— | — | @@ -141,9 +141,9 @@ |
142 | 142 | }, |
143 | 143 | /** |
144 | 144 | * Grammatical transformations, needed for inflected languages. |
145 | | - * Invoked by putting {{grammar:form|word}} in a message |
| 145 | + * Invoked by putting {{grammar:form|word}} in a message. |
146 | 146 | * The rules can be defined in wgGrammarForms global or grammar |
147 | | - * forms can be dynamically calculated by overriding this per language |
| 147 | + * forms can be computed dynamically by overriding this method per language |
148 | 148 | * |
149 | 149 | * @param word string |
150 | 150 | * @param form string |