user node[:mediawiki][:user]
group node[:mediawiki][:group]
mode "664"
- variables new_resource.variables
+ variables new_resource.variables.merge(:site => new_resource.site)
end
else
file "#{mediawiki_directory}/LocalSettings.d/Ext-#{new_resource.extension}.inc.php" do
// 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,