plugin:instantpage
Table of Contents
instant.page 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 fastwiki
Installation
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
How it works
This plugin prefetches a page when hovering over a link. Since it usually takes several hundred milliseconds to click on a link, this results in a significant faster experience. Internally, it uses the script provided by https://instant.page/.
Limitations
This plugin doesn't work well with DokuWiki's tracking breadcrumbs. It adds every preloaded page to that list of breadcrumbs. This is unfortunately unavoidable. I suggest using the hierarchical breadcrumbs instead.
- There were reports that on IE111) there are some incompatibilities with the plugins IndexMenu and Newsticker? Reportedly, it is fine with other browsers. I cannot reproduce this.
- So far it works on Firefox, Chrome and Opera. It is supposed to work on IE11/Edge, however, I've been unable to verify that since I don't run Windows anymore. Safari apparently refuses to implement that API 🤦
- It should work only on links to viewing other wikipages. It is disabled for all other modes, esp. edit-mode to prevent accidentally locking a page.
- It is also disabled for external pages.
Development
Events
- ACTION_HEADERS_SEND – used to allow short-term caching of the preloaded pages
- TPL_METAHEADER_OUTPUT – used fetch the instant.page script
Change Log
- chore: bump version (2022-02-04 18:14)
- chore: upgrade instant.page to 5.1 (2022-02-04 18:13)
- 👷 ci: move From Travis to GitHub actions (2021-01-26 16:57)
- 🐛 Don't load script async, always defer (2020-01-26 20:01)
- 💚 fix test execution command on travis (2020-01-25 00:33)
- ✅ Add testing (2020-01-24 23:47)
- 🔥 Delete removed files on update (2020-01-24 23:46)
- 🔖 Version upped (2020-01-22 00:42)
Releases:
- 2022-02-04 by micgro42chore: bump version
- Version 2020-01-22 by micgro42Use local version of instant.page 3.0.0
- 2019-04-20 Bugfix Release by micgro42Fixes a javascript error that ocurred when DokuWiki's javascript compression was used.
- 2019-04-06 by micgro42Removed stray debug js console output 😅
- 2019-03-03 by micgro42Initial release
1)
If you are running a system where IE11 is the most advanced browser available, you are doing it wrong.
plugin/instantpage.txt · Last modified: by grosse