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.
* 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().
*
* @param $parser Parser
@ -80,13 +80,10 @@ $wgResourceModules['jquery.tooltip'] = $citeResourceTemplate + array(
'position' => 'bottom',
);
function wfCiteBeforePageDisplay() {
global $wgOut;
$wgOut->addModules( 'ext.cite' );
function wfCiteBeforePageDisplay( $out, &$sk ) {
$out->addModules( 'ext.cite' );
return true;
}
/**#@-*/