Do not unset navigation keys

This should be taken care of upstream in MediaWiki core.

Follow up to 6245d61

Depends-On: I8c9bb58bfd394605a2218472d025b46b66f08de9
Bug: T316196
Change-Id: I6223eaff3fd8e703824bb13fef62716787e9a09e
isekai
Jon Robson 2 years ago
parent 6245d617e3
commit e090b71552

@ -832,13 +832,6 @@ class TimelessTemplate extends BaseTemplate {
// Tools specific to the page
$pileOfEditTools = [];
$contentNavigation = $this->data['content_navigation'];
// T300100: Do not use categories here. Already added to sidebar
unset(
$contentNavigation['category-normal'],
$contentNavigation['category-hidden']
);
// T316196: 'associatedPages' duplicates 'namespaces'
unset( $contentNavigation['associatedPages'] );
foreach ( $contentNavigation as $navKey => $navBlock ) {
// Just use namespaces items as they are

Loading…
Cancel
Save