Page MenuHomePhabricator

Allow for multiple `leaction`s for `action=query&list=logevents`
Open, Needs TriagePublic

Description

It would be super helpful if multiple leactions could be provided in a logevents query. A typical example might be filtering letype=protect to include protect/protect and protect/modify but not protect/move_prot or protect/unprotect. Likewise for delete or block.

Presumably, if mixed options (e.g. protect/protect and block/block) were provided, that would imply multiple letypes could be provided, which is not currently the case. Alternatively, leaction could not supersede letype but be limited to subsets therein; that is, letype=block would only allow for leactions of block/block, block/reblock, and block/unblock.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 18 2019, 3:32 PM
Anomie added a subscriber: Anomie.

The trick would be in making sure the resulting SQL queries still can use indexes efficiently.