Followup r102160

Also, bad werdna
This commit is contained in:
Sam Reed 2011-11-06 12:25:34 +00:00
parent cc44bb1ba8
commit 3f200aad13
Notes: Sam Reed 2011-11-06 12:25:34 +00:00

View file

@ -48,7 +48,7 @@ $wgCiteCacheReferences = false;
/** /**
* Performs the hook registration. * Performs the hook registration.
* Note that several extensions (and even core!) try to detect if Cite is * Note that several extensions (and even core!) try to detect if Cite is
* installed by looking for wfCite(). * installed by looking for wfCite().
* *
* @param $parser Parser * @param $parser Parser
@ -80,13 +80,10 @@ $wgResourceModules['jquery.tooltip'] = $citeResourceTemplate + array(
'position' => 'bottom', 'position' => 'bottom',
); );
function wfCiteBeforePageDisplay() { function wfCiteBeforePageDisplay( $out, &$sk ) {
global $wgOut; $out->addModules( 'ext.cite' );
$wgOut->addModules( 'ext.cite' );
return true; return true;
} }
/**#@-*/ /**#@-*/