mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 23:44:53 +00:00
Hide "system" categories in notification preferences
Make sure that the system-noemail and system-emailonly categories are hidden, the way the system category is, by setting their no-dismiss setting to "all". This should be unnecessary, because e.g. system-noemail doesn't allow email, so just setting no-dismiss to "web" should suffice, but EchoAttributeManager::isCategoryDisplayedInPreferences() isn't smart enough to see that. Doing it this way is also more future-proof for if we ever add more notification methods in addition to web and email. Change-Id: I00641d43a4eb1d3e2d3ea285682cf900733b1855
This commit is contained in:
parent
6653a20811
commit
e771f57af8
|
@ -577,13 +577,13 @@
|
||||||
"system-noemail": {
|
"system-noemail": {
|
||||||
"priority": 9,
|
"priority": 9,
|
||||||
"no-dismiss": [
|
"no-dismiss": [
|
||||||
"web"
|
"all"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"system-emailonly": {
|
"system-emailonly": {
|
||||||
"priority": 9,
|
"priority": 9,
|
||||||
"no-dismiss": [
|
"no-dismiss": [
|
||||||
"email"
|
"all"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"user-rights": {
|
"user-rights": {
|
||||||
|
|
Loading…
Reference in a new issue