refactor(comments): move the comment pages to Twig
The legacy Comments printed four Plates templates; they become
@theme/pages/comments-{list,reply,delete}.twig plus
@theme/components/comments-form.twig, and the class renders through
RendererInterface.
- the author name, the address and the browser were printed unescaped and now
go through autoescape; the comment text and the answer keep their markup as
Twig\Markup
- the URLs of the actions carried & inside the data, which the template
escaped a second time; they are built raw now and the redirect no longer has
to undo the escaping
- the templates_namespace argument is gone: all three callers passed 'system',
and after the themes merged there is nothing left to choose
- whether the address of an author may be shown is decided by the class, not by
the Plates $user global
@theme/pages/comments-{list,reply,delete}.twig plus
@theme/components/comments-form.twig, and the class renders through
RendererInterface.
- the author name, the address and the browser were printed unescaped and now
go through autoescape; the comment text and the answer keep their markup as
Twig\Markup
- the URLs of the actions carried & inside the data, which the template
escaped a second time; they are built raw now and the redirect no longer has
to undo the escaping
- the templates_namespace argument is gone: all three callers passed 'system',
and after the themes merged there is nothing left to choose
- whether the address of an author may be shown is decided by the class, not by
the Plates $user global