Topic on Project:Support desk

I see search results page instead of article

24
Supasaru (talkcontribs)

I've recently upgraded from MediaWiki 1.22 to 1.23, and I notice now that when I type in a search term, I always see a search results page, even if there is an article that matches the name.

  • Before, if I typed "XYZ" and if there is an article named "XYZ", the system displayed that article right away.
  • Now, I get a results page that says "There is a page named XYZ on this wiki", lists that page and then a bunch of other pages that link to it.

Is there a setting that's changed that I'm not aware of? Can somebody point me in the right direction?

Thanks!

88.130.122.13 (talkcontribs)

I have the same behaviour, I find it annoying, but since it worked before and there anyway are obviously no efforts to change this, I fear some people might even think that's intended.

Florianschmidtwelzow (talkcontribs)

In my opinion that's the best way to handle this (but, like i said, that's my personal opinion). What is, if i want to search for the string "XYZ" in other articles? There is only one button "search", not like in past a button for "full article" and "search".

88.130.96.131 (talkcontribs)

Click on "containing XYZ" and you will be brought to the search page. The fact that hitting enter opens the search, although a page with exactly this name is present, is really confusing. Afterwards I always have to click the page name as if MediaWiki was asking me, if I really meant my search serious. This change lowers user experience. Or is there an option, which I could set to work around that bug?

Supasaru (talkcontribs)

Wikipedia, the biggest user of the MediaWiki software (if I'm not mistaken) continues to bring you directly to page XYZ, and not a search results page.

This leads me to believe there's a setting somewhere, but where? Anybody have an idea?

88.130.96.131 (talkcontribs)

I could not believe that, but you are right: While on Wikipedia this works correctly, it is broken e.g. on a system of mine (running MW 1.23.1). I also want to know, how I can fix this for my system!

There is no fitting documentation at Manual:Configuration_settings#Search

Florianschmidtwelzow (talkcontribs)

Ähm, yeah :) I have tested it now with Vector skin on my private wiki (which is running 1.24wmf12), and if i search for a page which exist, i will be redirected to this, not to the search result page. In my custom skin i will be redirected to the search result page ever, so do you use a custom skin? Then you must change the search button from fulltext to go :)

88.130.76.198 (talkcontribs)

Yes, I do use a custom skin. I still remember how I put a comment in my skin file at the place, where the MediaWiki devs changed the display of the search buttons, because I couldn't get it to work properly for me: The display of the buttons alwaysgot messed up, so I decided to leave them both for now. But does that (the presence of two instead of one button) also influence what happens when I hit enter (because that is where I see the problem and where it annoys me most)?

Supasaru (talkcontribs)

I'm using Vector with no custom skinning, so I don't understand what's causing a search results page to appear.

Supasaru (talkcontribs)

Does anybody have any answers to this?

Chantoune (talkcontribs)

I have also the version 1.23.2 and when I type XYZ in research I have a list with the 2 possibilities if the page exists

first line : XYZ second line : "including XYZ" They apperas when I move the mousse

But don't clic on the glass

Supasaru (talkcontribs)

Bump

I continue to experience this "bug." Does anybody know the cause?

Ciencia Al Poder (talkcontribs)

Is your wiki publicly accessible so we can look what's doing?

Supasaru (talkcontribs)

Sorry - no, it isn't.

Is there anything you'd like me send show you? Screenshots? Excerpt from LocalSettings.php?

Ciencia Al Poder (talkcontribs)

Describe how do you submit the search form:

  • Pressing the enter key when inside the search box
  • Click on the search button
  • Another option?

Post an example search results page URL.

Supasaru (talkcontribs)

¡Hola Ciencia al poder!

URL of the search page: http://localhost/index.php?title=Special%3ASearch&profile=all&search=Travel+checklist&fulltext=Search

I have typed the search query and hit Enter, and I've also clicked on the magnifying glass within the search box. I don't see another option to click / type.

Here is a screenshot of the search results page.

Thanks in advance for your help.

(I apologize for taking this long to reply. My MySQL server went kaput, and it took me a while to get it back going.)

Ciencia Al Poder (talkcontribs)

If your wiki is 1.23, how can it be possible that your sidebar has the expand/collapse arrow? It was removed AFAIK

Supasaru (talkcontribs)

I'm not totally sure about the difference in MediaWiki versions (I've just started getting involved in this software), but here's what my Special:Version page says.

Installed software

I've got the Parser Functions extension running, and the skin that all users are running is Vector.

I don't know if I can answer your question about the reason the sidebar looks the way it does.

Ciencia Al Poder (talkcontribs)

Oh, sorry, I though that was removed for some reason, but it isn't.

I don't know what could be causing this, really.

Supasaru (talkcontribs)

I noticed that in the URL I provided above, it's a little different from what I see on Wikipedia. (The search is very fast on Wikipedia, but if you're watching, you'll see that the URL has &go=Go appended to the end. ) Mine doesn't have that.

Is this what's making the difference? I tried adding this query string to the URL and hitting enter, and I still see only a search results page.

Does this offer a clue?

Florianschmidtwelzow (talkcontribs)

You have to replace "fulltext" with "go" ;) That is the reason for this behavior. Fulltext means "always to search result page", and Go means " go to page, if query matches title, or go to search result page".

Just an idea, have you set $wgVectorUseSimpleSearch to false in your LocalSettings.php?

Supasaru (talkcontribs)

Hi Florianschmidtwelzow.

I think we're onto something. I don't have $wgVectorUseSimpleSearch in my LocalSettings.php file. (Just for fun, I added it and set it to true and that didn't work.)

I manually removed &fulltext=search with &go=Go in my browser's address bar, and that worked - I landed directly on the page.

Now, why did my wiki stop doing this on its own when I upgraded? What do I change to make it do that again?

Supasaru (talkcontribs)

 Bump! 

Does anybody think this has to do with the Vector skin?

I've just upgraded to 1.23.3, and I'm still having the same problem using Vector. Monobook brings me directly to the article page when I use the search.

Supasaru (talkcontribs)

I thought I'd try bumping one or two more times, and see if anybody has an idea as to what's going on.

Reply to "I see search results page instead of article"