DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:snippets

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
plugin:snippets [2017-10-17 14:40]
turnermm [Notes on Options]
plugin:snippets [2017-10-17 14:44] (current)
turnermm [Notes on Options]
Line 168: Line 168:
 **skip_unset_macros**: ​ If this option is set to true, any macros left on the page after processing will be removed. **skip_unset_macros**: ​ If this option is set to true, any macros left on the page after processing will be removed.
  
-**old_revisions**:​ This is the default value for determining how to handle snippets when you load an ''​Old Revision''​ into the editor. If true, any snippets found in an old revision will be replaced by the current versions; if false, the older snippets will remain in place. ​  But this is modifiable from the Old Revisions/​Snippets interface that appears upon loading an ''​Old Revisions'' ​into the browser. ​ This interface ​ makes it possible to decide on a case by case basis whether to recover a previous version of the page in its entirety, including the old version of the snippet, or else to update the page with the current snippets. ((Previously,​ before the implementation of this interface, the ''​old_revisions''​ setting determined the outcome for all instances, that is, either in all cases the newer snippet was installed, or the old one was left.)). ​ This is the interface message:+**old_revisions**:​ This is the default value for determining how to handle snippets when you load an ''​Old Revision''​ into the editor. If true, any snippets found in an old revision will be replaced by the current versions; if false, the older snippets will remain in place. ​  But this is modifiable from the Old Revisions/​Snippets interface that appears upon loading an old Revision ​into the browser. ​ This interface ​ makes it possible to decide on a case by case basis whether to recover a previous version of the page in its entirety, including the old version of the snippet, or else to update the page with the current snippets. ((Previously,​ before the implementation of this interface, the ''​old_revisions''​ setting determined the outcome for all instances, that is, either in all cases the newer snippet was installed, or the old one was left.)). ​ This is the interface message:
   This is an old revision of the document. It contains one or more snippets which may be outdated.   This is an old revision of the document. It contains one or more snippets which may be outdated.
   Replace outdated snippets in this Old Revision? Yes No   Replace outdated snippets in this Old Revision? Yes No
plugin/snippets.txt ยท Last modified: 2017-10-17 14:44 by turnermm