Last modified: 2011-03-13 18:06:37 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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