DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:include

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:include [2024-03-13 18:21] 91.89.222.218plugin:include [2025-02-03 11:34] (current) – [Option to pass revision of main page to includes pages] Aleksandr
Line 8: Line 8:
 lastupdate : 2023-09-22 lastupdate : 2023-09-22
 compatible : Greebo, Frusterick Manners, Hogfather, Igor, Jack Jackrum, Kaos compatible : Greebo, Frusterick Manners, Hogfather, Igor, Jack Jackrum, Kaos
-depends    : tag+depends    : 
 conflicts  : mediasyntax, PhotoGallery conflicts  : mediasyntax, PhotoGallery
 similar    : wst similar    : wst
Line 212: Line 212:
 The include plugin has many feature and is very flexible and I'm willing to add more features if they fit in the general purpose of the include plugin. However there is no guarantee that I will implement a certain feature at a certain time, this depends completely on my available time and my mood. You can add your wishes to the issue tracker. The include plugin has many feature and is very flexible and I'm willing to add more features if they fit in the general purpose of the include plugin. However there is no guarantee that I will implement a certain feature at a certain time, this depends completely on my available time and my mood. You can add your wishes to the issue tracker.
  
-==== How to avoid including of whole page content if section does not exist? ====+==== How to avoid inclusion of whole page content if section does not exist? ====
  
-If using the flag ''firstsectiononly'' in addition, could be one solve. At least in regard of avoiding very large content to be displayed. If adding a header at the source page and using tools like the [[plugin:hiddenheader]] it might solve things at the source page, but in it'case seems to conflict and break certain include flag-tasks.+Adding the flag ''firstsectiononly'' could be one solution. At least in regard to avoiding very large content being displayed. Adding a header at the source page and using tools like the [[plugin:hiddenheader]] might solve things at the source page, but in this case seems to conflict and break certain include flag-tasks.
 ===== Discussion ===== ===== Discussion =====
  
Line 396: Line 396:
 ==== Option to pass revision of main page to includes pages ==== ==== Option to pass revision of main page to includes pages ====
  
-We are currently using DokuWiki for technical documentation. Within DokuWiki we use the 'date_at' function (https://www.dokuwiki.org/date_at) to go back to an old revision to see which version of the page a customer recieved. It would be very usefull if the included pages would honour the revision of the main page. To clarify: if the main page is shown at a specific revision, the included pages should also be shown at the last revision before the date of the main page. Would something like that be possible to incorporate?+We are currently using DokuWiki for technical documentation. Within DokuWiki we use the '[[:date_at]]' function to go back to an old revision to see which version of the page a customer recieved. It would be very usefull if the included pages would honour the revision of the main page. To clarify: if the main page is shown at a specific revision, the included pages should also be shown at the last revision before the date of the main page. Would something like that be possible to incorporate?
  
 Thanks in advance! Thanks in advance!
Line 410: Line 410:
 - OYMYO - OYMYO
  
-==== Options/arguments ====+==== Passing parameters/arguments ====
  
 I think it would be cool if this plugin supported [[https://www.mediawiki.org/wiki/Help:Templates#Parameters|options/arguments like in MediaWiki]]. I think it would be cool if this plugin supported [[https://www.mediawiki.org/wiki/Help:Templates#Parameters|options/arguments like in MediaWiki]].
Line 431: Line 431:
  
 > Sorry, didn't know about the [[plugin:templater|Templater Plugin]] --- [[user>hasha2982|hasha2982]] //2020-08-19 17:25// > Sorry, didn't know about the [[plugin:templater|Templater Plugin]] --- [[user>hasha2982|hasha2982]] //2020-08-19 17:25//
 +
 +>> [[plugin:templater|Templater]] and [[plugin:wst|WST]] plugins mess up with footnotes. Also they can break the content when using the edit buttons on sections. Your suggestion/request on passing params is still up-to-date! --- //2025-01-31 23:36//
plugin/include.1710350485.txt.gz · Last modified: by 91.89.222.218

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki