plugin:fastwiki
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:fastwiki [2017-11-05 23:14] – 68.186.200.178 | 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 : 2017-11-05 | + | lastupdate : 2024-02-10 |
- | compatible : Hrun, Detritus, Elenor of Tsort | + | 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 | ||
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 52: | Line 53: | ||
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)) | 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 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 tags plugin, which makes that plugin behave better with many templates than it does now. | + | 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 [[.:tags|tags plugin]], which makes that plugin behave better with many templates than it does now. |
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 === |
* CKGedit doesn' | * CKGedit doesn' | ||
- | * imgpaste doesn' | ||
* CodeMirror doesn' | * CodeMirror doesn' | ||
+ | * [[.: | ||
**Fixed**: | **Fixed**: | ||
* edittable fixed on 2015-09-16: https:// | * edittable fixed on 2015-09-16: https:// | ||
- | * [[plugin: | + | * [[.: |
+ | * [[.: | ||
+ | * [[.: | ||
Line 69: | Line 72: | ||
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 82: | Line 85: | ||
* [[template: | * [[template: | ||
* [[template: | * [[template: | ||
- | |||
- | === Requests for Template Support === | ||
* [[template: | * [[template: | ||
+ | * [[template: | ||
Line 104: | 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 117: | 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 126: | 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. | ||
- | Support for this feature is the same as for // | + | 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 // | ||
+ | |||
+ | **Note:** This feature will only be available if your php installation includes the curl library. | ||
=== Setting: preload_batchsize === | === Setting: preload_batchsize === | ||
Line 148: | 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: | ||
Line 167: | Line 183: | ||
==Where can I see it in action?== | ==Where can I see it in action?== | ||
- | My site doesn' | + | You can try out the inline section editor at https:// |
==How do I make my template/ | ==How do I make my template/ | ||
Line 178: | Line 194: | ||
===== Discussion ===== | ===== Discussion ===== | ||
- | > | + | Hey Zioth was hoping to get ahold of you about some of your WRAP plugin extentions. Is there any way I can reach you? Thanks! |
- | > - inline section edit only works if **>> | + | |
- | > - loading animation (greyed screen with blue vertical bars in a white box) may stay active | + | |
- | > . - happend in > | + | |
- | > . - can sometimes be cured by canceling and re-entering edit mode | + | |
- | > . - otherwise inline editing seems to work properly (text can be modified, copied, ..., previewed, ...) | + | |
- | > - inline preview is significantly narrower than the final page/frame width as there is a grey area on the right side | + | |
- | + | ||
- | Sorry for the long delay. The sticky loading animation issue in FireFox should be fixed now. --- [[user> | + | |
- | + | ||
- | ==== CKGedit Support? ==== | + | |
- | + | ||
- | I guess so far it doesnt work with the CKGedit-Plugin? Would be nice if that could be supported somehow. Talking about the inline editing. | + | |
- | [[user> | + | Sure! You can reach me through my github page: https:// |
plugin/fastwiki.txt · Last modified: 2024-02-11 03:40 by zioth