r73668 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73667‎ | r73668 | r73669 >
Date:17:31, 24 September 2010
Author:tparscal
Status:ok
Tags:
Comment:
Added early exits when files are used before webstart
Modified paths:
  • /trunk/phase3/includes/ResourceLoader.php (modified) (history)
  • /trunk/phase3/includes/ResourceLoaderContext.php (modified) (history)
  • /trunk/phase3/includes/ResourceLoaderModule.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ResourceLoaderContext.php
@@ -15,10 +15,13 @@
1616 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1717 * http://www.gnu.org/copyleft/gpl.html
1818 *
 19+ * @file
1920 * @author Trevor Parscal
2021 * @author Roan Kattouw
2122 */
2223
 24+defined( 'MEDIAWIKI' ) || die( 1 );
 25+
2326 /**
2427 * Object passed around to modules which contains information about the state
2528 * of a specific loader request
Index: trunk/phase3/includes/ResourceLoader.php
@@ -20,6 +20,8 @@
2121 * @author Trevor Parscal
2222 */
2323
 24+defined( 'MEDIAWIKI' ) || die( 1 );
 25+
2426 /**
2527 * Dynamic JavaScript and CSS resource loading system
2628 */
Index: trunk/phase3/includes/ResourceLoaderModule.php
@@ -20,6 +20,8 @@
2121 * @author Roan Kattouw
2222 */
2323
 24+defined( 'MEDIAWIKI' ) || die( 1 );
 25+
2426 /**
2527 * Abstraction for resource loader modules, with name registration and maxage functionality.
2628 */

Follow-up revisions

RevisionCommit summaryAuthorDate
r75911Resource loader minor changes. Fix for r73668 etc....tstarling07:58, 3 November 2010

Status & tagging log