Last modified: 2011-05-16 12:14:58 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 T31001, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29001 - Prevent recursive loading of resources (causes endless requests, browser crashes etc.)
Prevent recursive loading of resources (causes endless requests, browser cras...
Status: RESOLVED DUPLICATE of bug 26814
Product: MediaWiki
Classification: Unclassified
ResourceLoader (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Trevor Parscal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-15 18:42 UTC by Owltom
Modified: 2011-05-16 12:14 UTC (History)
2 users (show)

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


Attachments

Description Owltom 2011-05-15 18:42:11 UTC
Resource Loader should keep track of resources it already has loaded to prevent endless server requests, browser crashes, freezing sites etc.

Simple example: 

[http://kamelopedia.mormo.org/index.php?title=Kamel:Nachteule/vector.js&oldid=442686]

The page ("Kamel:Nachteule/vector.js") imports itself using mw.load

Result: endless server reqests, page loading doesn't stop, browser crashes and/or browser becomes unresponsive ...

Sure, this example ist stupid, but on complex sites, recursive loading of things could happen.

In general it would be better if resource loader is aware of resources it aleady has loaded, so when the same resource is referenced more than once (through transclusion or other circumstances it will be ignored).

Sorry for my poor english ;)
Comment 1 Roan Kattouw 2011-05-16 12:14:58 UTC
This bug only exists for loading URLs. For modules, this is being done already.

*** This bug has been marked as a duplicate of bug 26814 ***

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


Navigation
Links