ResourceLoader/Legacy JavaScript

The following identifiers are to be considered deprecated and will eventually be quarantined and removed.

Right now (1.17) they are available as-is, exactly like you used to use them. However our digital environments and with it the internet landscape has changed a lot since most of these were written many years ago. Since 1.17 MediaWiki ships with a JavaScript library accessible through the  object. A complete list of the modules can be found here.

The currently recommended replacement can be found in the "Future" columns below. To view all new material (not just the replacements) see /resources. Please note the current implementation in the trunk may differ from the 1.17 release.

In the near future these legacy functions will be removed from the global namespace and quarantined. While quarantined, these identifiers will only be accessible within the mediaWiki.legacy object. You can use them from there in case no modern alternative is available or known to you. If you encouter this, please |Let us know!, the legacy functions won't be around for ever.

It will be highly encouraged to switch to more modern implementations of legacy features as soon as possible (rather than simply remapping everything to mediaWiki.legacy when quarantine starts), however remapping may be used as a stop-gap.

There is not set schedule for quarantining or removal yet, but each phase will occur sequentially over time after the ResourceLoader is deployed.