Merge "Make category links arrow link to actual categories"

This commit is contained in:
jenkins-bot 2024-10-04 23:12:32 +00:00 committed by Gerrit Code Review
commit 5ba10fcef7
2 changed files with 1 additions and 1 deletions

View file

@ -372,6 +372,7 @@ class CategoryTree {
// href and role will be added client-side
'class' => 'CategoryTreeToggle',
'data-ct-title' => $key,
'href' => $title->getLocalURL(),
];
if ( $children === 0 ) {

View file

@ -90,7 +90,6 @@
$content.find( '.CategoryTreeToggle' )
.on( 'click', handleNode )
.attr( {
href: '#',
role: 'button',
title: function () {
return mw.msg(