Skip to content

Commit 9f07b07

Browse files
committed
correct sparql endpoint for MathSearch
1 parent ebb79c8 commit 9f07b07

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

LocalSettings.d/base/LocalSettings.override.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@
7171
'level' => 'info',
7272
);
7373
wfLoadExtension( 'MathSearch' );
74-
$wgWBRepoSettings['sparqlEndpoint']='https://query.portal.mardi4nfdi.de/sparql';
74+
$wikibase_host = getenv( 'WIKIBASE_HOST' );
75+
$wgWBRepoSettings['sparqlEndpoint']='https://query.' . $wikibase_host . '/sparql';
7576

7677
wfLoadExtension( 'Lockdown' );
7778
wfLoadExtension( 'SyntaxHighlight_GeSHi' );

0 commit comments

Comments
 (0)