MediaWiki:Gadget-morebits.js: Difference between revisions

Repo at 616aeb6: jquery.ui.dialog (and others) being moved within jquery.ui
imported>Amorymeltzer
(Repo at bab8522: Use csrfToken in mw.user.tokens (#712); Convert mw.RegExp.escape to mw.util.escapeRegExp as the former is being deprecated (#711); Update handling of blacklist and abusefilter errors from API (breaking change for 1.34.0-wmf.23) (#707); internationalize Date, and remove unused functions (#635); enable multiline unbinder (#510); replace + in Morebits.queryString (fix longstanding bug) (#678))
(Repo at 616aeb6: jquery.ui.dialog (and others) being moved within jquery.ui)
Line 16:
* - The whole thing relies on jQuery. But most wikis should provide this by default.
* - Morebits.quickForm, Morebits.simpleWindow, and Morebits.status rely on the "morebits.css" file for their styling.
* - Morebits.simpleWindow relies on jquery UI Dialog (from ResourceLoader module name 'jquery.ui.dialog').
* - Morebits.quickForm tooltips rely on Tipsy (ResourceLoader module name 'jquery.tipsy').
* For external installations, Tipsy is available at [http://onehackoranother.com/projects/jquery/tipsy].
* - To create a gadget based on morebits.js, use this syntax in MediaWiki:Gadgets-definition:
* * GadgetName[ResourceLoader|dependencies=mediawiki.user,mediawiki.util,jquery.ui.dialog,jquery.tipsy]|morebits.js|morebits.css|GadgetName.js
*
* Most of the stuff here doesn't work on IE < 9. It is your script's responsibility to enforce this.
Anonymous user