Thread:Project:Support desk/Gadget scripts missing after migration without upgrade/reply (7)

I can apparently fix the problem by finding the pages with and editting the pages (saving with no changes) this throws up. Is there a query (for 1.19) with which I can clear the caches of all pages thus found? (P.S. Just spotted Manual:Database layout etc., but I don’t see the answer.)