- API module to allow apps to see if global preferences is enabled and to read preference values if so.
|mediawiki/extensions/GlobalPreferences||master||+285 -2||Add an API module to read global prefs/local overrides|
|Resolved||Niharika||T139145 global disabling of compact language list|
|Resolved||None||T16950 [Epic] Support global preferences on Wikimedia wikis|
|Resolved||MaxSem||T197259 Create an API module to allow apps to read global preferences|
Ah, thanks for pointing out that task. I was a bit hesitant about allowing global prefs to be set using the API but I think the benefits outweigh the potential concerns. I'll repurpose that ticket for supporting setting global prefs via API.
So did we resolve how to treat the array-type preference values (i.e. email-blacklist and echo-notification-blacklist)? It sort of seems to make sense to match what core does (i.e. return as arrays, rather than newline-delimited strings), but I know that's more complexity and probably not going to be used anyway.
The above patch looks good and is ready to merge apart from this question, I think.