Last modified: 2014-03-26 23:27:52 UTC
I am using Manual:GenerateSitemap.php to generate sitemap now. Is it possible to disable language variants link in sitemap? For example the sitemap will contain language variants in URL which actually all point to same page. I only want to keep the link to "http://zh.moegirl.org/Help:DynamicPageList". How? <url> <loc>http://zh.moegirl.org/Help:DynamicPageList</loc> <lastmod>2013-03-25T01:55:56Z</lastmod> <priority>0.5</priority> </url> <url> <loc>http://zh.moegirl.org/zh-cn/Help:DynamicPageList</loc> <lastmod>2013-03-25T01:55:56Z</lastmod> <priority>0.5</priority> </url> <url> <loc>http://zh.moegirl.org/zh-tw/Help:DynamicPageList</loc> <lastmod>2013-03-25T01:55:56Z</lastmod> <priority>0.5</priority> </url>
Hi zoglun. This does not sound like something is wrong in the code of MediaWiki (a so-called "bug"), but instead like a support request (how to change settings, questions how to do something, etc.). bugzilla.wikimedia.org is only for specific bug reports and enhancement requests. Please use https://www.mediawiki.org/wiki/Project:Support_desk for support requests to make sure that functionality does not exist; afterwards an enhancement request can be filed in Bugzilla. Thanks!
This is quite confusing, I ask same question at the support dest and people said I should report it here: https://www.mediawiki.org/wiki/Thread:Project:Support_desk/How_to_separate_sitemap_into_series_small_file%3F Neither Google nor Baidu(largest search engine in China) accept my sitemap due to "over maximum links limitation" Their is a "$wgDefaultLanguageVariant = "zh-cn";" which allows me to set the default language variant while still keep the variant function. But the GenerateSitemap.php still generate three link for three exactly the same page. The purpose of sitemaps is to allows search engine collect pages. When these engine refuse to record the links in sitemap.xml, that's a bug. Isn't it?
(In reply to zoglun from comment #2) > I ask same question at the support dest and people said I should report it here That's very good and information which is already welcome when reporting a ticket here. :) The phrasing of this ticket as a question makes it sound like you simply do not know if it's possible and have a support question; however the comments in the Support Desk ("I don't think you can split the sitemap up like that") make clear that it's very likely not possible currently and hence a valid feature request.