https://bugzilla.wikimedia.org/show_bug.cgi?id=29687
Web browser: ---
Bug #: 29687
Summary: Some pages have a 'null' lastmod field in the sitemap!
Product: MediaWiki
Version: 1.17.0
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Maintenance scripts
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
I'm creating a sitemap for my wiki with the following command:
php /memberroot/dmb/public_html/metabase/mw/maintenance/generateSitemap.php \
--fspath /memberroot/dmb/public_html/metabase/mw/sitemap \
--server http://metadatabase.org \
--urlpath http://metadatabase.org/sitemap
When I load this into google webmaster tools, almost everything works fine.
However, a couple of pages have a weird 'null' lastmod field:
<url>
<loc>http://metadatabase.org/wiki/Main_Page</loc>
<lastmod></lastmod>
<priority>1.0</priority>
</url>
and:
<url>
<loc>http://metadatabase.org/wiki/Help:About</loc>
<lastmod></lastmod>
<priority>0.5</priority>
</url>
It's always these two pages!
This causes Google to barf with an error about an incorrect date format.
--
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