Is it possible to retrieve the action parameter i.e. if action = purge from within an extension.
In my tests I realized that action=purge seems to trigger a reload before the extension code is executed. So the extension can not see the original value of the action parameter.
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Debenben | T74537 support regular action=purge | |||
Open | None | T77954 Retrieve action get parameter from within an extension |
Event Timeline
Comment Actions
Why does the extension need access to the action get parameter?
If you only need to know if action was 'purge', this hook should tell you that.
Comment Actions
I tried to use this hook a while ago
https://gerrit.wikimedia.org/r/#/c/197242/1
now it might work, since we changed the design and collect all tags in a static variable.
Maybe the purge information can be saved in a static variable as well.