dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e8e6be
)
bugfix: provide context for getParserOutput()
author
daniel
<daniel.kinzler@wikimedia.de>
Mon, 23 Apr 2012 08:08:11 +0000
(10:08 +0200)
committer
daniel
<daniel.kinzler@wikimedia.de>
Mon, 23 Apr 2012 08:08:11 +0000
(10:08 +0200)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
2493448
..
6653b53
100644
(file)
--- a/
includes/Article.php
+++ b/
includes/Article.php
@@
-776,7
+776,7
@@
class Article extends Page {
// Give hooks a chance to customise the output
if ( !Hooks::isRegistered('ShowRawCssJs') || wfRunHooks( 'ShowRawCssJs', array( $this->fetchContent(), $this->getTitle(), $wgOut ) ) ) { #FIXME: fetchContent() is deprecated #FIXME: hook is deprecated
- $po = $this->mContentObject->getParserOutput();
+ $po = $this->mContentObject->getParserOutput(
$this->getContext()
);
$wgOut->addHTML( $po->getText() );
}
}