Table of Contents
jquerymigrate Plugin
Compatible with DokuWiki
Greebo
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Similar to jquery
Installation
Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.
Examples/Usage
After you install the plugin, it should inject automatically to the page, and use CDN accordingly based on your jquerycdn setting.
One advantage that developers use this plugin over the builtin jquery-migrate, is that you can choose to use the development, uncompressed version of jquery-migrate, so that you could fix warnings of jquery-migrate and eventually get rid of this extra dependency.
Configuration and Settings
- version: jQuery migrate version that the plugin will load, if you are using CDN (if jquerycdn is set to local, it will always load a version bundled with the plugin). Default is the latest one as of the plugin is published.
- jquerycdn: decides which origin the plugin should use, between cdnjs, jquery and local.
- compress: Load production, compressed version of jquery-migrate. Set this to off will help showing all warnings that developer can use to fix deprecated method usage.
Change Log
- Version 2020-02-23 (2020-02-23 21:24)Removed plugin dev config, in favor of $conf['compress'] (#1).
- jquerymigrate first release (2020-02-22 23:19)jquerymigrate is a plugin that adds production/development version of jquery-migrate script to DokuWiki. When DokuWiki removes jquery-migrate, this plugin helps you maintain backward compatibility, and helps developers by loading a dev version of the script, to print out all migration warnings.
Known Bugs and Issues
See GitHub issue tracker above.
Discussion
Please use GitHub issue tracker for discussions, above.