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

           Summary: Allow specifying what namespaces to generate sitemaps
                    for, from the php command line
           Product: MediaWiki
           Version: 1.14.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: Normal
         Component: Maintenance scripts
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: jida...@jidanni.org


There is no way to specify  what namespaces to generate sitemaps for
from the command line.

One ends up having e.g.,
 $wgSitemapNamespaces=array(NS_MAIN,NS_TALK,NS_USER,NS_USER_TALK,NS_PROJECT,

NS_PROJECT_TALK,NS_TEMPLATE_TALK,NS_HELP,NS_HELP_TALK,NS_CATEGORY,NS_CATEGORY_TALK);
sitting around LocalSettings.php, read on every page view all day long,
even though one only generates sitemaps once a month. Or else one must append
it each
time one wants to make a sitemap.

There isn't even a way to somehow on the command line
$ php [TELL PHP THOSE VALUES HERE] generateSitemap.php --server=http://....
--fspath=../


-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to