From b2690139e533779310baec5ac4b34afcc96776cd Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 25 Aug 2023 16:51:26 +0200 Subject: [PATCH] Document the deprecation of `` and `` --- docs/package/pip/event-listener.md | 4 ++++ docs/package/pip/template-listener.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/docs/package/pip/event-listener.md b/docs/package/pip/event-listener.md index cd471a83..7e19f7e5 100644 --- a/docs/package/pip/event-listener.md +++ b/docs/package/pip/event-listener.md @@ -48,10 +48,14 @@ If the nice value of two event listeners is equal, they are sorted by the listen ### `` +!!! info "The use of `` has been deprecated in WoltLab Suite 6.0. Use a regular `{if}` statement in the template instead." + The options element can contain a comma-separated list of options of which at least one needs to be enabled for the event listener to be executed. ### `` +!!! info "The use of `` has been deprecated in WoltLab Suite 6.0. Use a regular `{if}` statement in the template instead." + The permissions element can contain a comma-separated list of permissions of which the active user needs to have at least one for the event listener to be executed. diff --git a/docs/package/pip/template-listener.md b/docs/package/pip/template-listener.md index e41dec11..d25b552d 100644 --- a/docs/package/pip/template-listener.md +++ b/docs/package/pip/template-listener.md @@ -46,12 +46,16 @@ If the nice value of two template listeners is equal, the order is undefined. Optional +!!! info "The use of `` has been deprecated in WoltLab Suite 6.0. Use a regular `{if}` statement in the template instead." + The options element can contain a comma-separated list of options of which at least one needs to be enabled for the template listener to be executed. ### `` Optional +!!! info "The use of `` has been deprecated in WoltLab Suite 6.0. Use a regular `{if}` statement in the template instead." + The permissions element can contain a comma-separated list of permissions of which the active user needs to have at least one for the template listener to be executed. ## Example -- 2.20.1