An example of two user preferences, with the second having a hide-if dependency on the first (ie. the second gets hidden if the first is unchecked):
The local exception checkbox should also get hidden.
(The example is the growthexperiments-homepage-enable and growthexperiments-homepage-pt-link preferences from the GrowthExperiments extension, from the bottom of https://en.wikipedia.org/wiki/Special:Preferences#mw-prefsection-personal .)














