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

Krinkle <krinklem...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|LATER                       |
            Summary|Keep tab after submit in    |Preserve hash value after
                   |[[Special:Preferences]]     |submit in
                   |                            |[[Special:Preferences]]

--- Comment #2 from Krinkle <krinklem...@gmail.com> 2011-02-20 13:40:48 UTC ---
Reopening this one.

Although PHP can't read it from the address, it could be submitted as a
paramter:


would become:
<form action="http://en.wikipedia.org/wiki/Special:Preferences?hash=preftab-9";
method="post"

Then php can take that and convert it internally (back) to #hash.

JavaScript would hook into submit-event and append:

<input type="hidden" name="hash" value=" (attribute escape!)
window.location.hash "/>

and in PHP, where it redirects the client append (if not empty) '#' .
$params['hash'].



A small note though:
One can change settings of multiple panels of the preferences (ie. changing
something under Editing, then General, then Gadgets) and click save on Gadgets
will save them 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

Reply via email to