Last modified: 2013-12-05 00:10:39 UTC
$ curl -d 'wt={{FULLPAGENAME}} {{PAGENAME}}' http://parsoid-lb.eqiad.wikimedia.org/enwiki/Main_Page > /tmp/parsoid.wt $ curl -d "html=$(cat /tmp/parsoid.wt)" http://parsoid-lb.eqiad.wikimedia.org/enwiki/Main_Page && echo {{-- BA}} {{ACROSS T}} $ cat /tmp/parsoid.wt <!DOCTYPE html> <html prefix="dc: http://purl.org/dc/terms/ mw: http://mediawiki.org/rdf/" about="http://en.wikipedia.org/wiki/Special:Redirect/revision/574690625"><head prefix="mwr: http://en.wikipedia.org/wiki/Special:Redirect/"><meta property="mw:articleNamespace" content="0"/><link rel="dc:replaces" resource="mwr:revision/574690493"/><meta property="dc:modified" content="2013-09-27T03:10:17.000Z"/><meta about="mwr:user/153365" property="dc:title" content="Tariqabjotu"/><link rel="dc:contributor" resource="mwr:user/153365"/><meta property="mw:revisionSHA1" content="e0564e710b93f998658bd5527f0042eaba6d6c87"/><meta property="dc:description" content="removing unnecessary pipe"/><meta property="mw:parsoidVersion" content="0"/><link rel="dc:isVersionOf" href="//en.wikipedia.org/wiki/Main_Page"/><title>Main Page</title><base href="//en.wikipedia.org/wiki/Main_Page"/></head><body data-parsoid='{"dsr":[0,6391,0,0]}'><p data-parsoid='{"dsr":[0,6391,0,0]}'><span about="#mwt1" typeof="mw:Transclusion" data-mw='{"parts":[{"template":{"target":{"wt":"-- BA","function":"fullpagename"},"params":{},"i":0}}]}' data-parsoid='{"dsr":[0,16,null,null],"pi":[[]]}'>Main Page</span> <span about="#mwt2" typeof="mw:Transclusion" data-mw='{"parts":[{"template":{"target":{"wt":"ACROSS T","function":"pagename"},"params":{},"i":0}}]}' data-parsoid='{"dsr":[17,29,null,null],"pi":[[]]}'>Main Page</span></p></body></html>
Seems to work with urlencoding: curl --data-urlencode 'wt={{FULLPAGENAME}} {{PAGENAME}}' http://parsoid-lb.eqiad.wikimedia.org/enwiki/Main_Page > /tmp/parsoid.wt curl --data-urlencode "html@/tmp/parsoid.wt" http://parsoid-lb.eqiad.wikimedia.org/enwiki/Main_Page {{FULLPAGENAME}} {{PAGENAME}}
Please reopen if you still see an issue.