Translations:Manual:$wgExportMaxLinkDepth/5/en

Since this can include an insanely large number of pages and could easily break a wiki, the default (0) disables the feature.