GWicke has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/67565


Change subject: Disable Parsoid URL cache busting with touched ts
......................................................................

Disable Parsoid URL cache busting with touched ts

The Parsoid extension now keeps the cache for the current oldid up to date.
Removing the touched parameter lets VE use the cached HTML.

Change-Id: Id025c69060cb9a0bc2478ec49e2c436022049d97
---
M ApiVisualEditor.php
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor 
refs/changes/65/67565/1

diff --git a/ApiVisualEditor.php b/ApiVisualEditor.php
index 0613535..313ac36 100644
--- a/ApiVisualEditor.php
+++ b/ApiVisualEditor.php
@@ -25,7 +25,9 @@
                        }
                        $restoring = !$revision->isCurrent();
 
-                       $parserParams['touched'] = $title->getTouched();
+                       # Disable cache busting as the Parsoid extension keeps 
templates
+                       # up to date.
+                       #$parserParams['touched'] = $title->getTouched();
                        $parserParams['cache'] = 1;
 
                        $req = MWHttpRequest::factory( wfAppendQuery(

-- 
To view, visit https://gerrit.wikimedia.org/r/67565
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id025c69060cb9a0bc2478ec49e2c436022049d97
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: GWicke <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to