jenkins-bot has submitted this change and it was merged.

Change subject: Tweak outdated comment.
......................................................................


Tweak outdated comment.

Follow-up to Ia6cee966067bb53bda65a0c460fa602ce08f141d.

Change-Id: I5f862db085863889fc5367c2173ad53f16df64e5
---
M api/routes.js
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Subramanya Sastry: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/api/routes.js b/api/routes.js
index c6b002d..eb6e873 100644
--- a/api/routes.js
+++ b/api/routes.js
@@ -248,7 +248,6 @@
                                // Don't cache requests when wt is set in case 
somebody uses
                                // GET for wikitext parsing
                                apiUtils.setHeader(res, env, 'Cache-Control', 
'private,no-cache,s-maxage=0');
-                               // "body" flag to return just the body
                                resolve( doc );
                        });
                        parser.processToplevelDoc( wt );
@@ -324,6 +323,7 @@
        res.local('iwp', req.params[0] || parsoidConfig.defaultWiki || '');
        res.local('pageName', req.params[1] || '');
        res.local('oldid', req.query.oldid || null);
+       // "body" flag to return just the body (instead of the entire HTML doc)
        res.local('body', req.query.body || req.body.body);
        next();
 };

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5f862db085863889fc5367c2173ad53f16df64e5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/parsoid
Gerrit-Branch: master
Gerrit-Owner: Cscott <[email protected]>
Gerrit-Reviewer: Arlolra <[email protected]>
Gerrit-Reviewer: Marcoil <[email protected]>
Gerrit-Reviewer: Subramanya Sastry <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to