This commit is contained in:
Frisk 2020-10-19 12:30:28 +02:00
parent 5129d9b04b
commit 8a296488d3
No known key found for this signature in database
GPG key ID: 213F7C15068AF8AC
2 changed files with 3 additions and 0 deletions

View file

@ -19,6 +19,7 @@
}, },
"ignored": ["external", "newusers/create", "newusers/autocreate", "newusers/create2", "newusers/byemail", "newusers/newusers"], "ignored": ["external", "newusers/create", "newusers/autocreate", "newusers/create2", "newusers/byemail", "newusers/newusers"],
"show_updown_messages": true, "show_updown_messages": true,
"ignored_namespaces": [],
"overview": false, "overview": false,
"overview_time": "00:00", "overview_time": "00:00",
"send_empty_overview": false, "send_empty_overview": false,

View file

@ -402,6 +402,8 @@ def essential_info(change, changed_categories):
if "userhidden" in change: if "userhidden" in change:
change["user"] = _("hidden") change["user"] = _("hidden")
identification_string = change["type"] identification_string = change["type"]
if change.get("ns", -1) in settings.get("ignored_namespaces", ()):
return
elif change["type"] == "log": elif change["type"] == "log":
identification_string = "{logtype}/{logaction}".format(logtype=change["logtype"], logaction=change["logaction"]) identification_string = "{logtype}/{logaction}".format(logtype=change["logtype"], logaction=change["logaction"])
if identification_string not in supported_logs: if identification_string not in supported_logs: