wiki:插件语法:indexmenu
差别
这里会显示出您选择的修订版和当前版本之间的差别。
| 两侧同时换到之前的修订记录前一修订版后一修订版 | 前一修订版 | ||
| wiki:插件语法:indexmenu [2026/10/13 22:06] – 外部编辑 127.0.0.1 | wiki:插件语法:indexmenu [2026/10/15 21:29] (当前版本) – 外部编辑 127.0.0.1 | ||
|---|---|---|---|
| 行 16: | 行 16: | ||
| downloadurl: | downloadurl: | ||
| donationurl: | donationurl: | ||
| - | ---- | + | --- |
| - | + | ^ :!: If you use the Indexmenu' | |
| - | ^ :!: If you use the Indexmenu' | + | |
| This plugin allows you to insert a fully customizable index or a list of pages starting from a specified namespace. | This plugin allows you to insert a fully customizable index or a list of pages starting from a specified namespace. | ||
| - | It should be useful in DokuWiki sites where pages are organized by [namespaces](:namespaces). | + | It should be useful in DokuWiki sites where pages are organized by [namespaces](namespaces). |
| Main features are: | Main features are: | ||
| * Fully customizable with a lot of [flexible options](.: | * Fully customizable with a lot of [flexible options](.: | ||
| 行 34: | 行 33: | ||
| * Hide namespaces/ | * Hide namespaces/ | ||
| - | Themed indexmenu based on the Javascript index builder:\\ | + | Themed indexmenu based on the Javascript index builder:\ |
| - | %%**` and this `**%%![indexmenu> | + | That means this `**%%{{indexmenu}}%%**` and this `**%%{{indexmenu> |
| **Basic syntax usage:** | **Basic syntax usage:** | ||
| - | ^ Main ^ Options | + | |
| - | | **%%{{%%indexmenu> | + | | Main | Options |
| + | | --- | --- | | ||
| + | | **%%{{%%indexmenu> | ||
| Arguments inside `[]` parenthesis are optional. The `#` char is always required with related options. | Arguments inside `[]` parenthesis are optional. The `#` char is always required with related options. | ||
| - | :!: All the syntax options can be easily accessed with the indexmenu picker in the [edit window](:edit window) [toolbar](:toolbar). | + | :!: All the syntax options can be easily accessed with the indexmenu picker in the [edit window](edit window) [toolbar](toolbar). |
| ## Full syntax | ## Full syntax | ||
| Settings **before the " | Settings **before the " | ||
| - | ^Main ^Action | + | |
| - | ^ //'' | + | | Main | Action |
| - | ^ //'' | + | | --- | --- | --- | |
| - | ^ //'' | + | | _`ns`_ | _**Main namespace**_ name. Index starts from here. Syntax complies with DokuWiki [namespaces](namespaces# |
| + | | _`#n`_ | **n** is a number that specifies how many namespace levels to display open under the _**main namespace**_. | If it's not defined then the whole tree, till the deeper node, will be open. If `_0_` or `_1_` it'll display only nodes under the main namespace. For example: "# | ||
| + | | _`ns1[#n] %%...%% nsn[#n]`_ | A list _**of optional namespaces**_ inside the _**main namespace**_. Every namespace will be opened or closed at the specified | ||
| Optional settings **after the " | Optional settings **after the " | ||
| - | ^Option | + | |
| - | ^ '' | + | | Option |
| - | ^ //'' | + | | --- | --- | --- | |
| - | | Next options are available with or without _**js**_ option. ||| | + | | `js` undo: `nojs` | JavaScript render method: the index is an expandable tree menu. Without the `js` option DokuWikis index renderer is used | Without |
| - | ^ '' | + | | _`#theme`_ undo: `#default` | Theme name for indexmenu icons | A theme is a set of icons inside |
| - | ^ '' | + | | Next options are available with or without _**js**_ option. | | | |
| - | ^ '' | + | | `navbar` undo: `nonavbar` | The tree opens itself automatically at the current page namespace. Useful in a navigation sidebar. | Without |
| - | ^ '' | + | | `context` |
| - | ^ '' | + | | `tsort` undo: `notsort` | Sort (only) pages by title. | Useful when [useheading](config: |
| - | ^ '' | + | | `dsort` undo: `nodsort` | Sort (only) pages by date creation (first the oldest). | By default namespaces are **not** sorted, you need the **_nsort_** option for this. | |
| - | ^ '' | + | | `msort[# |
| - | ^ '' | + | | `hsort` undo: `nohsort` | Sort the headpages as defined by config setting [startpage](config: |
| - | ^ '' | + | | `rsort` undo: `norsort` | Reverse the sorting of pages (change between ascending and descending). | By default namespaces are **not** sorted, you need the **_nsort_** option for this. | |
| - | ^ '' | + | | `nsort` undo: `nonsort` | Also sort namespaces according to page sort options but grouped separately. | To use in _addition_ |
| - | ^ '' | + | | `nons` undo: `ns` | Exclude namespaces nodes from index. It shows only the pages. | Without **_js_**, the closing **_n_** namespace option prevents to display nodes below the **_n_** namespace level. | |
| - | ^ '' | + | | `nopg` |
| - | | Next options are _only_ available with _**js**_ option. ||| | + | | `skipfile[+\|=]/regexp/` | Skip files matching the regexp. | `skipfile**+**/ |
| - | ^ '' | + | | `skipns[+\|=]/regexp/` | Skip namespaces matching the regexp. | Just like skipfile, but [namespaces](# |
| - | ^ '' | + | | Next options are _only_ available with _**js**_ option. | | | |
| - | ^ '' | + | | `max#n`*`[#m]`* undo: `nomax` | If initially closed, the node at _**n**_ level will retrieve all its child nodes through the AJAX mechanism when opened for the first time. Optionally, the nodes after the _**n**_ level can be retrieved with AJAX every _**m**_ sublevels instead of in one go. | It affects the server loading and speeds up the loading of pages in DokuWiki with an high amount of pages. It works only in _**js**_. Cookie are automatically disabled, just like with _**nocookie**_. | |
| - | ^ '' | + | | `maxjs#_n_` |
| - | ^ '' | + | | `id#[random\|ns\|_number_]` undo: `id#random` | [Cookie](https:// |
| - | ^ '' | + | | `nocookie` |
| - | ^ '' | + | | `noscroll` undo: `scroll` | Disable the JavaScript scrolling feature when it doesn' |
| + | | `notoc` | ||
| + | | `nomenu` | ||
| ## Examples | ## Examples | ||
| A sample of an indexmenu JS index that could be used inside a navigation sidebar. Its initial status is blocked by the nocookie option, so, when the page is reloaded, it doesn' | A sample of an indexmenu JS index that could be used inside a navigation sidebar. Its initial status is blocked by the nocookie option, so, when the page is reloaded, it doesn' | ||
| - | < | + | |
| + | ``` | ||
| {{indexmenu> | {{indexmenu> | ||
| - | </ | + | ``` |
| JS navigation index with " | JS navigation index with " | ||
| - | < | + | |
| + | ``` | ||
| {{indexmenu> | {{indexmenu> | ||
| - | </ | + | ``` |
| Standard DokuWiki index showing only pages inside wiki: | Standard DokuWiki index showing only pages inside wiki: | ||
| - | < | + | |
| + | ``` | ||
| {{indexmenu>: | {{indexmenu>: | ||
| - | </ | + | ``` |
| Js tree showing pages and namespaces both sorted by reverse title. For example,if " | Js tree showing pages and namespaces both sorted by reverse title. For example,if " | ||
| - | < | + | |
| + | ``` | ||
| {{indexmenu>: | {{indexmenu>: | ||
| - | </ | + | ``` |
| Standard index showing the tree of the current context ((the namespace of the page displayed by a user who is navigating your site)) opened at the second level . | Standard index showing the tree of the current context ((the namespace of the page displayed by a user who is navigating your site)) opened at the second level . | ||
| - | < | + | |
| + | ``` | ||
| {{indexmenu> | {{indexmenu> | ||
| - | </ | + | ``` |
| Show all current namespace pages . | Show all current namespace pages . | ||
| - | < | + | |
| + | ``` | ||
| {{indexmenu> | {{indexmenu> | ||
| - | </ | + | ``` |
| JS tree showing all (and only) the namespaces of the " | JS tree showing all (and only) the namespaces of the " | ||
| - | < | + | |
| + | ``` | ||
| {{indexmenu> | {{indexmenu> | ||
| - | </ | + | ``` |
| ### Metadata tag syntax | ### Metadata tag syntax | ||
| By default nodes on the same tree level are sorted by name (or by title/date if you use the tsort/dsort syntax), but you can also specify a custom sort number for every page inserting a metadata tag in the pages with this syntax: | By default nodes on the same tree level are sorted by name (or by title/date if you use the tsort/dsort syntax), but you can also specify a custom sort number for every page inserting a metadata tag in the pages with this syntax: | ||
| - | < | + | |
| + | ``` | ||
| {{indexmenu_n> | {{indexmenu_n> | ||
| - | </ | + | ``` |
| Where `N` is a number. | Where `N` is a number. | ||
| 行 160: | 行 183: | ||
| You can change the order of this tree containing a mix of standard and [useheading](config: | You can change the order of this tree containing a mix of standard and [useheading](config: | ||
| - | < | + | |
| + | ~~~ | ||
| -Root | -Root | ||
| |_don | |_don | ||
| 行 168: | 行 192: | ||
| |_van | |_van | ||
| |_vliet | |_vliet | ||
| - | </ | + | ~~~ |
| in this way: | in this way: | ||
| - | < | + | |
| + | ``` | ||
| {{indexmenu> | {{indexmenu> | ||
| - | </ | + | ``` |
| - | < | + | |
| + | |||
| + | ~~~ | ||
| -Root | -Root | ||
| |_vliet | |_vliet | ||
| 行 182: | 行 210: | ||
| |_pachuco | |_pachuco | ||
| |_At the radar station | |_At the radar station | ||
| - | </ | + | ~~~ |
| Pages without sort number, like the last three pages, are sorted by page name as default, but you can force a different sort: | Pages without sort number, like the last three pages, are sorted by page name as default, but you can force a different sort: | ||
| - | < | + | |
| + | ``` | ||
| {{indexmenu> | {{indexmenu> | ||
| - | </ | + | ``` |
| - | < | + | |
| + | |||
| + | ~~~ | ||
| -Root | -Root | ||
| |_vliet | |_vliet | ||
| 行 196: | 行 228: | ||
| |_Mirror sessions | |_Mirror sessions | ||
| |_pachuco | |_pachuco | ||
| - | </ | + | ~~~ |
| 行 235: | 行 268: | ||
| You can choose a name for the page from which retrieve the title or use a self defined value: | You can choose a name for the page from which retrieve the title or use a self defined value: | ||
| - | ^Value ^Page ^Example | + | |
| - | |**any value** | The page inside the namespace | public(ns): | + | | Value | Page | Example |
| - | |**: | + | | --- | --- | --- | |
| - | |**:same:** | a page with the same name of namespace, at the same level of the namespace | public(page) <=> public(ns) | | + | | **any value** | The page inside the namespace | public(ns): |
| - | |**: | + | | **: |
| + | | **:same:** | a page with the same name of namespace, at the same level of the namespace | public(page) <=> public(ns) | | ||
| + | | **:start:** | the global [start](config: | ||
| You can specify more than one option using "," | You can specify more than one option using "," | ||
| 行 248: | 行 283: | ||
| ### Page index | ### Page index | ||
| - | When this option is not empty, the DokuWiki default [index](:index) page is replaced with a custom page, which you can fill yourself. For example you can add the indexmenu tree of your site. | + | When this option is not empty, the DokuWiki default [index](index) page is replaced with a custom page, which you can fill yourself. For example you can add the indexmenu tree of your site. |
| Set this option with a DokuWiki page ID (i.e: `tools: | Set this option with a DokuWiki page ID (i.e: `tools: | ||
| - | < | + | |
| + | ``` | ||
| {{indexmenu> | {{indexmenu> | ||
| - | </ | + | ``` |
| or | or | ||
| - | < | + | |
| + | ``` | ||
| {{indexmenu> | {{indexmenu> | ||
| - | </ | + | ``` |
| You may also want to hide this page in any indexmenu trees with the [skip files in index](.: | You may also want to hide this page in any indexmenu trees with the [skip files in index](.: | ||
| 行 264: | 行 303: | ||
| You can show a custom message in place of the menu tree if it can not be rendered (i.e namespace doesn' | You can show a custom message in place of the menu tree if it can not be rendered (i.e namespace doesn' | ||
| - | The alias **%%%%** is a shortcut for the requested namespace. | + | The alias **%%{{ns}}%%** is a shortcut for the requested namespace. |
| Message supports the wiki syntax, so it's fully customizable. Don't use HTML code. | Message supports the wiki syntax, so it's fully customizable. Don't use HTML code. | ||
| 行 272: | 行 311: | ||
| The configuration setting `skip_index` let you globally hide namespaces (and their pages) in your indexmenu trees. | The configuration setting `skip_index` let you globally hide namespaces (and their pages) in your indexmenu trees. | ||
| - | Just fill this option with the ids of namespaces to skip using [Regular Expression](http:// | + | Just fill this option with the ids of namespaces to skip using [Regular Expression](http:// |
| :!: Till V4.5, a namespaces full path has to be declared as a file system path (i.e.: " | :!: Till V4.5, a namespaces full path has to be declared as a file system path (i.e.: " | ||
| There are also some issues [About empty namespaces](.: | There are also some issues [About empty namespaces](.: | ||
| - | **Simple examples:**\\ | + | **Simple examples: |
| Skip any namespace whose ID contains the word `copyright` or `privatens: | Skip any namespace whose ID contains the word `copyright` or `privatens: | ||
| - | < | + | |
| + | ``` | ||
| / | / | ||
| - | </ | + | ``` |
| Skip the namespace whose ID is exactly `myusers: | Skip the namespace whose ID is exactly `myusers: | ||
| - | < | + | |
| + | ``` | ||
| / | / | ||
| - | </ | + | ``` |
| ### Skip Files in index | ### Skip Files in index | ||
| This configuration option `skip_file` let you to globally hide one or more pages in your indexmenu trees. | This configuration option `skip_file` let you to globally hide one or more pages in your indexmenu trees. | ||
| - | Just fill this option with the ids of pages to skip using [Regular Expression](http:// | + | Just fill this option with the ids of pages to skip using [Regular Expression](http:// |
| :!: Till v4.5, pages are checked as DokuWiki text files (i.e.: start.txt). A page full path have to be declared as a file system path (i.e.: " | :!: Till v4.5, pages are checked as DokuWiki text files (i.e.: start.txt). A page full path have to be declared as a file system path (i.e.: " | ||
| 行 303: | 行 346: | ||
| # How to install | # How to install | ||
| - | Search and install the plugin using the [Extension Manager](plugin: | + | Search and install the plugin using the [Extension Manager](plugin: |
| Alternative download link: http:// | Alternative download link: http:// | ||
| 行 343: | 行 386: | ||
| * **2009-08-29 Version 4.6**: | * **2009-08-29 Version 4.6**: | ||
| - | * :!: _New Feature_: Namespace declaration complies with DokuWiki [namespaces](:namespaces# | + | * :!: _New Feature_: Namespace declaration complies with DokuWiki [namespaces](namespaces# |
| * _New Feature_: Added the _context_ option. It resolves relative requested namespaces starting from the current user location instead of the page containing the indexmenu syntax. | * _New Feature_: Added the _context_ option. It resolves relative requested namespaces starting from the current user location instead of the page containing the indexmenu syntax. | ||
| * :!: _New Feature_: Changed skip_file and skip_index syntax to use DokuWiki ID instead of system paths. Thanks to Dmitry Katsubo. | * :!: _New Feature_: Changed skip_file and skip_index syntax to use DokuWiki ID instead of system paths. Thanks to Dmitry Katsubo. | ||
| 行 378: | 行 421: | ||
| Simply create a subdirectory, | Simply create a subdirectory, | ||
| - | ^ Icon ^ Type | + | |
| - | | base.gif | + | | Icon | Type | Example: theme ' |
| - | | folderopen.gif | + | | --- | --- | --- | |
| - | | folder.gif | + | | base.gif | Root Folder |  |  | ; | ); | ||
| - | </ | + | ``` |
| * Removing menu entry: | * Removing menu entry: | ||
| * Override with empty array: `[]` | * Override with empty array: `[]` | ||
| 行 433: | 行 482: | ||
| * `entryDescriptionArray` - array with description of a menu entry | * `entryDescriptionArray` - array with description of a menu entry | ||
| - | **How to write utf8 chars, like èåäö, in the context menu file?**\\ | + | **How to write utf8 chars, like èåäö, in the context menu file?**\ |
| A solution is to encode them yourself: Find your char at http:// | A solution is to encode them yourself: Find your char at http:// | ||
| - | ------ | + | --- |
| In the releases _before April_ 2013, you could fully customize those menus by editing these files in the ' | In the releases _before April_ 2013, you could fully customize those menus by editing these files in the ' | ||
| - | ^File ^Loaded by^ | + | |
| - | |" | + | | File | Loaded by | |
| - | |" | + | | --- | --- | |
| - | |" | + | | " |
| + | | " | ||
| + | | " | ||
| And to prevent to load the context menu, simply remove the indexmenu_contextmenu variable declared in the above menu files. | And to prevent to load the context menu, simply remove the indexmenu_contextmenu variable declared in the above menu files. | ||
| 行 452: | 行 503: | ||
| Some styles are: | Some styles are: | ||
| - | ^Tag ^Comment | + | |
| - | |a.nodeFdUrl | + | | Tag | Comment |
| - | |a.node | + | | --- | --- | --- | |
| - | |a.nodeUrl | + | | a.nodeFdUrl | Namespace with URL link (headpage) | js | |
| - | |a.nodeSel | + | | a.node | Namespace without URL link | js | |
| - | |a.navSel | + | | a.nodeUrl | Page | js | |
| - | |a.indexmenu_idx_head |link style of a namespace with URL (headpage) | + | | a.nodeSel | Previous selected page or headpage highlight | js | |
| - | |a.indexmenu_idx | + | | a.navSel | Current page highlight | js | |
| - | |.indexmenu_arrow | + | | a.indexmenu_idx_head | link style of a namespace with URL (headpage) | nojs | |
| - | |.indexmenu_toc | + | | a.indexmenu_idx | link style of a namespace without URL | nojs | |
| + | | .indexmenu_arrow | The scrolling arrow area | js | | ||
| + | | .indexmenu_toc | The toc-preview area | js | | ||
| 行 469: | 行 522: | ||
| FIXME check if this example is still up-to-date. For example you could add for the ' | FIXME check if this example is still up-to-date. For example you could add for the ' | ||
| - | < | + | |
| + | ```css lib/ | ||
| /*Custom style for the thread theme*/ | /*Custom style for the thread theme*/ | ||
| 行 480: | 行 534: | ||
| color: #fff | color: #fff | ||
| } | } | ||
| - | </ | + | ``` |
| Existing example for ' | Existing example for ' | ||
| 行 489: | 行 544: | ||
| # FAQ and Notes | # FAQ and Notes | ||
| ### The tree is not working as expected | ### The tree is not working as expected | ||
| - | * If you installed for the first time the indexmenu plugin or upgraded it from a previous release, it could be merely a cache issue. Example of symptoms are: tree is not displayed (or a static DokuWiki index is displayed in its place), context menu is not working, any new release feature reported in the [changelog](.indexmenu# | + | * If you installed for the first time the indexmenu plugin or upgraded it from a previous release, it could be merely a cache issue. Example of symptoms are: tree is not displayed (or a static DokuWiki index is displayed in its place), context menu is not working, any new release feature reported in the [changelog](.indexmenu# |
| - | * When an updated indexmenu plugin fails in a _2013-05-10 " | + | Try to follow instructions to purge cache described in the [The tree is not displayed](.indexmenu# |
| + | * When an updated indexmenu plugin fails in a _2013-05-10 " | ||
| + | Please check whether all plugins and your theme don't use the old javascript functions. Since the Weatherwax release, these deprecated functions are missing (some plugins still require an update) and will break the javascript rendering.\ | ||
| + | Check for errors:\ | ||
| + | - in console of browser e.g. as part of the Developer toolbar\ | ||
| + | - by disabling all plugins and enabling one by one | ||
| * If you think that indexmenu are still not fitting your needs, be sure to using a correct [syntax](.indexmenu# | * If you think that indexmenu are still not fitting your needs, be sure to using a correct [syntax](.indexmenu# | ||
| * You are sure that the syntax is correct. Perhaps you missed something in this [FAQ and Notes](.indexmenu# | * You are sure that the syntax is correct. Perhaps you missed something in this [FAQ and Notes](.indexmenu# | ||
| 行 503: | 行 563: | ||
| - To have used a correct [syntax](.: | - To have used a correct [syntax](.: | ||
| - To have purged your browser cache. Use `Ctrl + R` or `Ctrl + F5` | - To have purged your browser cache. Use `Ctrl + R` or `Ctrl + F5` | ||
| - | - To have purged server cache following the [purging_the_cache](:caching# | + | - To have purged server cache following the [purging_the_cache](caching# |
| - To have purged CSS and JavaScript as cached by DokuWiki. Go to the Configuration Manager and just resave, to refresh this caching. | - To have purged CSS and JavaScript as cached by DokuWiki. Go to the Configuration Manager and just resave, to refresh this caching. | ||
| - When you try the javascript version of the indexmenu and it fails, please disable all the self-installed plugins check if now works. Nextly, you enable the plugins one-by-one to find the bad one. | - When you try the javascript version of the indexmenu and it fails, please disable all the self-installed plugins check if now works. Nextly, you enable the plugins one-by-one to find the bad one. | ||
| 行 520: | 行 580: | ||
| ### Indexmenu ID conflict | ### Indexmenu ID conflict | ||
| I have in my sidebar the following code | I have in my sidebar the following code | ||
| - | < | + | |
| + | ``` | ||
| {{indexmenu> | {{indexmenu> | ||
| - | </ | + | ``` |
| and I get after saving this message: `Indexmenu ID conflict`. What's wrong? | and I get after saving this message: `Indexmenu ID conflict`. What's wrong? | ||
| 行 533: | 行 595: | ||
| > When you have a sidebar defined a sidebar, but it is used as normal page too e.g. an index page, it is recommended to create a separate page for the index page. A separate page prevents displaying same index twice so they can not conflict anymore. The index page may have the same syntax options as the sidebar, but when you use id with a self defined id# | > When you have a sidebar defined a sidebar, but it is used as normal page too e.g. an index page, it is recommended to create a separate page for the index page. A separate page prevents displaying same index twice so they can not conflict anymore. The index page may have the same syntax options as the sidebar, but when you use id with a self defined id# | ||
| - | >> A workaround to get rid of the warning message, is to use the [Nosidebar plugin](:plugin: | + | >> A workaround to get rid of the warning message, is to use the [Nosidebar plugin](plugin: |
| ### Can I sort the tree nodes (filename or page heading or creation time)? | ### Can I sort the tree nodes (filename or page heading or creation time)? | ||
| 行 548: | 行 610: | ||
| The tree is always immediately updated. So you have not to worry to use %%~~NOCACHE~~%% instruction, | The tree is always immediately updated. So you have not to worry to use %%~~NOCACHE~~%% instruction, | ||
| - | To purge cache either wait for the automatic [purge cache time](config: | + | To purge cache either wait for the automatic [purge cache time](config: |
| 行 575: | 行 637: | ||
| * **Disabled**: | * **Disabled**: | ||
| - | In both cases, unauthorized pages are never showed. There are also some issues [About empty namespaces](.: | + | In both cases, unauthorized pages are never showed. There are also some issues [About empty namespaces](.: |
| This namespace behaviour in presence of ACLs can not be changed until it's not changed in the DokuWiki core itself. | This namespace behaviour in presence of ACLs can not be changed until it's not changed in the DokuWiki core itself. | ||
| Example: | Example: | ||
| - | < | + | |
| + | ``` | ||
| +-Mysite | +-Mysite | ||
| | | ||
| 行 592: | 行 655: | ||
| | | ||
| | | ||
| - | </ | + | ``` |
| **Enabled** will display: | **Enabled** will display: | ||
| - | < | + | |
| + | ``` | ||
| +-Mysite | +-Mysite | ||
| | | ||
| 行 602: | 行 667: | ||
| | | ||
| | | ||
| - | </ | + | ``` |
| **Disabled** will display: | **Disabled** will display: | ||
| - | < | + | |
| + | ``` | ||
| +-Mysite | +-Mysite | ||
| | | ||
| 行 615: | 行 682: | ||
| | | ||
| | | ||
| - | </ | + | ``` |
| 行 628: | 行 696: | ||
| When the `max#nr` option or level of folded nodes are configured and the node has to retrieve its children through the Ajax request, there can appear empty nodes because indexmenu hasn't looked forward and doesn' | When the `max#nr` option or level of folded nodes are configured and the node has to retrieve its children through the Ajax request, there can appear empty nodes because indexmenu hasn't looked forward and doesn' | ||
| - | **Why do you need a sort option to correctly hide empty namespaces? | + | **Why do you need a sort option to correctly hide empty namespaces? |
| When any of the sort options `tsort`, `dsort`, `msort` `nsort` or `hsort` is used indexmenu replaces the faster, but less featured, core DokuWiki search with the slower, but more featured, indexmenu search that filters more empty nodes. | When any of the sort options `tsort`, `dsort`, `msort` `nsort` or `hsort` is used indexmenu replaces the faster, but less featured, core DokuWiki search with the slower, but more featured, indexmenu search that filters more empty nodes. | ||
| - | **Why will sneaky_index hide forbidden namespaces**\\ | + | **Why will sneaky_index hide forbidden namespaces**\ |
| Enabling the `[sneaky_index](config: | Enabling the `[sneaky_index](config: | ||
| ### I'm using " | ### I'm using " | ||
| - | The text used for the nodes in the tree is retrieved from DokuWiki' | + | The text used for the nodes in the tree is retrieved from DokuWiki' |
| 行 648: | 行 716: | ||
| # Discussion | # Discussion | ||
| - | Please, use the [discussion](.: | + | Please, use the [discussion](.: |
| + | Old discussions are archived in the [olddiscussion](.: | ||
wiki/插件语法/indexmenu.1791900372.txt.gz · 最后更改: 由 127.0.0.1
