Formats a list of pages using the _formatLink function, and returns the result as an array. For example, the code would produce an array like .