mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-12 09:10:32 +00:00
Special:Cite: Load RL modules of parsed content
Bug: 39049 Change-Id: Ib14a7cbc54e0317d7fa47f5569e54f5e0381613c
This commit is contained in:
parent
52195376d5
commit
d694691982
|
@ -137,7 +137,13 @@ class CiteOutput {
|
|||
}
|
||||
$ret = $wgParser->parse( $msg, $this->mTitle, $this->mParserOptions, false, true, $this->getRevId() );
|
||||
$wgOut->addModules( 'ext.specialcite' );
|
||||
$wgOut->addHTML( $ret->getText() );
|
||||
|
||||
# Introduced in 1.24
|
||||
if( method_exists( $wgOut, 'addParserOutputContent' ) ) {
|
||||
$wgOut->addParserOutputContent( $ret );
|
||||
} else {
|
||||
$wgOut->addHTML( $ret->getText() );
|
||||
}
|
||||
}
|
||||
|
||||
function genParserOptions() {
|
||||
|
|
Loading…
Reference in a new issue