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

Daniel Kinzler <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Daniel Kinzler <[email protected]> ---
The issue is "magic" defaults: when client and repo are active on the same
wiki, some client settings should default to values from the repo settings. For
that to work, the repo must be initialized when the defaults are applied.

So, if we don't want to depend on the order of inclusion in LocalSettings, we
have to defer the evaluation of defaults.

One idea I toyed with a while ago is to allow closures as default values, which
would automatically get evaluated when the setting is used the first time. This
way, the default could depend on other extensions without enforcing the order
of inclusion/configuration.

-- 
You are receiving this mail because:
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