Board Thread:Support Requests - Getting Started/@comment-32965301-20170827190025/@comment-27345308-20170827190329

Depends on how do you want that list of categories and pages to look like. If you want them to look the same as they do in Special:AllPages/Special:PrefixIndex you can use  to list all pages and   to list all categories.

Why would you want the whole list of pages and categories on the main page, though?