As this already changes most of the content, we might aswell just move the FAQs to controllers.
Now there are multiple questions:
- Which routes should be used?
I would suggest using/help/faq
for https://area51.phpbb.com/phpBB/faq.php and/help/bbcode
for https://area51.phpbb.com/phpBB/faq.php?mode=bbcode
This allows other extensions to add their help sites under the same prefix. - The second question is where to put the controller. We have multiple options there:
- Using the feature as second namespace:
./phpbb/help/controller/faq.php
(this is what the API PR uses atm: https://github.com/phpbb/phpbb/pull/3100/files ) - Using controller as second namespace:
./phpbb/controller/help/faq.php
- Moving it to an extension:
./ext/phpbb/help/controller/faq.php
- Using the feature as second namespace: