History log of /plugin/include/syntax/include.php (Results 1 – 25 of 47)
Revision Date Author Comments
# dc971206 27-Sep-2020 lpaulsen93 <lars_paulsen@web.de>

Removed useless/deprecated code


# 3e552d80 14-Jun-2020 Michael Hamann <michael@content-space.de>

Pad arrays to avoid undefined array offsets #245


# 20b61c98 14-Jun-2020 Michael Hamann <michael@content-space.de>

Fix flags not being stored in metadata #245


# 4dc3397b 16-Apr-2020 Bart Louwers <bart+gitlab@emeel.net>

More efficient exclude


# 542dddde 14-Apr-2020 Bart Louwers <bart+gitlab@emeel.net>

Use @preg_match instead of preg_match


# 9bb98c9d 14-Apr-2020 Bart Louwers <bart+gitlab@emeel.net>

Make preg_match call before array_push.


# 6a87fba8 11-Apr-2020 Bart Louwers <bart@emeel.net>

Add check if flag is set


# b3159774 11-Apr-2020 Bart Louwers <bart@emeel.net>

Add 'exclude' option


# df1d74c6 29-Jun-2016 Michael Grosse <grosse@cosmocode.de>

Hide section edit buttons if flag noeditbtn is set

SPR-512, closes #145 on GitHub


# 22752482 17-Jan-2016 LarsDW223 <lars_paulsen@web.de>

Also query section IDs for format 'odt', not only for 'xhtml'. Fixes #182.


# 4aa23dc0 05-Nov-2014 Gerrit Uitslag <klapinklapin@gmail.com>

fixes signature strict notices


# 8611cb4c 24-Nov-2013 Michael Hamann <michael@content-space.de>

Fix PHP strict warnings


# b0c45c90 20-Feb-2013 Michael Hamann <michael@content-space.de>

Adjust internal links to be local if the target page is included

This changes internal links in included pages whose target page is
included into links to the target page. This only works for xhtml

Adjust internal links to be local if the target page is included

This changes internal links in included pages whose target page is
included into links to the target page. This only works for xhtml output
with additional support for the dw2pdf plugin, other output formats are
not affected by this change.

show more ...


# df062bd2 28-Nov-2012 Michael Hamann <michael@content-space.de>

Add (r)sort and order flags for namespace includes #96 #61

This adds the following ordering criterias:
- page ID (current behavior, default)
- title
- date created
- date modified
- indexmenu sort t

Add (r)sort and order flags for namespace includes #96 #61

This adds the following ordering criterias:
- page ID (current behavior, default)
- title
- date created
- date modified
- indexmenu sort tag metadata
- include plugin sort tag metadata (new syntax: {{include_n>[number]}})

When the rsort flag is set, the ordering will be reversed. Both flags
are available as configuration option, too.

show more ...


# ff4c1966 28-Nov-2012 Michael Hamann <michael@content-space.de>

Add 'depth' flag and option for the maximum depth of namespace includes

The default is 1, i.e. the former behavior, 0 allows unlimited depth.


# d34e85a5 02-Oct-2012 Michael Hamann <michael@content-space.de>

Add PHPDoc comments and variable definitions to the include syntax part

Conflicts:
syntax/include.php


# 67e87481 02-Sep-2012 Michael Hamann <michael@content-space.de>

Write relation haspart metadata

On https://www.dokuwiki.org/devel:metadata it has been documented that
the include plugin writes the relation haspart metadata, with this
change it actually writes it.


# 5534e4eb 21-Jan-2011 Michael Hamann <michael@content-space.de>

Use sectionID() only when a section is given. Closes #67 and closes #66

The problem was that sectionID() when NULL is given as parameter returns
'section' which leads to strange links in headings an

Use sectionID() only when a section is given. Closes #67 and closes #66

The problem was that sectionID() when NULL is given as parameter returns
'section' which leads to strange links in headings and empty headings
also get 'section' as id so they are selected when the whole page is
included. Please upgrade and purge the cache (at least for the pages
where the bug occurs).

show more ...


# 7475482b 02-Jan-2011 Michael Hamann <michael@content-space.de>

Use sectionID instead of cleanID for sections. Closes #62

Now the internal section ids that are compared should match the ones
that are displayed in the url so the ids from the url can be used
inste

Use sectionID instead of cleanID for sections. Closes #62

Now the internal section ids that are compared should match the ones
that are displayed in the url so the ids from the url can be used
instead of the original title in all cases and even when the title is
not unique you can select the section by appending a number in the same
way it is done in urls (but note that included headers are not seen in
the include plugin so for nested includes the appended numbers might
differ).

show more ...


# b11b2b9d 01-Jan-2011 Michael Hamann <michael@content-space.de>

Fix detection of inline_content parameter

An empty inline_content parameter set the inline_content value of the
metadata to false although the content has been displayed. This should
fix caching for

Fix detection of inline_content parameter

An empty inline_content parameter set the inline_content value of the
metadata to false although the content has been displayed. This should
fix caching for the inline_content flag.

show more ...


# 12092bce 31-Dec-2010 Michael Hamann <michael@content-space.de>

Add linkonly option for displaying a link instead of the content

This commit adds a linkonly option that makes the include plugin behave
like internal links except that each link is wrapped inside a

Add linkonly option for displaying a link instead of the content

This commit adds a linkonly option that makes the include plugin behave
like internal links except that each link is wrapped inside a paragraph.
When the url parameter "include_content" is set, all includes are
displayed as full includes. This makes it possible to have a page with a
list of a lot of pages as table of contents and then to export all these
pages as single large document with setting that url parameter. This is
useful for creating things like books or larger documentations.
This feature has been requested and sponsored by Jörg Ferlein.

show more ...


# 6db19c84 31-Dec-2010 Michael Hamann <michael@content-space.de>

Add relation references metadata for backlinks

With this addition included pages are also listed under backlinks (with
the problems backlinks currently have).


# 560e27a0 19-Dec-2010 Michael Hamann <michael@content-space.de>

Detect and remove persistent metadata created by previous versions

Previous versions of the include plugin created persistent metadata, now
that metadata is detected and removed when the page is ren

Detect and remove persistent metadata created by previous versions

Previous versions of the include plugin created persistent metadata, now
that metadata is detected and removed when the page is rendered.

show more ...


# d5b0d6ce 19-Dec-2010 Michael Hamann <michael@content-space.de>

Use compact instead of a full array declaration


# fa08f439 19-Dec-2010 Michael Hamann <michael@content-space.de>

Move the section edit recognition into the helper/wrap syntax


12