Please add wgAction to JavaScript variables rendered at the beginning of the
page with values similar to action parameter in URL + default value could be
either empty or "view".
Some scripts should be triggered only if certain action with page is being done
and it's much easier to check the variable instead of having to get it from URL.
Thanks
Version: unspecified
Severity: enhancement