Skip to content

Commit

Permalink
Document deprecation of the {pages} template function
Browse files Browse the repository at this point in the history
  • Loading branch information
BurntimeX committed Jul 1, 2024
1 parent 3845eec commit fbf7842
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/migration/wsc55/deprecations_removals.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,12 @@ With version 6.0, we have deprecated certain components and removed several othe
- `__commentJavaScript` ([WoltLab/WCF#5210](https://github.com/WoltLab/WCF/pull/5210))
- `commentListAddComment` ([WoltLab/WCF#5210](https://github.com/WoltLab/WCF/pull/5210))

#### Template Modifiers
#### Template Modifiers/Functions

- `|date` ([WoltLab/WCF#5459](https://github.com/WoltLab/WCF/pull/5459))
- `|time` ([WoltLab/WCF#5459](https://github.com/WoltLab/WCF/pull/5459))
- `|plainTime` ([WoltLab/WCF#5459](https://github.com/WoltLab/WCF/pull/5459))
- `{pages}` ([WoltLab/WCF#5158](https://github.com/WoltLab/WCF/pull/5158))

#### Template Events

Expand Down
8 changes: 8 additions & 0 deletions docs/migration/wsc55/templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,11 @@ Buttons will implicitly submit a form, therefore you should set the `type` attri
```

See [WoltLab/WCF#4834](https://github.com/WoltLab/WCF/issues/4834) for more details.

## Pagination

The `{pages}` template function has been deprecated and replaced by the new [`<woltlab-core-pagination>` web component](../../javascript/components_pagination.md).

If you continue to use the `{pages}` template function, it will automatically generate the code for the web component.

See [WoltLab/WCF#5158](https://github.com/WoltLab/WCF/pull/5158) for more details.

0 comments on commit fbf7842

Please sign in to comment.