Open memethief opened 10 years ago
Are you saying that all subpages, regardless of what their parent page is, would have the same header/footer? So a generic this-is-a-subpage header/footer?
Or are you saying that all subpages of a particular parent page would have one header/footer, and all subpages of another parent page would have a different header/footer?
I was thinking of the second one. So for instance I create MediaWiki:hf-parentheader-Foo, and it shows up on all subpages of page Foo.
Great extension; I would love to see functionality in a future release that allows me to have a header (or footer) rendered on all subpages of a particular page. I see two ways the interface to this might be designed:
$wgHFIncludeSubpages = true;
and put the functionality in hf-header; so you don't have to create a whole new hook.Cheers, -Dave