https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113798

Revision: 113798
Author:   santhosh
Date:     2012-03-14 07:09:21 +0000 (Wed, 14 Mar 2012)
Log Message:
-----------
grammar rules should set to the key 'grammarForms' instead of language code.
Followup r112991

Modified Paths:
--------------
    
branches/jsgrammar/includes/resourceloader/ResourceLoaderLanguageDataModule.php

Modified: 
branches/jsgrammar/includes/resourceloader/ResourceLoaderLanguageDataModule.php
===================================================================
--- 
branches/jsgrammar/includes/resourceloader/ResourceLoaderLanguageDataModule.php 
    2012-03-14 05:13:07 UTC (rev 113797)
+++ 
branches/jsgrammar/includes/resourceloader/ResourceLoaderLanguageDataModule.php 
    2012-03-14 07:09:21 UTC (rev 113798)
@@ -44,7 +44,7 @@
 
                return Xml::encodeJsCall( 'mw.language.setData', array(
                        $wgContLang->getCode(),
-                       $this->getSiteLangGrammarForms()
+                       array( 'grammarForms' => 
$this->getSiteLangGrammarForms() )
                ) );
        }
 


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to