Added direct file loading functionality to debug mode for both scripts and styles...
authorTrevor Parscal <tparscal@users.mediawiki.org>
Sat, 14 May 2011 12:15:58 +0000 (12:15 +0000)
committerTrevor Parscal <tparscal@users.mediawiki.org>
Sat, 14 May 2011 12:15:58 +0000 (12:15 +0000)
commite6bee6f043aac8a1e48e6302b32fc6712a180d79
treec4e38e79367ae973a0d0999159d85cc7661e7476
parent49b717013cf6d65a815abd1406f7b97561c094e6
Added direct file loading functionality to debug mode for both scripts and styles, with callbacks for module state changes (changing to ready) and executing of jobs and modules awaiting dependency resolutions. These changes also provide a way to used mw.loader.implement with arrays of URLs for the scripts and styles arguments, which will make it possible to implement modules using user scripts. This probably solves bug #27023 - tests to verify that will be coming soon.
includes/resourceloader/ResourceLoader.php
includes/resourceloader/ResourceLoaderFileModule.php
resources/mediawiki/mediawiki.js