Translations:Manual:$wgPageInfoTransclusionLimit/5/en

This number puts a limit on that query in the case of highly transcluded templates.