From: Cyperghost Date: Mon, 26 Feb 2024 12:56:55 +0000 (+0100) Subject: Add information to explain how the replacement works X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f21f801ed9fb3d4e5737e1f7e3d4fa31c2286ded;p=GitHub%2FWoltLab%2Fwoltlab.github.io.git Add information to explain how the replacement works --- diff --git a/docs/migration/wsc60/templates.md b/docs/migration/wsc60/templates.md index 555c17f0..bd235b85 100644 --- a/docs/migration/wsc60/templates.md +++ b/docs/migration/wsc60/templates.md @@ -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.