diff --git a/includes/CategoryTree.php b/includes/CategoryTree.php index af4d6049..06a90ecd 100644 --- a/includes/CategoryTree.php +++ b/includes/CategoryTree.php @@ -354,7 +354,6 @@ class CategoryTree { // href and role will be added client-side 'class' => 'CategoryTreeToggle', 'data-ct-title' => $key, - 'href' => $title->getLocalURL(), ]; if ( $children === 0 ) { diff --git a/modules/ext.categoryTree.styles.less b/modules/ext.categoryTree.styles.less index a14f2a65..a103fd20 100644 --- a/modules/ext.categoryTree.styles.less +++ b/modules/ext.categoryTree.styles.less @@ -83,10 +83,6 @@ .CategoryTreeToggle { transition: transform 250ms ease; .expandable-arrow( @color-progressive ); - - &:visited { - .expandable-arrow( @color-visited ); - } } .CategoryTreeEmptyBullet, diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index dfc25408..2fdfe602 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -117,11 +117,11 @@ Tag with CategoryTree root and two subcategories !! wikitext CategoryTree root !! html/php -
+
!! html/parsoid
- +