Last modified: 2010-05-15 15:54:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T15527, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13527 - use non-proprietary sitemap schema
use non-proprietary sitemap schema
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Maintenance scripts (Other open bugs)
1.12.x
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-26 22:19 UTC by Dan Jacobson
Modified: 2010-05-15 15:54 UTC (History)
1 user (show)

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


Attachments

Description Dan Jacobson 2008-03-26 22:19:28 UTC
In generateSitemap.php consider using the non-proprietary
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd
instead of the proprietary
http://www.google.com/schemas/sitemap/0.84/sitemap.xsd .
They are the same except for the comments.
Comment 1 Dan Jacobson 2008-03-26 22:31:29 UTC
Indeed, that is what Google itself recommends:
$ w3m -dump https://www.google.com/webmasters/tools/docs/en/protocol.html |
grep xsd|perl -pwe 's/^\s+/\t/'
	For Sitemaps: http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd
	siteindex.xsd
	http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
	http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd">
	schemas/sitemap/0.9/sitemap.xsd, and a schema for Sitemap index files is
	available at http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd.

We also notice that your index files are not using siteindex.xsd,
but just sitemap.xsd, as if they were not index files.
Comment 2 Robert Leverington 2008-04-17 18:14:19 UTC
Fixed in r33500.

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


Navigation
Links