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:
2759e2a
)
Bug 41122 - Catchable fatal error: Object of class ParserOptions could not be convert...
author
Reedy
<reedy@wikimedia.org>
Fri, 19 Oct 2012 20:12:55 +0000
(21:12 +0100)
committer
Reedy
<reedy@wikimedia.org>
Fri, 19 Oct 2012 20:12:55 +0000
(21:12 +0100)
Fix ApiParse occurence
Change-Id: I82db8bb6dff178e11a1e6731fbf2cd977daa804a
includes/api/ApiParse.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiParse.php
b/includes/api/ApiParse.php
index
a29a0bd
..
b8e0233
100644
(file)
--- a/
includes/api/ApiParse.php
+++ b/
includes/api/ApiParse.php
@@
-114,7
+114,7
@@
class ApiParse extends ApiBase {
}
// Should we save old revision parses to the parser cache?
- $p_result = $this->content->getParserOutput( $titleObj, $popts );
+ $p_result = $this->content->getParserOutput( $titleObj, $
rev->getId(), $
popts );
}
} else { // Not $oldid, but $pageid or $page
if ( $params['redirects'] ) {