Last modified: 2012-08-14 11:59:50 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 T29970, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27970 - Wrong variable in phase3/resources/mediawiki/mediawiki.js
Wrong variable in phase3/resources/mediawiki/mediawiki.js
Status: RESOLVED DUPLICATE of bug 27532
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Michael Dale
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-10 09:07 UTC by Fomafix
Modified: 2012-08-14 11:59 UTC (History)
4 users (show)

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


Attachments
Patch for resources/mediawiki/mediawiki.js (937 bytes, patch)
2011-03-10 09:07 UTC, Fomafix
Details

Description Fomafix 2011-03-10 09:07:50 UTC
Created attachment 8276 [details]
Patch for resources/mediawiki/mediawiki.js

In http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/resources/mediawiki/mediawiki.js?view=markup#l1018

the variable must be "modules" instead of "dependencies".

Actual result:

 >>> mediaWiki.loader.load(false)
 Error: dependencies must be a string or an array, not a undefined

Expected result:

 >>> mediaWiki.loader.load(false)
 Error: modules must be a string or an array, not a boolean
Comment 1 Chad H. 2011-03-10 15:13:09 UTC
Fixed in r83649.
Comment 2 Krinkle 2011-03-10 17:29:58 UTC

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

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


Navigation
Links