Manual:ListToggle.php

Before MW 1.40.1:

Class for generating clickable toggle links for a list of checkboxes. This is only supported on clients that have JavaScript enabled.