GWicke has uploaded a new change for review.

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

Change subject: Support pagebundle requests with passed-in HTML/data-parsoid
......................................................................

Support pagebundle requests with passed-in HTML/data-parsoid

This end point reinstates the ability to optionally pass in pagebundle
information in HTML title/revision requests. This is used by RESTBase to speed
up revision parse requests.

Change-Id: Ic05679147a6dfc39b045f8b7d3f84c17a082e723
---
M lib/api/ParsoidService.js
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/parsoid 
refs/changes/75/252575/1

diff --git a/lib/api/ParsoidService.js b/lib/api/ParsoidService.js
index a1c962b..ae29b95 100644
--- a/lib/api/ParsoidService.js
+++ b/lib/api/ParsoidService.js
@@ -179,6 +179,7 @@
 
        // v3 API routes
        app.get('/:domain/v3/page/:format/:title/:revision?', v3, p, 
routes.v3Get);
+       app.post('/:domain/v3/page/pagebundle/:title/:revision?', v3, p, 
routes.v3Post);
        app.post('/:domain/v3/transform/:from/to/:format/:title?/:revision?', 
v3, p, routes.v3Post);
 
        // v1 API routes

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic05679147a6dfc39b045f8b7d3f84c17a082e723
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/parsoid
Gerrit-Branch: master
Gerrit-Owner: GWicke <gwi...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to