Last modified: 2014-03-20 04:22:08 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 T28803, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26803 - ResourceLoader: Prefix global isCompatible() and startUp() functions
ResourceLoader: Prefix global isCompatible() and startUp() functions
Status: NEW
Product: MediaWiki
Classification: Unclassified
ResourceLoader (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-19 03:26 UTC by Michael Dale
Modified: 2014-03-20 04:22 UTC (History)
2 users (show)

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


Attachments

Description Michael Dale 2011-01-19 03:26:00 UTC
For embedding the code in external sites there should be as few globals as possible and the globals should be prefixed ie 'mwStartUp' and 'mwIsCompatible'

Also var LEGACY_GLOBALS = true; is hard coded in mediaWiki.js, would be nice to move that to a configuration option. ( So it could be disabled )
Comment 1 Krinkle 2011-05-10 23:08:02 UTC
I didn't know about this bug untill after I filed bug 28916.

As they aren't 1 bug, re-phrazing summary to no longer mention the legacy thing. Putting in a seperate bug (bug 28916).
Comment 2 Bugmeister Bot 2011-08-19 19:12:56 UTC
Unassigning default assignments. http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/54734

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


Navigation
Links