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

wikimedia / parsoid / 3116 / 2
85%
master: 85%

Build:
DEFAULT BRANCH: master
Ran 22 Oct 2019 08:35PM UTC
Files 154
Run time 13s
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

22 Oct 2019 08:11PM UTC coverage: 84.836%. Remained the same
3116.2

push

travis-ci

cscott
<a href="https://github.com/wikimedia/parsoid/commit/942e89096">Link prefix fixes for Parsoid/PHP

Parsoid/PHP was missing the `D` regexp modifier when creating a link prefix
regexp from a character set, which caused the prefix to jump over newlines.

While auditing, noticed that the PHP prefix/trail regexps also contain the
`s` modifier (DOTALL).  However, node v6 doesn&#39;t support the `s` modifier,
and it appears that this is just used to handle the &quot;bit after the link
trail&quot; in the regexp -- the link trail for enwiki for example is:
```
   /^([a-z]+)(.*)$/sD
```

We actually strip the `(.*)$` part out in
WikiConfig.js::buildLinkNeighborRegex() and SiteConfig.php::linkTrailRegex()
so the `s` modifier should be unnecessary in both Parsoid/JS and Parsoid/PHP.

Bug: T236183
Change-Id: I</a><a class="double-link" href="https://github.com/wikimedia/parsoid/commit/b4df6ed1d">b4df6ed1d</a>

9611 of 12080 branches covered (79.56%)

15077 of 17772 relevant lines covered (84.84%)

32543.44 hits per line

Source Files on job 3116.2
  • Tree
  • List 0
  • Changed 95
  • Source Changed 0
  • Coverage Changed 95
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 2890
  • Travis Job 3116.2
  • 942e8909 on github
  • Prev Job for on master (#3115.2)
  • Next Job for on master (#3117.1)
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