Translations:Manual:$wgExportMaxLinkDepth/4/en

If non-zero, $special 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.