https://bugzilla.wikimedia.org/show_bug.cgi?id=30344

       Web browser: ---
             Bug #: 30344
           Summary: Add priority tuning for generating Sitemaps
           Product: MediaWiki
           Version: 1.17
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: Maintenance scripts
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Created attachment 8915
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=8915
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');

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to