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

wikimedia / parsoid / 3116
85%

Build:
DEFAULT BRANCH: master
Ran 22 Oct 2019 08:35PM UTC
Jobs 3
Files 308
Run time 7min
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
3116

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>

19222 of 24160 branches covered (79.56%)

30154 of 35544 relevant lines covered (84.84%)

99215.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3116.1 22 Oct 2019 08:39PM UTC 0
84.84
Travis Job 3116.1
2 3116.2 22 Oct 2019 08:35PM UTC 0
84.84
Travis Job 3116.2
3 3116.3 22 Oct 2019 08:43PM UTC 0
84.86
Travis Job 3116.3
Source Files on build 3116
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3116
  • 942e8909 on github
  • Prev Build on master (#3115)
  • Next Build on master (#3117)
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