Skip to content

Commit

Permalink
enable linking between wikibase and content pages
Browse files Browse the repository at this point in the history
  • Loading branch information
physikerwelt authored Jul 2, 2023
1 parent 1f1f46a commit dd31859
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mediawiki/LocalSettings.d/LocalSettings.override.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@
$wgMathWikibasePropertyIdDefiningFormula = "P14";
$wgMathWikibasePropertyIdHasPart = "P4";

# enable linking between wikibase and content pages
$wgWBRepoSettings['siteLinkGroups'] = [ 'wikipedia' ]; //not sure if we need this, and if it must be wikipedia
$wgWBClientSettings['siteGlobalID'] = 'mardi';
// insert site with
// php addSite.php --filepath=https://portal.mardi4nfdi.de/w/\$1 --pagepath=https://portal.mardi4nfdi.de/wiki/\$1 --language en --interwiki-id mardi mardi wikipedia

# increase memory limit
ini_set('memory_limit', '2G');

Expand Down

0 comments on commit dd31859

Please sign in to comment.