Patch for adding priority customisation in generateSitemap.php maintenance script
As we have a $wgSitemapNamespaces array variable, I would suggest to add a similar associative array for tuning priorities (apart from the default ones).
Usage:
$wgSitemapNamespacesPriorities = array(NS_MAIN => '0.9', NS_TALK => '0.1', NS_CUSTOM => '1.0', NS_CATEGORY => '0.5', NS_USER => '0.7', NS_USER_TALK => '0.1');
Version: 1.17.x
Severity: enhancement
Attached: