Last modified: 2008-08-04 04:00:59 UTC
Gentlemen, Google puts the item searched for in the <title>
$ GET http://www.google.com.tw/search?q=bg4wip | perl -nwe 's/.*(<title>)/$1/&&print'
<title>bg4wip - Google</title>
Why of course, how else could one pick different searches out of their browser's history?
Now we turn to MediaWiki. It's just the same
<title>Search results SITENAME<title>, no matter what string you search for.
Done with r26071.
Reverted as it was clearly never tested. Title text is double-escaped, smearing bug ugly " everywhere.
Fixed with r26084.
Reverted again; while now functional, it just plain looks wrong since the text is duplicated between title and subtitle.
Giving up for the moment :-(
Removal of subtitle would be a bad solution too, as it "includes by default a link to the search text as a page and in some live installations has been customized with additional links" (per Brion)
Bug 13708 related.
Another shot at this in r38440. I believe the original poster was referring only to the HTML title, so that the title-subtitle duplication is avoided.
Thanks, Robert -- looks like a good compromise! Window/tab/bookmark title is now sane, and we've still got our nice clicky subtitle.