]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/wiki/templates/default/mw-ext-Wikibase.inc.php.erb
Ensure wikibase uses the correct repository URL
[chef.git] / cookbooks / wiki / templates / default / mw-ext-Wikibase.inc.php.erb
index 6f7e8d6ebb7a22e75531ebd1d694dd32e45e922c..d609a3d57d2d6da35d9b7fdfccabd66e207bbec9 100644 (file)
@@ -89,7 +89,7 @@ $wgWBClientSettings['showExternalRecentChanges'] = true;
 // Base URL for building links to the repository.
 // Assumes your wiki is setup as "http://repo.example.org/wiki/"
 // This can be protocol relative, such as "//www.wikidata.org"
-$wgWBClientSettings['repoUrl'] = "https://wiki.openstreetmap.org";
+$wgWBClientSettings['repoUrl'] = "https://<%= @site %>";
 
 // This setting is optional if you have the same type of setup for your
 // repo and client.  It will default to using the client's $wgArticlePath setting,