plugin:fastwiki
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:fastwiki [2015-07-20 12:46] – [Template/Plugin developers: Integrating Fastwiki] zioth | plugin:fastwiki [2024-02-11 03:40] (current) – zioth | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : elifenton@this_is_not_a_real_email.fake | email : elifenton@this_is_not_a_real_email.fake | ||
type : action, javascript | type : action, javascript | ||
- | lastupdate : 2015-07-19 | + | lastupdate : 2024-02-10 |
- | compatible : Hrun | + | compatible : Hrun, Detritus, Elenor of Tsort, Frusterick Manners, Greebo, Hogfather, Igor, Jack Jackrum, Kaos |
depends | depends | ||
- | conflicts | + | conflicts |
- | similar | + | similar |
tags : section, editing, ajax, fast, preview, navigation | tags : section, editing, ajax, fast, preview, navigation | ||
- | downloadurl: | + | downloadurl: |
bugtracker : https:// | bugtracker : https:// | ||
sourcerepo : https:// | sourcerepo : https:// | ||
Line 21: | Line 21: | ||
---- | ---- | ||
- | This plugin is part of my effort to make the DokuWiki experience smoother and faster. | + | This plugin is part of my effort to make the DokuWiki experience smoother and faster. It provides full-featured inline section editing, and dramatically speeds up editing, edit previews and page loads. |
- | Install | + | Search and install |
Line 38: | Line 38: | ||
This feature should be compatible with all templates, and all plugins except those that change section editing behavior. If you discover any incompatibilities, | This feature should be compatible with all templates, and all plugins except those that change section editing behavior. If you discover any incompatibilities, | ||
+ | If you are using the [[.: | ||
===== Inline Previews ===== | ===== Inline Previews ===== | ||
Line 50: | Line 51: | ||
//Setting name: fastpages// | //Setting name: fastpages// | ||
- | When this setting is enabled, changing page modes -- for example, from viewing a page to editing it, or from site index to revision history -- happens without reloading the page. Only the center content area is changed, and there is a loading animation while the new content is being loaded.((Complete list of supported actions: show, edit, draft, history, recent, revisions, show, subscribe, backlink, index, profile, media, diff.)) | + | When this setting is enabled, changing page modes -- for example, from viewing a page to editing it, or from site index to revision history -- happens without reloading the page. Only the center content area is changed, and there is a loading animation while the new content is being loaded.((Complete list of supported actions: show, edit, draft, history, recent, revisions, show, subscribe, backlink, index, profile, media, diff, showtag)) |
- | Enabling this feature | + | Enabling this feature fixes a bug in DokuWiki. You will no longer get an "are you sure you want to leave" alert when all you did was move the cursor around in the editor. You have to actually change something. This feature also works with the [[.: |
This feature might not be compatible with all templates, and it won't work with any plugin which changes content outside the main content area. | This feature might not be compatible with all templates, and it won't work with any plugin which changes content outside the main content area. | ||
- | ===Plugin compatibility issues=== | + | === Plugin compatibility issues === |
- | * None yet. | + | * CKGedit doesn' |
+ | * CodeMirror doesn' | ||
+ | * [[.: | ||
+ | **Fixed**: | ||
+ | * edittable fixed on 2015-09-16: https:// | ||
+ | * [[.: | ||
+ | * [[.: | ||
+ | * [[.: | ||
===Supported templates=== | ===Supported templates=== | ||
Templates have a variety of behavior when switching view modes. Some hide the sidebar in some modes. Some have links while others have buttons. I have made an effort to support many of the most popular templates. Feel free to request others, if you find that your favorite template doesn' | Templates have a variety of behavior when switching view modes. Some hide the sidebar in some modes. Some have links while others have buttons. I have made an effort to support many of the most popular templates. Feel free to request others, if you find that your favorite template doesn' | ||
- | These templates support | + | These templates support |
* [[template: | * [[template: | ||
* [[template: | * [[template: | ||
- | These templates | + | These templates |
* [[template: | * [[template: | ||
Line 76: | Line 85: | ||
* [[template: | * [[template: | ||
* [[template: | * [[template: | ||
+ | * [[template: | ||
+ | * [[template: | ||
- | === Requests for Template Support === | ||
- | * None yet. | ||
=== Templates with built-in support === | === Templates with built-in support === | ||
Line 97: | Line 106: | ||
When this feature is enabled, entirely new pages load without reloading the page. For example, switching from a:b:c to a:b:d will not reload. However, the page will reload if there is an ACL difference between the two pages. That is, if you have the right to edit the current page but not the next page, the whole page will reload. | When this feature is enabled, entirely new pages load without reloading the page. For example, switching from a:b:c to a:b:d will not reload. However, the page will reload if there is an ACL difference between the two pages. That is, if you have the right to edit the current page but not the next page, the whole page will reload. | ||
+ | |||
+ | If anything other than the main page content changes when you switch pages, do not enable this setting (but see the other fastshow settings for how to limit it). For example, if the sidebar has page-specific content, that content will _not_ be reloaded on a page transition. | ||
The browser history will reflect the page change. Since Microsoft Internet Explorer 9 and below can't manipulate browser history, those browsers are automatically excluded from this feature. | The browser history will reflect the page change. Since Microsoft Internet Explorer 9 and below can't manipulate browser history, those browsers are automatically excluded from this feature. | ||
=== Setting: fastshow_same_ns === | === Setting: fastshow_same_ns === | ||
- | In most wikis, the sidebar, header or footer is namespace-specific. If this is the case for your wiki, enable this setting, so that the feature is only used when switching to another page in the same namespace. | + | In some wikis, the sidebar, header or footer is namespace-specific. If this is the case for your wiki, enable this setting, so that the feature is only used when switching to another page in the same namespace. |
=== Setting: fastshow_include === | === Setting: fastshow_include === | ||
Line 110: | Line 121: | ||
=== Template Support === | === Template Support === | ||
- | Support for this feature is the same as for // | + | Support for this feature is the same as for // |
=== Comments Support === | === Comments Support === | ||
- | If your wiki uses the [[plugin: | + | If your wiki uses the [[plugin: |
Line 119: | Line 130: | ||
//Setting names: preload, preload_batchsize, | //Setting names: preload, preload_batchsize, | ||
- | Want a super speed boost? Enable this feature (along with // | + | Want a super speed boost? Enable this experimental |
Warning: This feature will significantly increase network usage. A typical wiki might require 500kb for the first page loaded and 50kb for each subsequent page. With this setting enabled, you'll load an additional 5-20kb per link on the page. If you average 30 links a page (including sidebars), that's 320kb per page instead of just 50kb. Note that the additional size will not affect page load time; preloads don't happen until after the page is loaded. | Warning: This feature will significantly increase network usage. A typical wiki might require 500kb for the first page loaded and 50kb for each subsequent page. With this setting enabled, you'll load an additional 5-20kb per link on the page. If you average 30 links a page (including sidebars), that's 320kb per page instead of just 50kb. Note that the additional size will not affect page load time; preloads don't happen until after the page is loaded. | ||
+ | |||
+ | Warning: This feature will break page-count statistics. If you keep track of how many users visit each page, do not enable this feature. | ||
Support for this feature is the same as for // | Support for this feature is the same as for // | ||
+ | |||
+ | **Note:** This feature will only be available if your php installation includes the curl library. | ||
=== Setting: preload_batchsize === | === Setting: preload_batchsize === | ||
Line 141: | Line 156: | ||
Please let me know if you add support to your template. | Please let me know if you add support to your template. | ||
+ | |||
+ | ==Templates with 3rd party integration== | ||
+ | * [[template: | ||
+ | |||
+ | ==Plugins with 3rd party integration== | ||
+ | * [[plugin: | ||
+ | * [[plugin: | ||
+ | * [[plugin: | ||
===== TODO ===== | ===== TODO ===== | ||
- | ==== Known Issues ==== | + | **[[https:// |
- | | + | |
- | | + | |
- | * After saving a section edit with //fastsave// enabled, the page scrolls to the top instead of staying on the section. | + | |
- | | + | |
- | ==== Future Plans ==== | + | **[[https:// |
- | | + | |
- | | + | |
- | * Add preload configuration in a syntax plugin. This will be useful when the wiki editor knows that certain links are more likely to be clicked than others. | + | |
- | * Keep a history of frequently clicked links on the server, so that we can pre-load those first and keep them around for longer. | + | |
- | ==== No Plan to Fix ==== | + | **[[https:// |
- | | + | |
- | | + | |
===== Changelog ===== | ===== Changelog ===== | ||
- | {{rss>http:// | + | {{rss>https:// |
- | ===== Feature Requests | + | ===== FAQ ===== |
+ | ==Where can I see it in action?== | ||
+ | You can try out the inline section editor at https:// | ||
- | ===== FAQ ===== | + | ==How do I make my template/ |
+ | [[plugin: | ||
+ | ==Why don't I see the preload setting?== | ||
+ | The deployment of PHP on your server has the curl library disabled. | ||
- | ===== Discussion ===== | ||
- | * Would you mind if I need to see any example(site or screenshots)? | + | ===== Discussion ===== |
- | I'll try to get a screenshot up of the section edit feature [edit: done]. The rest just looks like ordinary DokuWiki. My site doesn' | + | Hey Zioth was hoping |
- | If you have trouble getting it to work on your site, point me to your site and I'll take a look. Also tell me what template you're using, and which features aren't working. | + | Sure! You can reach me through my github page: https://github.com/zioth/contactme |
- | --- [[user> | + |
plugin/fastwiki.1437389209.txt.gz · Last modified: 2015-07-20 12:46 by zioth