Move the comment migration guide into the templates migration
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 3 Feb 2023 12:49:43 +0000 (13:49 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 3 Feb 2023 12:51:28 +0000 (13:51 +0100)
No need to have an entirely separate page for a few sentences and the only
change that needs to happen is with the templates.

docs/migration/wsc55/comments.md [deleted file]
docs/migration/wsc55/templates.md
mkdocs.yml

diff --git a/docs/migration/wsc55/comments.md b/docs/migration/wsc55/comments.md
deleted file mode 100644 (file)
index eaca6f5..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-# Migrating from WoltLab Suite 5.5 - Comments
-
-In WoltLab Suite 6.0 the comment system has been overhauled.
-In the process, the integration of comments via templates has been significantly simplified:
-
-```smarty
-{include file='comments' commentContainerID='someElementId' commentObjectID=$someObjectID}
-```
-
-An example for the migration of existing template integrations can be found [here](https://github.com/WoltLab/WCF/commit/b1d5f7cc6b81ae7fd938603bb20a3a454a531a96#diff-3419ed2f17fa84a70caf0d99511d5ac2a7704c62f24cc7042984d7a9932525ce).
-
-See [WoltLab/WCF#5210](https://github.com/WoltLab/WCF/pull/5210) for more details.
index 7b2b63e2d61e68b963ded0c66b824ed7ffd57d5f..b84fb2e1c22a153d6872847a1fb2e2ee8d7f6f07 100644 (file)
@@ -9,3 +9,16 @@ To improve security and to reduce the number of differences between enterprise m
 It is strongly recommended to keep the template logic as simple as possible by moving the heavy lifting into regular PHP code, reducing the number of (specialized) modifiers that need to be applied.
 
 See [WoltLab/WCF#4788](https://github.com/WoltLab/WCF/pull/4788) for details.
+
+## Comments
+
+In WoltLab Suite 6.0 the comment system has been overhauled.
+In the process, the integration of comments via templates has been significantly simplified:
+
+```smarty
+{include file='comments' commentContainerID='someElementId' commentObjectID=$someObjectID}
+```
+
+An example for the migration of existing template integrations can be found [here](https://github.com/WoltLab/WCF/commit/b1d5f7cc6b81ae7fd938603bb20a3a454a531a96#diff-3419ed2f17fa84a70caf0d99511d5ac2a7704c62f24cc7042984d7a9932525ce).
+
+See [WoltLab/WCF#5210](https://github.com/WoltLab/WCF/pull/5210) for more details.
index 19f0f707fc70d181260fa06630574e7f129005a3..438c1f1c21e6237030cb3f1468bf33de12c93784 100644 (file)
@@ -119,7 +119,6 @@ nav:
           - 'Templates': 'migration/wsc55/templates.md'
           - 'Icons': 'migration/wsc55/icons.md'
           - 'Dialogs': 'migration/wsc55/dialogs.md'
-          - 'Comments': 'migration/wsc55/comments.md'
           - 'Third Party Libraries': 'migration/wsc55/libraries.md'
           - 'Deprecations and Removals': 'migration/wsc55/deprecations_removals.md'
       - 'From WoltLab Suite 5.4':