r66444 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r66443‎ | r66444 | r66445 >
Date:21:38, 14 May 2010
Author:dale
Status:deferred
Tags:
Comment:
uploadWizard part of r66443
Modified paths:
  • /trunk/extensions/UploadWizard/.project (added) (history)
  • /trunk/extensions/UploadWizard/README (modified) (history)
  • /trunk/extensions/UploadWizard/UploadWizard.php (modified) (history)
  • /trunk/extensions/UploadWizard/UploadWizardPage.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UploadWizard/.project
@@ -0,0 +1,11 @@
 2+<?xml version="1.0" encoding="UTF-8"?>
 3+<projectDescription>
 4+ <name>UploadWizard</name>
 5+ <comment></comment>
 6+ <projects>
 7+ </projects>
 8+ <buildSpec>
 9+ </buildSpec>
 10+ <natures>
 11+ </natures>
 12+</projectDescription>
Index: trunk/extensions/UploadWizard/UploadWizard.php
@@ -48,6 +48,6 @@
4949
5050 $wgScriptLoaderNamedPaths[ 'UploadWizardPage' ] = 'extensions/UploadWizard/UploadWizardPage.js';
5151
52 -// Set up the javascript loader for the jsModule
53 -$wgExtensionJavascriptLoader[] = 'extensions/UploadWizard/loader.js';
 52+// Set up the javascript path for the loader and localization file.
 53+$wgExtensionJavascriptModules[ 'UploadWizard' ] = 'extensions/UploadWizard';
5454
Index: trunk/extensions/UploadWizard/README
@@ -7,4 +7,3 @@
88
99 # Upload Wizard
1010 require_once( "$IP/extensions/UploadWizard/UploadWizard.php" );
11 -
Index: trunk/extensions/UploadWizard/UploadWizardPage.js
@@ -4,8 +4,7 @@
55 */
66
77 mw.ready( function() {
8 - mw.load( 'UploadWizard.UploadWizard', function () {
9 -
 8+ mw.load( 'UploadWizard.UploadWizard', function () {
109 mw.setConfig( 'debug', true );
1110
1211 mw.setDefaultConfig( 'uploadHandlerClass', null );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r66443* refined wgExtensionJavascriptModules global to add javascript modules from ...dale21:38, 14 May 2010

Status & tagging log