[Bug 23772] Link to search the keyword after redirect from GO

2012-11-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23772

--- Comment #14 from Daniel Friesen mediawiki-b...@nadir-seen-fire.com 
2012-11-04 06:10:33 UTC ---
Created attachment 11296
  -- https://bugzilla.wikimedia.org/attachment.cgi?id=11296
Mockup of a contextual bubble from search

AHAH! Trying to find the proper placement for the Not what you were looking
for? messages was tricky. 

First I thought of putting it in the subtitle area. However that varied by
skin. And it was obscure and potentially not user friendly.

Then I ended up implementing it using the notification area. But that's still
not entirely an expected place to find it.

But I just thought of a better way to implement it. A contextual bubble coming
from the search area.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 23772] Link to search the keyword after redirect from GO

2012-11-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23772

--- Comment #15 from Subfader subfa...@gmail.com 2012-11-04 11:32:59 UTC ---
The bubble is a nice idea, esp. since you typed there.
But usability-wise I'd guess people's focus is on the upper left (heading)
after page load.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 23772] Link to search the keyword after redirect from GO

2012-10-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23772

--- Comment #13 from Subfader subfa...@gmail.com 2012-10-15 09:19:01 UTC ---
 ---
 You're reading about [[{{FULLPAGENAME}}]].
 [[Special:Search/{{FULLPAGENAME}}|Search Wikipedia]] for more resources about
 this subject.
 ---

This sounds like it could be there all the time? (bad idea)

This bug is about informing the user after a GO-Search why he landed on this
page and how he can SEARCH the keyword instead.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 23772] Link to search the keyword after redirect from GO

2012-10-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23772

--- Comment #11 from Daniel Friesen mediawiki-b...@nadir-seen-fire.com 
2012-10-14 11:52:12 UTC ---
https://gerrit.wikimedia.org/r/#/c/27923/

Right now it uses a simple notification. I'm open for bikeshedding on the best
location to put the message.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 23772] Link to search the keyword after redirect from GO

2012-10-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23772

MZMcBride b...@mzmcbride.com changed:

   What|Removed |Added

   Keywords||design
 CC||bhar...@wikimedia.org

--- Comment #12 from MZMcBride b...@mzmcbride.com 2012-10-15 00:31:51 UTC ---
(In reply to comment #11)
 https://gerrit.wikimedia.org/r/#/c/27923/
 
 Right now it uses a simple notification. I'm open for bikeshedding on the best
 location to put the message.

I read this bug a bit differently than you, I think. From what I can see, this
bug would be solved by implementing a message along the lines of:

---
You're reading about [[{{FULLPAGENAME}}]].
[[Special:Search/{{FULLPAGENAME}}|Search Wikipedia]] for more resources about
this subject.
---

I'm not sure where such a message would fit in to the user interface, but it
would accomplish most of the goals of this bug, I think. And it would do so
without the need to track where users are coming from, without the additional
code complexity and weight of session storage and JavaScript, and it would do
so consistently (not just on supporting browsers).

This bug has (wrongly, in my view) focused on tracking the status of a user
(i.e., tracking whether the user came from a search or not). I'm not sure that
this is important enough to support the current proposed implementation (Gerrit
change 27923) over a simpler implementation that would be generically helpful
(a path from an article subject to a search on the same site about that
subject).

Others have suggested using server-side session variables for adding context to
the user search experience. The argument being that local (client-side) session
storage is inadequate for a good user experience, I guess.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 23772] Link to search the keyword after redirect from GO

2012-09-30 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23772

--- Comment #8 from Bartosz Dziewoński matma@gmail.com 2012-09-30 
11:43:57 UTC ---
This is a neat idea.

Maybe we could add ?from=search to the URL to work around the caching
issue?

(And then, as a JavaScript enhancement, use HTML5 History API to remove it from
there, so that when one copies the address, they don't get bogus You have been
redirected message later?)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 23772] Link to search the keyword after redirect from GO

2012-09-30 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23772

Jesús Martínez Novo martinezn...@gmail.com changed:

   What|Removed |Added

 CC||martinezn...@gmail.com

--- Comment #9 from Jesús Martínez Novo martinezn...@gmail.com 2012-09-30 
12:46:42 UTC ---
When you do a GO-search and the search engine redirects you to the article with
that name, it could send an additional cookie (with a short expiration time,
like 1 minute or so) with the target fullpagename and the original search term.
Then the client JS may scan for the existance of such cookie and when it
matches the fullpagename with the current fullpagename of the article then
display that message (and optionally make the cookie expire so the message
isn't printed again on page reload during the 1 minute the cookie will remain
on the client).

This solution won't interfere with caching and won't leave additional query
strings.

Sure, it would fail for browsers with cookies disabled, but it's a minor issue
and that's usually what happens when you have cookies disabled anyway ;)

This proposal may fail on some race conditions:
* The user submit a second search form while the first one hasn't loaded the
target page yet: The first result page may not get the message because the
second search form already overwrote the cookie.
* The user open the same page or reloads while the cookie hasn't expired yet,
the message would be displayed. Make the cookie expire (set the cookie with a
past expiration date) when the message is processed would prevent this.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 23772] Link to search the keyword after redirect from GO

2012-09-30 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23772

Daniel Friesen mediawiki-b...@nadir-seen-fire.com changed:

   What|Removed |Added

 CC||mediawiki-bugs@nadir-seen-f
   ||ire.com

--- Comment #10 from Daniel Friesen mediawiki-b...@nadir-seen-fire.com 
2012-09-30 14:51:29 UTC ---
I already looked into the best way to handle this myself.

The plan is to add a Not what you're looking for? You can instead search for
pages containing .

The way to do this is with JS. Listen for the submission of the search form. On
submit save the search query into sessionStorage. On page view if you're on the
searchpage discard it. Otherwise use it to insert that message.

sessionStorage is supported by just about every modern browser, in fact even
IE8 supports it. sessionStorage is tied to the specific tab you are in, so even
if you submit two pages at the same time it'll never be confused about what
page to put the message on. If IE7- support is necessary we can use the same
technique with a cookie fallback. It won't be as perfect but it's just for
minor compat.

I think I actually started writing it somewhere (can't remember where it is).
The hardest part is really just figuring out where to output the message and
how to do it in a skin-independent way.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 23772] Link to search the keyword after redirect from GO

2011-07-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23772

--- Comment #7 from Subfader subfa...@gmail.com 2011-07-03 17:37:19 UTC ---
Someone feel free to close this as WONTFIX

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 23772] Link to search the keyword after redirect from GO

2011-04-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23772

--- Comment #5 from Subfader subfa...@gmail.com 2011-04-06 20:45:51 UTC ---
hmh, but normal redirects are displayed the same way as i request.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 23772] Link to search the keyword after redirect from GO

2011-04-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23772

--- Comment #6 from Bawolff bawolff...@gmail.com 2011-04-06 21:13:59 UTC ---
(In reply to comment #5)
 hmh, but normal redirects are displayed the same way as i request.

Normal Redirects use different urls (relative to the canonical version), which
makes the caching point a non-issue ( When you look at [[WW2]] which is a
redirect, the url still shows the version of the page name before redirecting -
http://en.wikipedia.org/wiki/WW2 instead of
http://en.wikipedia.org/wiki/World_War_II ).

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 23772] Link to search the keyword after redirect from GO

2011-02-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23772

--- Comment #3 from Subfader subfa...@gmail.com 2011-02-13 02:47:46 UTC ---
hmh, cache wins here i guess. Someone please close this as WONTFIX / INVALID.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 23772] Link to search the keyword after redirect from GO

2011-02-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23772

Bawolff bawolff...@gmail.com changed:

   What|Removed |Added

 CC||bawolff...@gmail.com

--- Comment #4 from Bawolff bawolff...@gmail.com 2011-02-13 03:37:12 UTC ---
(In reply to comment #1)
 I think this is actually a pretty neat idea. I'm just not sure how feasible it
 is, with page caching and all...

In the worst case I suppose one could have this done on the js side if the
caching issues are really that bad.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 23772] Link to search the keyword after redirect from GO

2010-06-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=23772

Derk-Jan Hartman hart...@videolan.org changed:

   What|Removed |Added

 CC||hart...@videolan.org

--- Comment #1 from Derk-Jan Hartman hart...@videolan.org 2010-06-03 23:09:58 
CEST ---
I think this is actually a pretty neat idea. I'm just not sure how feasible it
is, with page caching and all...

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l