Uh oh!
There was an error while loading. Please reload this page.
[skip-revcheck] Remove empty xi:fallback elements - #5699
Conversation
alfsb
commented
Jul 23, 2026
This is very impressive. And also very tasteful (the This was generated by script? If so, then can you publish it somewhere, or can provide a patch file for translations, after this is merged? As |
alfsb
commented
Jul 23, 2026
Wow. You even found the xi:fallbacks with inline bodies. Nice! |
jordikroon
left a comment
There was a problem hiding this comment.
I scanned through randomly and don't see anything weird. Also assuming the build will fail if something is wrong so I trust this is alright.
alfsb
commented
Jul 23, 2026
GH CI cannot be really trusted for this, as it does not consider posterior changes on main/master. So an ok result on CI can (and frequently is) completely broken after merge. |
alfsb
commented
Jul 23, 2026
See, for example, on tests of this PR: https://github.com/php/doc-en/actions/runs/29993851297/job/89162721067?pr=5699 In "Checkout php/doc-en" step, we can see
Note that In "Build documentation for en" we can see that doc-en is in I suspect the I did not re-run the tests, to see if it changes anything. If anyone re-runs, and the hashes change, please comment. |
alfsb
commented
Jul 23, 2026
With a rerun, the result was the same: In fact, So either GH CI is weird in this aspect, or your repositories are configured to do this, or But test results are not to be trusted. |
alfsb
commented
Jul 24, 2026
... as test results depend on no other changes on master, ever, because actions/checkout ignores changes on master. In fact, this makes me feel a little... insane... as this is not the default behaviour, or as I cannot find any indication on documentation on how to change the behaviour from "test against past master" into "test against present master". The best I came up, after hours in help text is the following: on:
push
---
git checkout GITHUB_SHA // tip of branch
// merged into
git pull --rebase origin master // tip of masteror on:
push_request:
--
- uses: actions/checkout@v7
with:
ref: ${{ github.event.pull_request.head.sha }} // tip of branch
--- // merged into
git pull --rebase origin master // tip of masterThe present, actual "tip of master" is the thing that I cannot find anywhere in GH docs. Sorry to make this beautiful PR into a discussion about GH CI, but this is something that haunts me since forever. |
6f4e802 to
3023b5cCompareAn empty <xi:fallback/> replaces a failed XInclude with nothing, hiding the failure from the reporting configure.php already provides. Continues #274 and the doc-base roadmap (#199). Imagick exception classes are handled separately, they need a content fix to their xpointers. An empty node set is swallowed by libxml 2.15 but surfaces as a failed XInclude on libxml 2.9 (CI), so only CI validates this.
3023b5c to
00971e3Compare
alfsb
left a comment
There was a problem hiding this comment.
As said before, this is a beautiful change. Even it skip-revcheck failed, it would be a necessary change, as xi:fallback swallow errors in all languages, inclusive doc-en.
And to my surprise, skip-revcheck worked, so this is also a beautiful test on the long standing problem and/or fear of consecutive skip-revchecks.
Removes empty
<xi:fallback/>across doc-en, turning<xi:include ...><xi:fallback/></xi:include>into<xi:include .../>.An empty fallback replaces a failed XInclude with nothing, hiding the failure
from the reporting
configure.phpalready gives.The two
<xi:fallback>inside example CDATA (domxinclude/getElementsByTagNameNS) are kept, they document the feature itself.Related:
[skip-revcheck]: no translated content affected.