For sure. Here it is. I only hacked it in for now, so it's not in the unified diff form preferred by GitHub.
< echo '<li>' . html_wikilink(':'.$id,$name) . '</li>';
> $page_location = implode(' » ', explode(':',$id));
> echo '<li><span class="qsearch_namespace">' . $page_location .'</span><br />' . html_wikilink(':'.$id,$name) . '</li>';
Not sure about my use of » since it might end up looking more like breadcrumbs that way. On my production wiki I replaced the first line above with:
$page_location = implode('/', explode(':',$id));
so that it matches the directory structure seen in the URLs. I have useslash
switched on on my wikis, but any eventual submission to GitHub should probably take useslash into account.
Should also note that anyone well-versed in CSS/web design will probably have a much better way of doing this. I'm presenting this as a hack that does more or less what I want it to, but it may not be great design. For one thing, it would be nice if the whole <li> was a link to the page, so that the user doesn't have to click only on the link. I'll try to get that done this week.