mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 03:08:42 +00:00
Merge "Add page_touched to Parsoid URLs for cache busting and set cache param"
This commit is contained in:
commit
996f869fa6
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue