Last modified: 2012-04-16 09:15:57 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 T29475, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27475 - Add support for simple syntax in mediaWiki.loader (similar to legacy importScript)
Add support for simple syntax in mediaWiki.loader (similar to legacy importSc...
Status: RESOLVED DUPLICATE of bug 25845
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Trevor Parscal
http://www.mediawiki.org/w/index.php?...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-16 21:05 UTC by Helder
Modified: 2012-04-16 09:15 UTC (History)
1 user (show)

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


Attachments

Description Helder 2011-02-16 21:05:54 UTC
The list of JavaScript deprecations suggests that importScript is/will be deprecated in favor of mediaWiki.loader functionality. Nonetheless, it doesn't seems to support a nice syntax like
importScript( 'Page.js' );

So, it would be interesting to provide support to such a syntax before deprecating the legacy importScript function.
Comment 1 Helder 2011-02-17 09:39:38 UTC
There is a patch for this in bug 25845

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

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


Navigation
Links