https://bugzilla.wikimedia.org/show_bug.cgi?id=20962

Michael Dale <d...@ucsc.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |roan.katt...@gmail.com
          Component|General/Unknown             |Resource Loader
            Version|unspecified                 |1.17-svn
         AssignedTo|d...@ucsc.edu               |tpars...@wikimedia.org
            Product|mwEmbed                     |MediaWiki
            Summary|mwEmbed should support      |Resource Loader javascript
                   |PLURAL just as MediaWiki    |should support PLURAL like
                   |core does                   |MediaWiki php

--- Comment #7 from Michael Dale <d...@ucsc.edu> 2010-11-13 16:04:48 UTC ---
I have attached a patch it has a few 'fixme's in terms of the core framework.
It includes a test page that can be accessed at: 
/Special:BlankPage?action=mw.language.parserTest&debug=true#

The resource loader needs to support passing off fallback transformations to
the language transform javascript resource requests. ie language 'mwl' falls
back to 'pt' transform class. ( Presently its hard coded to pass more tests, in
the mediawiki.language.parserTest.js file defined as:
mw.language.fallbackTransformMap ) 

The resource loader should let resources depended on a dynamic module for
listing all the language name keys pairs ( otherwise you have to do a api call
for any component that needs to have a list of supported languages )  

The resource loader / mediawiki should have a better system for testing / debug
files. Right now all the tests are included whenever your in debug mode. (
pretty strait forward, add a special page that can request predefined test
cases and or all the resources that were defined as test files via special
resource loader resource module definition. 

We should probably separate out jQuery based message key request / response
functionality from the core message support into a separate jQuery message
entry point.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to