Commit e5bcb9e
Fix CI for MW master: tolerate absent Wikibase JS submodules
The MW master CI job aborted in installMediaWiki.sh with exit 128:
fatal: no submodule mapping found in .gitmodules for path 'view/lib/wikibase-serialization'
Wikibase master removed the wikibase-serialization, wikibase-data-values and
wikibase-data-model view-layer submodules (migrated to npm), so `git submodule
set-url` on those paths fails. Under `set -e` this aborted the install before
PHPUnit ran, and fail-fast then cancelled every other matrix job.
These JS libraries are not needed by the PHP test suite. Make the URL rewrites
tolerant of an absent submodule so the script no longer aborts on master, while
behaviour on REL1_43/44/45 (where the submodules still exist) is unchanged.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 038c781 commit e5bcb9e
1 file changed
Lines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
0 commit comments