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

--- Comment #2 from Brion Vibber <[email protected]> 2011-12-16 21:23:26 UTC 
---
Hmmm, I think the right thing is to skip the action parameter entirely here,
I'm not really sure why it's being explicitly added if it's empty or the
default 'view'.

It seems that it's being thrown into the form as a way of getting at the global
query string parameter in case someone manually sets ?action=purge.

There shouldn't be a *form* entry at all here in this case, since we don't want
to add it to the resulting URL when submitting the form; it should check
something from the context object, I think. Maybe just
$context->getRequest()->getVal('action')? Or do we have a better way to get the
global action?

-- 
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