Last modified: 2011-03-13 18:06:37 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 T13319, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11319 - generateSitemaps treats redirects as content pages
generateSitemaps treats redirects as content pages
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
1.11.x
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-09-13 02:49 UTC by Alexander
Modified: 2011-03-13 18:06 UTC (History)
0 users

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


Attachments
quick but resource-heavy fix (95 bytes, patch)
2007-09-13 03:06 UTC, Alexander
Details

Description Alexander 2007-09-13 02:49:36 UTC
maintenance/generateSitemaps.php script includes redirect pages in the sitemaps it generates, but from a SEO standpoint they should not be included.
Comment 1 Alexander 2007-09-13 03:06:15 UTC
Created attachment 4104 [details]
quick but resource-heavy fix

This appears to work, but is incredibly time-consuming; it creates a new Article object for every title.
Comment 2 Alexander 2007-09-13 06:48:11 UTC
quick little benchmark for the patch, running on for 2578 URLs:

before patch: running time < 10 sec
after patch: running time = 17 minutes

...ouch
Comment 3 Brion Vibber 2007-09-13 15:36:29 UTC
Redirects need to appear for proper indexing.

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


Navigation
Links