Manual:$wgSitemapNamespacesPriorities

Details
Custom namespace priorities for sitemaps. Setting this will allow you to set custom priorities to namsepaces when sitemaps are generated using the maintenance/generateSitemap.php script.

This should be a map of namespace IDs to priority. Example: