Skip to content

Commit f33998d

Browse files
sirainencmouse
authored andcommitted
upgrade: Add a paragraph about var-expand filters
1 parent 2cbc290 commit f33998d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/installation/upgrade/include/2.4-var-expand.inc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ A new [[link,settings_variables]] syntax has been introduced.
44
All old one-letter %variables have been removed,
55
and some old variable aliases have been dropped too.
66

7+
The new syntax uses `|` character for "filters" which can be chained.
8+
This is why some of the old variables have been replaced by filters.
9+
For example the old `%d` variable is now `%{user | domain}`, which gets
10+
the "user" variable and applies the "domain" filter for it.
11+
712
##### List of common short variables and their replacements.
813

914
| Old variable | New syntax |

0 commit comments

Comments
 (0)