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:
4436a31
)
Made getParserOutput() actually use the right parserOptions for the user
author
Aaron Schulz
<aaron@users.mediawiki.org>
Thu, 29 Sep 2011 17:44:43 +0000
(17:44 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Thu, 29 Sep 2011 17:44:43 +0000
(17:44 +0000)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
d738f5a
..
8f69a4c
100644
(file)
--- a/
includes/Article.php
+++ b/
includes/Article.php
@@
-1800,7
+1800,8
@@
class Article extends Page {
}
if ( $useParserCache ) {
- $parserOutput = ParserCache::singleton()->get( $this, $this->mPage->getParserOptions() );
+ $options = $this->mPage->makeParserOptions( $user );
+ $parserOutput = ParserCache::singleton()->get( $this, $options );
if ( $parserOutput !== false ) {
wfProfileOut( __METHOD__ );
return $parserOutput;