https://bugzilla.wikimedia.org/show_bug.cgi?id=20789

--- Comment #3 from Jarry1250 <[email protected]> 2011-03-15 21:04:52 UTC ---
Created attachment 8298
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=8298
Functional patch v1

The patch attached illustrates how I would go about ameliorating the situation
(not commit-ready).

In short, I would file scenarios as follows:

                 $from set?
                      |
     -------------------------------
     | no                           | yes
     |                              |
     "no results found" (existing)  |
                                    |
                                $back set?
                --------------------------
                | no (shouldn't happen)  | yes
                |                        |
    "no more results (go back to start)" |
                                         |
                            "no more results
                            (go back a page)"

The one outlined in this bug is yes-yes, which results in a helpful "back a
page" link being presented to the user. That seems a reasonable resolution to
my way of thinking. Not sure about supporting yes-no, it shouldn't happen
unless you mess with the URL (I think!).

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to