While working on {T411634} we noticed that update.php sometimes does an unnecessary item terms rebuild job.
@Addshore created a fix to the install.php script of mediawiki core: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/1215194/
We should:
* backport this fix to previous MediaWiki versions (at least 1.43 which we are running on production)
* pull it into wbstack/mediawiki repo
* generate the new SQL schema
* make the Platform API use the new SQL schema
PRs:
[x] [wbstack/mediawiki/pull/509 | Fix missing rebuildItemTerms in updatelog](https://github.com/wbstack/mediawiki/pull/509)
[x] [wbstack/api/pull/1023 | Fix missing rebuildItemTerms in MediaWiki updatelog](https://github.com/wbstack/api/pull/1023)
[x] [wmde/wbaas-deploy/pull/2429 | Update Mediawiki DB provision/use versions to mw1.43-wbs2 on local/staging](https://github.com/wmde/wbaas-deploy/pull/2429)
[x] [wbstack/api/pull/1034 | Add mw1.43-wbs2 to version map](https://github.com/wbstack/api/pull/1034)
[x] [wmde/wbaas-deploy/pull/2432 | Update Mediawiki DB provision/use versions to mw1.43-wbs2 on production](https://github.com/wmde/wbaas-deploy/pull/2432)
[] [wbstack/api/pull/1033 | Change every reference of mw1.43-wbs1 to mw1.43-wbs2](https://github.com/wbstack/api/pull/1033)