Manual:$wgExportMaxLinkDepth

Import/Export: $wgExportMaxLinkDepth
Maximum value of the "pagelink-depth" parameter in Special:Export.
Introduced in version:1.15.0 (r47407)
Removed in version:Still in use
Allowed values:(integer)
Default value:0

Details

edit

If non-zero, Special:Export 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. Since this can include an really really large number of pages and could easily break a wiki, the default (0) disables the feature.