From 223abdc2cab67ad6465d7fc0917470acc9f6a0e6 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Sat, 12 May 2012 15:56:31 +0200 Subject: [PATCH] set tidy = true for action=purge&forcelinkupdate= Change-Id: Ibf17c312193629b64c3d5184b8fb26387862dd0d --- includes/api/ApiPurge.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/api/ApiPurge.php b/includes/api/ApiPurge.php index 9e9320fb6c..b803fd4c7a 100644 --- a/includes/api/ApiPurge.php +++ b/includes/api/ApiPurge.php @@ -89,6 +89,7 @@ class ApiPurge extends ApiBase { global $wgParser, $wgEnableParserCache; $popts = ParserOptions::newFromContext( $this->getContext() ); + $popts->setTidy( true ); $p_result = $wgParser->parse( $page->getRawText(), $title, $popts, true, true, $page->getLatest() ); -- 2.20.1