From 3f200aad13b180de6e8e1af7e65d04da38023db9 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Sun, 6 Nov 2011 12:25:34 +0000 Subject: [PATCH] Followup r102160 Also, bad werdna --- Cite.php | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Cite.php b/Cite.php index bebb5501c..dc49f7f04 100644 --- a/Cite.php +++ b/Cite.php @@ -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; } - /**#@-*/