Board Thread:Script Suggestions/@comment-27481084-20170621183047/@comment-27481084-20170701003412

Collapsing even the Recent activities feed and infoboxes is unexpected, but the demo looks excellent. Do I copy and paste this code to MediaWiki:Common.js? How do I run this function throughout the entire wiki?