Skip to content

hidestart does to much #38

Description

@geekitude

Hi

IMHO, hidestart option removes too much stuff...

Here's the query I use:
{{pagequery>*;
sort=ns:asc,name:asc;
group;
cols=5;
proper;
border;
snippet;
hidejump;
bullet=square;
layout=column;
filter=!ns:(user);
}}

And here's the result:

    [start] (without any link)
        start (link to wiki start page)
    Namespace1 (link to namespace1:start)
        start (link to namespace1:start)
    Namespace2 (link to namespace2:start)
        start (link to namespace2:start)
        Page 1
        Page 2

Here's what I get if I add "hidestart":
Namespace2 (link to namespace2:start)

    start (link to namespace2:start)
        Page 1
        Page 2

My thoughts are:

  • if the wiki root is within the query range, it shouldn't be hidden by hidestart (or maybe by a new "hideroot")
  • if not hidden, the wiki root element should allways have a link to wiki start page
  • if a namespace only contains a start page, it shouldn't be hidden by "hidestart"

I found a workaround with a dirty hack of syntax.php but it's too ugly to propose a pull request (looping through $sorted_results).

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions