I upgraded MediaWiki 1.27.3 to 1.35 on a test system and have been struggling to figure out why the toggle icons no longer showed and why the Category Tree no longer showed in the sidebar
I regressed the Vector Skin to that provided in MediaWiki 1.34 and both now work.
Some incompatible change was likely made in the Vector skin version between 1.34 and 1.35. Posting this here in case it might help someone else in their upgrade and in the hope that the MediaWiki developers can investigate why the toggle icons no longer display in the sidebar using the Vector skin and why the categorytree-portlet is not displayed after upgrading to MW 1.35