Wiki source code of Notification Settings Macros

Last modified by Eleni Cojocariu on 2026/10/14 17:42

Show last authors
1 Each part of the notification settings is also a wiki macro, so a wiki can present the settings somewhere other than the user profile, for instance on a page of its own welcome space.
2
3 |=Macro |=Displays |=Parameters
4 |{{code language="none"}}{{notificationsApplicationsPreferences/}}{{/code}}|The applications and their event types|##target##, ##user##
5 |{{code language="none"}}{{notificationsEmailPreferences/}}{{/code}}|The mail frequency and the level of detail|##target##, ##user##
6 |{{code language="none"}}{{notificationsAutoWatchPreferences/}}{{/code}}|The automatic page watching setting|##target##, ##user##
7 |{{code language="none"}}{{notificationsSystemFiltersPreferences/}}{{/code}}|The system filters and their switches|##target##, ##user##
8 |{{code language="none"}}{{notificationsCustomFiltersPreferences/}}{{/code}}|The custom filters, with the button that adds one|##target##, ##user##
9
10 ##target## is ##user## or ##wiki##, and selects whose preferences are displayed: those of a user, or those of the current wiki. ##user## names that user, and defaults to the current one. Editing another user's preferences requires the right to edit their profile.
11
12 {{image reference="settings-macro-page.png" size="extra" alt="A wiki page displaying the notification email preferences through the macro"/}}
13
14 The older {{code language="none"}}{{notificationsFiltersPreferences/}}{{/code}} macro displayed the system and custom filters in one table and is deprecated; use the two macros that replaced it.

Get Connected