Skip to content

Commit cae0ce9

Browse files
authored
Merge branch 'main' into T399694-deploy-traefik-decouple
2 parents a860ae1 + 60a61aa commit cae0ce9

9 files changed

Lines changed: 85 additions & 5 deletions

File tree

build/wikibase/CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
# 5.0.0 (2025-07-24)
2+
3+
4+
### 💅 Refactors
5+
6+
- ⚠️ move callback to wikibase image
7+
8+
9+
### 📦 Build
10+
11+
- depth 1 checkouts in wikibase-image build
12+
13+
14+
### 🏡 Chore
15+
16+
- ⚠️ bump mediawiki to 1.44.0
17+
18+
19+
#### ⚠️ Breaking Changes
20+
21+
- ⚠️ move callback to wikibase image
22+
- ⚠️ bump mediawiki to 1.44.0
23+
124
## 4.1.1 (2025-07-17)
225

326

build/wikibase/LocalSettings.d/30_WikibaseManifest.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,18 @@
44

55
## WikibaseManifest Configuration
66
wfLoadExtension( 'WikibaseManifest' );
7+
8+
$quickstatements_url = getenv('QUICKSTATEMENTS_PUBLIC_URL');
9+
if (!empty($quickstatements_url)) {
10+
$wgWbManifestExternalServiceMapping['quickstatements'] = $quickstatements_url;
11+
}
12+
13+
$wdqs_endpoint_url = getenv('WDQS_PUBLIC_ENDPOINT_URL');
14+
if (!empty($wdqs_endpoint_url)) {
15+
$wgWbManifestExternalServiceMapping['queryservice'] = $wdqs_endpoint_url;
16+
}
17+
18+
$wdqs_frontend_url = getenv('WDQS_PUBLIC_FRONTEND_URL');
19+
if (!empty($wdqs_frontend_url)) {
20+
$wgWbManifestExternalServiceMapping['queryservice_ui'] = $wdqs_frontend_url;
21+
}

build/wikibase/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wikibase",
3-
"version": "4.1.1",
3+
"version": "5.0.0",
44
"nx": {
55
"targets": {
66
"lint": {},

deploy/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
# 5.0.0 (2025-07-24)
2+
3+
4+
### 💅 Refactors
5+
6+
- ⚠️ move callback to wikibase image
7+
8+
9+
### 📖 Documentation
10+
11+
- suggest METADATA_CALLBACK settings
12+
13+
- notes about upgrade from 4 to 5
14+
15+
16+
#### ⚠️ Breaking Changes
17+
18+
- ⚠️ move callback to wikibase image
19+
120
## 4.2.1 (2025-07-11)
221

322

deploy/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,14 @@ Look for changes in the new `template.env` that you might want to apply to your
269269

270270
#### Apply any migrations for your version
271271

272+
<details><summary><strong>WBS Deploy 4.x.x to 5.x.x</strong></summary><p>
273+
274+
Wikibase Image switched from version 4.x.x to 5.x.x; this upgrades MediaWiki from 1.43 to 1.44. Please read the [MediaWiki UPGRADE file](https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/refs/heads/REL1_44/UPGRADE).
275+
276+
Please, note that the `.env` file now requires setting `METADATA_CALLBACK`. Find more details about it in `template.env`.
277+
278+
</p></details>
279+
272280
<details><summary><strong>WBS Deploy 3.x.x to 4.x.x</strong></summary><p>
273281

274282
Wikibase Image switched from version 3.x.x to 4.x.x; this upgrades MediaWiki from 1.42 to 1.43. Please read the [MediaWiki UPGRADE file](https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/refs/heads/REL1_43/UPGRADE).

deploy/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "deploy",
3-
"version": "4.2.1",
3+
"version": "5.0.0",
44
"nx": {
55
"targets": {
66
"lint": {},

deploy/template.env

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,12 @@
2424
# If you change your mind you can always remove your instance from the list by
2525
# sending an E-Mail to wikibase-suite-support@wikimedia.de
2626
#
27-
# Set to true to opt-in to the list of known Wikibases.
28-
# Set to false to not take part.
29-
METADATA_CALLBACK=
27+
# Uncomment true to opt-in to the list of known Wikibases.
28+
# Uncomment false to not take part.
29+
# You will need to choose one of the options below, otherwise the Wikibase
30+
# container will stop with an error.
31+
#METADATA_CALLBACK=true
32+
#METADATA_CALLBACK=false
3033

3134
# Public hostname configuration.
3235
#

test/specs/repo/extensions/wikibase-manifest.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,15 @@ describe( 'WikibaseManifest', function () {
1717
expect( data.oauth.registration_page ).toEqual(
1818
testEnv.vars.WIKIBASE_URL + '/wiki/Special:OAuthConsumerRegistration'
1919
);
20+
21+
expect( data.external_services.queryservice ).toEqual(
22+
testEnv.vars.WDQS_URL + '/sparql'
23+
);
24+
expect( data.external_services.queryservice_ui ).toEqual(
25+
testEnv.vars.WDQS_URL
26+
);
27+
expect( data.external_services.quickstatements ).toEqual(
28+
testEnv.vars.QUICKSTATEMENTS_URL
29+
);
2030
} );
2131
} );

test/suites/docker-compose.override.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ services:
1717
environment:
1818
MW_WG_SERVER: ${WIKIBASE_URL}
1919
QUICKSTATEMENTS_PUBLIC_URL: ${QUICKSTATEMENTS_URL}
20+
WDQS_PUBLIC_FRONTEND_URL: http://${WDQS_PUBLIC_HOST}
21+
WDQS_PUBLIC_ENDPOINT_URL: http://${WDQS_PUBLIC_HOST}/sparql
2022

2123
wikibase-jobrunner:
2224
image: wikibase/wikibase

0 commit comments

Comments
 (0)