You can validate Qids included in a template, or other page. Use with the page title to check. For every Qid included in the page it shows: (ok), (not found) or(redirect). This function is expensive and for a long list it may raise an error for not enough Lua memory.