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

           Summary: Per module configuration
           Product: MediaWiki
           Version: wikimedia-deployment
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Resource Loader
        AssignedTo: tpars...@wikimedia.org
        ReportedBy: d...@ucsc.edu
                CC: roan.katt...@gmail.com


Presently javascript based configuration is global. In the context of many
extensions with many dynamic loading javascript modules with lots of
configuration it would be ideal to have the option to package configuration per
module. Like adding a 'config' parameter to the ResourceLoaderModule register
array. ( similar to messages ) 

If an extension or module wanted the configuration available globally it could
use the existing 'ResourceLoaderGetConfigVars' hook or associate it with the
loaderScripts register. Otherwise configuration would just be delivered per
module registration array. 

Part of this patch of course checks localSettings.php modified time as part of
"resources with configuration" max timestamp checks.

-- 
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