Merge "(bug 26585) Detect CSV/array values in $_SERVER['REMOTE_ADDR']."
[lhc/web/wiklou.git] / includes / api / ApiQueryRevisions.php
index 5aff1e9..881b797 100644 (file)
@@ -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();
                        }