• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wikimedia / parsoid / 407
85%

Build:
DEFAULT BRANCH: master
Ran 18 May 2015 04:44PM UTC
Jobs 3
Files 69
Run time 10min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
407

push

travis-ci

subbuss
Don't use selser if oldid is missing

* So far, we were always constructing SelectiveSerializer and checking
  for absence of page-src to fallback to non-selser WTS. However, that
  is insufficient since rt-testing provides page-src to minimize dirty diffs
  and we don't want to be using selser there.

  As per https://www.mediawiki.org/wiki/Parsoid/API#v1_API_entry_points
     "Both it and the oldid parameter are needed for
      clean round-tripping of HTML retrieved earlier with"

* So much for wanting to hide internal details (of selser) from the API.
  This does leak selser-ability via the API, but right now, there
  doesn't seem to be a clean way to support all the varied use cases
  for html2wt that provide title, oldid, and page src. The only way to
  disable selser right now is to NOT provide oldid. In this patch,
  we'll rely on that.

* Clarified the serialization properties in DOMUtils.serializeDOM to
  more accurately reflect when DOM/orig-src needs to be fetched -- only
  in selser mode.

* Fixed a mocha api test to reflect this new expectation.

Change-Id: I30cc1ea61

10936 of 12821 relevant lines covered (85.3%)

67164.01 hits per line

Jobs
ID Job ID Ran Files Coverage
1 407.1 18 May 2015 04:54PM UTC 0
85.3
Travis Job 407.1
2 407.2 18 May 2015 04:44PM UTC 0
85.3
Travis Job 407.2
3 407.3 18 May 2015 04:49PM UTC 0
85.29
Travis Job 407.3
Source Files on build 407
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #407
  • 8ed3e503 on github
  • Prev Build on master (#406)
  • Next Build on master (#408)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc