Skip to content

Commit

Permalink
Add information to explain how the replacement works
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyperghost committed Feb 26, 2024
1 parent 5084628 commit f21f801
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/migration/wsc60/templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ new `shared_` prefixed names:
#### Migration

We provide a helper script that automates the task of updating the template includes. The script will search
for `{include file='old_template_name'}` and replace it with `{include file='shared_new_template_name'}`.
for `{include file='old_template_name'}` and ensure that any content before or after
the `file='old_template_name'` remains available within the `{include}` tag.

The helper script is part of WoltLab Suite Core and can be found in the repository
at `extra/migrate-shared-template.php`. The script must be executed from CLI and requires PHP 8.1.
Expand Down

0 comments on commit f21f801

Please sign in to comment.