Last modified: 2010-05-15 15:41:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 8630 - generateSitemap.php option documentation
generateSitemap.php option documentation
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.7.x
PC Linux
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-01-14 11:23 UTC by Dan Jacobson
Modified: 2010-05-15 15:41 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dan Jacobson 2007-01-14 11:23:41 UTC
Regarding
$ php generateSitemap.php --help
Usage: php generateSitemap.php [host] [options]
	host = hostname
	options:
		--help	show this message
		--fspath	The file system path to save to, e.g /tmp/sitemap/
		--path	The http path to use, e.g. /wiki
		--compress=[yes|no]	compress the sitemap files, default yes

1. Those square brackets mean optional, so I tried
$ php generateSitemap.php
and boy there were more error messages than ....
By the way I would print the help message if no arguments were given.

Also add instructions how one is to use the .xml produced as a general
site map, or if this is only for the Google Corporation.
Comment 1 Antoine "hashar" Musso (WMF) 2007-01-15 20:33:39 UTC
What kind of errors do you have ?
Comment 2 Antoine "hashar" Musso (WMF) 2007-01-20 18:18:57 UTC
Without option, the script just generate sitemap files.
Marking as 'works for me'
Comment 3 Dan Jacobson 2007-02-01 19:41:57 UTC
My problem is these sitemaps are only for Google. If one wants a
sitemap for a visitor to browse, one has to make one by hand. The code
doesn't mention what to do if one wants a traditional sitemap.
Comment 4 Rob Church 2007-02-01 20:26:38 UTC
Well, now you know.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links