From: Tigerfell <43786020+Tigerfell@users.noreply.github.com> Date: Wed, 6 Jan 2021 11:24:30 +0000 (+0100) Subject: Allow the translation of MediaWiki sidebar X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/a787f7308f0de6a2fe2c9b394414f554882aa58f Allow the translation of MediaWiki sidebar --- diff --git a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb index 466959c67..f1bdeb84d 100644 --- a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb +++ b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb @@ -274,7 +274,8 @@ $wgAllowExternalImagesFrom = array( 'http://tile.openstreetmap.org/', 'https://t $wgNoFollowDomainExceptions = array( 'www.openstreetmap.org', 'josm.openstreetmap.de', 'taginfo.openstreetmap.org', 'blog.openstreetmap.org', 'wiki.osmfoundation.org' ); # FIXME - move to specific -$wgForceUIMsgAsContentMsg = array( 'mainpage-url', 'portal-url', 'mapfeatures-url', 'helppage' ); +# defines which links of the sidebar are translatable +$wgForceUIMsgAsContentMsg = array( 'mainpage-url', 'mapfeatures-url', 'contributors-url', 'helppage', 'blogs-url', 'shop-url', 'sitesupport-url' ); # FIXME - move to specific $wgAllowUserJs = TRUE;