wiki: Remove recursion and fix wiki page list filtering.