Index: trunk/extensions/UsabilityInitiative/ClickTracking/ClickTracking.hooks.php |
— | — | @@ -60,7 +60,8 @@ |
61 | 61 | public static function addJS() { |
62 | 62 | global $wgClickTrackingStyleVersion; |
63 | 63 | |
64 | | - UsabilityInitiativeHooks::initialize(); |
| 64 | + // HACK: Only add scripts when they're really needed by not initializing UIH here |
| 65 | + //UsabilityInitiativeHooks::initialize(); |
65 | 66 | UsabilityInitiativeHooks::addScript( 'ClickTracking/ClickTracking.js', $wgClickTrackingStyleVersion ); |
66 | 67 | UsabilityInitiativeHooks::addVariables( |
67 | 68 | array( |