https://bugzilla.wikimedia.org/show_bug.cgi?id=64878
--- Comment #1 from John Mark Vandenberg jayvdb@gmail.com --- For implementing this in core, instead of using docregex in the compat script, there is a variable in each core Family class 'doc_subpages' which should be used.