mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-23 22:45:20 +00:00
Followup r102160
Also, bad werdna
This commit is contained in:
parent
cc44bb1ba8
commit
3f200aad13
Notes:
Sam Reed
2011-11-06 12:25:34 +00:00
11
Cite.php
11
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;
|
||||
}
|
||||
|
||||
|
||||
/**#@-*/
|
||||
|
|
Loading…
Reference in a new issue