SpecialAllPages could use a hook, similar to ChangesListInitRows, to allow extensions doing customized formatting in the Linker hooks (onLinkBegin) to do prefetched lookups before rendering each link.
this would be helpful, for example, for formatting Wikibase titles with labels instead of ids (Q42 or whatnot).