Manual:$wgShortPagesNamespaceExclusions/en

Details
Only pages inside but not inside this config  will be shown on that page.

This variable was previously.