Last modified: 2014-09-23 19:55:01 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 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)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
Blocks:
  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: ---


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

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
dumpHTML.

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]
diff
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?

https://www.mediawiki.org/wiki/Git/Workflow

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

https://www.mediawiki.org/wiki/Developer_access

Thanks.

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


Navigation
Links