Last modified: 2014-03-26 23:27:52 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 T65098, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63098 - Separate sitemap into a series of smaller files (for search engines)
Separate sitemap into a series of smaller files (for search engines)
Status: NEW
Product: MediaWiki
Classification: Unclassified
Maintenance scripts (Other open bugs)
1.22.4
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-26 07:01 UTC by zoglun
Modified: 2014-03-26 23:27 UTC (History)
1 user (show)

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


Attachments

Description zoglun 2014-03-26 07:01:02 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>
Comment 1 Andre Klapper 2014-03-26 12:01:41 UTC
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!
Comment 2 zoglun 2014-03-26 19:53:02 UTC
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?
Comment 3 Andre Klapper 2014-03-26 23:27:52 UTC
(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.

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


Navigation
Links