LocalSettings.php

$wgUseSiteJs = true;