Translations:Manual:$wgExportMaxLinkDepth/4/en

If non-zero, $1 can be used to export all pages linked to or from the specified page, or from those pages, or from those pages, and so forth, up to a maximum depth governed by this parameter.