aboutsummaryrefslogtreecommitdiffstats
path: root/includes/api
diff options
context:
space:
mode:
Diffstat (limited to 'includes/api')
-rw-r--r--includes/api/ApiPurge.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/api/ApiPurge.php b/includes/api/ApiPurge.php
index dfa7229e960b..9e9320fb6c22 100644
--- a/includes/api/ApiPurge.php
+++ b/includes/api/ApiPurge.php
@@ -89,7 +89,8 @@ class ApiPurge extends ApiBase {
global $wgParser, $wgEnableParserCache;
$popts = ParserOptions::newFromContext( $this->getContext() );
- $p_result = $wgParser->parse( $page->getRawText(), $title, $popts );
+ $p_result = $wgParser->parse( $page->getRawText(), $title, $popts,
+ true, true, $page->getLatest() );
# Update the links tables
$u = new LinksUpdate( $title, $p_result );