phy25 opened a new pull request at
We don't want to split the URL to highlight the "query", especially when q is
the URL of the page itself - e.g. Google Form's redirect
This will also ignore queries like `syntax site:https://www.dokuwiki.org` but
it should be fine. Just don't want to use a full parser here.
This fixes #2848. I also added tests and removed a legacy workaround for PHP
5.3 in the function.
Please help us to review this pull request, so new contributors get feedback in
a timely manner.
DokuWiki mailing list - more info at