Thread:Project:Support desk/How to use generateSitemap.php

I don'n know where to type those:

First (in $IP):

mkdir sitemap

Then:

php maintenance/generateSitemap.php \

--fspath sitemap \

--server http://mydomain.org \

--urlpath http://metadatabase.org/sitemap

When i go to url mysite/maintenance/generateSitemap.php, there is a bug report

Can anyone tell me what file i have to edit and what i have to do to make a sitemap by generateSitemap.php?