History log of /plugin/simplenavi/syntax.php (Results 1 – 25 of 32)
Revision Date Author Comments
# ac8a200f 02-Feb-2026 Andreas Gohr <gohr@cosmocode.de>

use sitemap index compatible classes

This reenabled the default styling as used in older releases.

fixes #47


# a2e56777 22-May-2025 Andreas Gohr <gohr@cosmocode.de>

do not show hidden pages


# 10f2bde6 03-Apr-2025 Andreas Gohr <andi@splitbrain.org>

fix filter option


# ea3588fb 03-Apr-2025 Andreas Gohr (aider) <andi@splitbrain.org>

fix: Handle empty parent case in isParent method


# 8a3822ef 02-Apr-2025 Andreas Gohr <andi@splitbrain.org>

add the peek option

This replaces the handling of the sneakyindex mechanism by being more
clever.


# 4c5e7fe5 02-Apr-2025 Andreas Gohr <andi@splitbrain.org>

revamp config options and tests


# ba73b2c8 02-Apr-2025 Andreas Gohr <andi@splitbrain.org>

first go at rewrite using the TreeBuilder


# 3e558610 13-Nov-2023 Andreas Gohr <andi@splitbrain.org>

code cleanup


# 7ea29372 13-Nov-2023 Andreas Gohr <andi@splitbrain.org>

avoid arrow function for php 7.2 compatibility


# d418c031 13-Nov-2023 Andreas Gohr <andi@splitbrain.org>

added home parameter

This wraps the entire tree under the start page of the selected
namespace.


# 74c26ce5 28-Aug-2023 Andreas Gohr <andi@splitbrain.org>

abort early if no items found


# e58e2f72 03-Aug-2023 Andreas Gohr <andi@splitbrain.org>

added option to sort namespaces before other pages


# e75a33bf 20-Jul-2023 Andreas Gohr <andi@splitbrain.org>

Refactor item gathering and sorting

This fixes the broken sort by title mechanism


# 660b56c3 09-Jan-2023 Andreas Gohr <andi@splitbrain.org>

when using sneakyindex, check ACLs agains the namespace's start page


# 5655937a 09-Jan-2023 Andreas Gohr <andi@splitbrain.org>

allow relative namespaces (starting with a dot)


# b3e02951 03-Jan-2023 Andreas Gohr <andi@splitbrain.org>

new top level filter mechanism

Adding the option filter to the syntax adds a mechanism to filter the
list at the top level. The current filter is preserved through
navigation via session storage.


# d8ce5486 03-Jan-2023 Andreas Gohr <andi@splitbrain.org>

code cleanup


# 303e1405 27-Aug-2017 Michael Große <mic.grosse@googlemail.com>

fix: check for unset variables to fix PHP Notices

While DokuWiki by default suppresses PHP Notices, they are still bad
style and we should not trigger them.


# daf2dc98 15-Jul-2016 Oliver <igittigitt@users.noreply.github.com>

Update syntax.php

Stolen and slightly modified from unmerged pullrequest of "sinky"


# 2122c0d0 07-Jan-2015 Michael Große <grosse@cosmocode.de>

Change from preg_replace to faster str_replace


# c7bf8c86 12-Nov-2014 Michael Große <mic.grosse+github@googlemail.com>

Adjust the signature of handle and render


# c9936b5b 12-Nov-2014 Michael Große <mic.grosse+github@googlemail.com>

Fix position of subpages in ascii sorting

Since colons come in the ascii table after numbers, there was some
unintended sorting with multiple namespaces, which only differed by
unindented numbers at

Fix position of subpages in ascii sorting

Since colons come in the ascii table after numbers, there was some
unintended sorting with multiple namespaces, which only differed by
unindented numbers at the end. Replacing the colons with the '/' which
is in front of the numbers in the ascii table solved the problem.

Add a test for this.

Known possible issue: pages are not sorted after namespaces.

show more ...


# 306670ae 12-Nov-2014 Michael Große <mic.grosse+github@googlemail.com>

Fix search function call


# db559ff9 12-Nov-2014 Michael Große <mic.grosse+github@googlemail.com>

Add option for natural sorting and make it default

The search(...) function creates per default a natural sorted array.
This behaviour is now enforced by adding an explicit 'natural'
parameter. Sort

Add option for natural sorting and make it default

The search(...) function creates per default a natural sorted array.
This behaviour is now enforced by adding an explicit 'natural'
parameter. Sorting by the ascii table in now an option in the config
menu.

Add files for the configuration and add a test for the 'natural'
sorting.

However the ascii sorting is still broken and will be fixed in a later
commit. Currently the pages of an open namespace are not always below
the open namespace but below another one.

show more ...


# 489d7cb7 31-Jan-2014 lainme <lainme993@gmail.com>

safer string replacement in comparison


12