indexmenu icon indicating copy to clipboard operation
indexmenu copied to clipboard

Feature request: filter root-level pages only (nopg behavior)

Open Alphawolf-Fangy opened this issue 7 months ago • 2 comments

Hello,

I have a question regarding the nopg parameter in indexmenu. Currently, nopg hides all pages inside namespaces. However, what I actually need is the ability to filter root-level pages only, while still displaying pages that are inside a namespace.

For example:

example.org/wiki/Info.txt → should be hidden (root-level page)

example.org/wiki/Namespace:Info.txt → both the namespace and the page should be shown

Is there currently a way to achieve this with indexmenu? If not, would you consider adding such an option in a future release?

Thank you very much for your work on this plugin!

Alphawolf-Fangy avatar Sep 04 '25 19:09 Alphawolf-Fangy

Adding #1 opens only one level. Is that what you search?

I think I do not understand your question. Could give an example syntax that approaches your desired situation the most? Your example explained seems about showing content of a namespace?

Could explain the user scenario? I prefer to understand beter before considering new solutions.

Klap-in avatar Sep 08 '25 21:09 Klap-in

Here is my wiki: https://wolfbbs.net/wiki And here is the example I wish it be. ---> https://iili.io/KajJPI9.jpg

I put more and more articles at root because of SEO. Thanks.

Alphawolf-Fangy avatar Sep 22 '25 16:09 Alphawolf-Fangy