Last modified: 2014-09-23 19:55:01 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 T9416, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 7416 - Less expensive redirect article handling by dumpHTML
Less expensive redirect article handling by dumpHTML
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
DumpHTML (Other open bugs)
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
  Show dependency treegraph
Reported: 2006-09-26 13:31 UTC by Kelson [Emmanuel Engelhart]
Modified: 2014-09-23 19:55 UTC (History)
3 users (show)

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

diff (4.70 KB, patch)
2006-09-26 13:37 UTC, Kelson [Emmanuel Engelhart]

Description Kelson [Emmanuel Engelhart] 2006-09-26 13:31:14 UTC
Currently the redirect articles are rendered as simple HTML pages/files which
simple make a HTTP refresh on the destination article page/file.

I modified the script to modify all links in the way they not point to the
redirect page anymore, but directly to the destination page/file.

It works with the option --shortcut-redirects

"Queued redirects" and "recursive redirects" loop are handled.

This is a first step to reduce the amazing quantity of HTML pages generated by

With the french Wikipedia, I reduce the number of file by more than 10%.
Comment 1 Kelson [Emmanuel Engelhart] 2006-09-26 13:37:15 UTC
Created attachment 2417 [details]
Comment 2 Tim Starling 2006-09-26 23:27:12 UTC
This would make the go button not work.
Comment 3 Kelson [Emmanuel Engelhart] 2006-09-27 08:37:56 UTC
This would make the go button not work - with redirects only.

For people making an offline-reader this is not an issue, they don't use the
default dumpHTML skin, and have theire own search engine.

For this people this option keeps all its interest.
Comment 4 Ariel T. Glenn 2012-02-17 15:01:14 UTC
No idea how current this code is.  But this could go in as a feature that could be enabled by passing an appropriate parameter.  It shouldn't be the default behavior but I can see why some people would find it useful.
Comment 5 Sumana Harihareswara 2012-05-23 20:01:27 UTC
Emmanuel, would you mind updating and submitting your patch directly into our new Git source control system?

You can do this by getting and using "developer access" if you do not have it already:


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