Index: trunk/extensions/Cite/Cite.php |
— | — | @@ -47,6 +47,11 @@ |
48 | 48 | $wgCiteCacheReferences = false; |
49 | 49 | |
50 | 50 | /** |
| 51 | + * Enables experimental popups |
| 52 | + */ |
| 53 | +$wgCiteEnablePopups = false; |
| 54 | + |
| 55 | +/** |
51 | 56 | * Performs the hook registration. |
52 | 57 | * Note that several extensions (and even core!) try to detect if Cite is |
53 | 58 | * installed by looking for wfCite(). |
— | — | @@ -86,8 +91,12 @@ |
87 | 92 | * @return bool |
88 | 93 | */ |
89 | 94 | function wfCiteBeforePageDisplay( $out, &$sk ) { |
90 | | - $out->addModules( 'ext.cite' ); |
| 95 | + global $wgCiteEnablePopups; |
91 | 96 | |
| 97 | + if ( $wgCiteEnablePopups ) { |
| 98 | + $out->addModules( 'ext.cite' ); |
| 99 | + } |
| 100 | + |
92 | 101 | return true; |
93 | 102 | } |
94 | 103 | |