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

--- Comment #3 from Trevor Parscal <[email protected]> 2012-06-05 17:37:41 
UTC ---
I think I need to be convinced that there is a problem here. The startup module
is pretty small, and the benefits of being able to push things out site-wide in
5 min is worth a lot.

Theoretically there is a size that the startup module could reach that would
begin to be questionable, but I am not so sure we've gotten there yet.

I think a much better solution would be to add per-module configs so extensions
can stop polluting the general config. Per module configs could be configured
as a list of variable names to export or functions to be called which return an
array of key and value pairs which can be added to the module's exported
configs. It can all still be added using mw.config.set so migration would be
easy. This could reduce the future strain on the global config which has a
short expiry, and these configs could be part of the module's dependencies, so
when they are changed the module is automatically invalidated - similar to how
we do this for editing a file or message the module depends on.

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

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to