Ran
|
Files
154
|
Run time
12s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/wikimedia/parsoid/commit/4cbd864d0">Mostly use protocol-relative URLs for media In Parsoid/JS and the standalone mode of Parsoid/PHP we always use protocol-relative URLs for media, since the MediaWiki API (used by Parsoid/JS and standalone Parsoid/PHP) always calls wfExpandUrl() on the values it returns and we lose the original form. For the integrated mode of Parsoid/PHP, we match the URL form used by the legacy parser (since we can). In Wikimedia production, this is also protocol-relative, but it may diverge on third-party wikis with different configurations. Parser tests are a special case: the legacy parser runs parser tests with a `http://` protocol. Parsoid/JS uses protocol-relative (as described above). Likely when we get the integrated mode working for Parsoid/PHP parser tests we'll have to tweak the configuration to use protocol-relative mode there as well, since otherwise we'll match the legacy parser and use `http://` by default. Bug: T235217 Change-Id: I</a><a class="double-link" href="https://github.com/wikimedia/parsoid/commit/f52d21b50">f52d21b50</a>
9634 of 12106 branches covered (79.58%)
15113 of 17810 relevant lines covered (84.86%)
32607.63 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|