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:
910ff16
)
fix bug 41122, provide missing revId param in ApiQueryRevisions
author
aude
<aude.wiki@gmail.com>
Thu, 18 Oct 2012 21:33:34 +0000
(23:33 +0200)
committer
aude
<aude.wiki@gmail.com>
Thu, 18 Oct 2012 21:33:34 +0000
(23:33 +0200)
Change-Id: I8e6b4f845f15bb230965e0e765fdc0f15f67c014
includes/api/ApiQueryRevisions.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiQueryRevisions.php
b/includes/api/ApiQueryRevisions.php
index
5aff1e9
..
881b797
100644
(file)
--- a/
includes/api/ApiQueryRevisions.php
+++ b/
includes/api/ApiQueryRevisions.php
@@
-540,7
+540,7
@@
class ApiQueryRevisions extends ApiQueryBase {
}
}
if ( $this->parseContent ) {
- $po = $content->getParserOutput( $title, ParserOptions::newFromContext( $this->getContext() ) );
+ $po = $content->getParserOutput( $title,
$revision->getId(),
ParserOptions::newFromContext( $this->getContext() ) );
$text = $po->getText();
}