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.
|
* 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**#@-*/
|
/**#@-*/
|
||||||
|
|
Loading…
Reference in a new issue