| dcausse added a comment. |
A decent place for profiles has always been a pain and I could not find something sane. I'd like to address (improve) this problem adding a ProfileManager in cirrus.
The goal would be:
- have sane defaults (generic profiles) provided in cirrus and/or wikibase that do not pollute the config
- allow easy customizations both by extension developpers and wikiadmins (e.g. today extension developers have to munge the config in various places to inject their profiles)
- tentative: try not to pollute wmf-config with verbose and unreadable configs but only set a reference to the profile you want to use (like we do for ltr)
At a glance I'd see 3 possible stores we could use to save the profiles "blobs".
- In the code itself for generic profiles, cirrus would provide sane defaults for a "standard wiki", wikibase would provide sane defaults as well
- In the cirrus config by using existing config keys provided by cirrus, would be empty by default
- In the extension config, the extension could expose config vars to tune (this ticket)
Then I'd like to explore the possibility to store profile blobs in the cirrus metastore index. The reason is that these profiles (generally a set of weigths) are vebose and tends to pollute the php code in the wmf-config. Basically I'm tempted to consider them as a "data" and not a config.
TASK DETAIL
EMAIL PREFERENCES
To: dcausse
Cc: EBernhardson, Smalyshev, dcausse, Aklapper, Lahi, Gq86, GoranSMilovanovic, QZanden, EBjune, Avner, Gehel, FloNight, Wikidata-bugs, aude, jayvdb, Mbch331, jeremyb
Cc: EBernhardson, Smalyshev, dcausse, Aklapper, Lahi, Gq86, GoranSMilovanovic, QZanden, EBjune, Avner, Gehel, FloNight, Wikidata-bugs, aude, jayvdb, Mbch331, jeremyb
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
