Merge "Add page_touched to Parsoid URLs for cache busting and set cache param"

This commit is contained in:
jenkins-bot 2012-12-11 19:27:34 +00:00 committed by Gerrit Code Review
commit 996f869fa6

View file

@ -22,6 +22,8 @@ class ApiVisualEditor extends ApiBase {
if ( $revision === null ) {
return false;
}
$parserParams['touched'] = $title->getTouched();
$parserParams['cache'] = 1;
$content = Http::get(
// Insert slash since $wgVisualEditorParsoidURL does not
// end in a slash