Page MenuHomePhabricator

Allow search with logid in list=logevents
Open, Needs TriagePublic

Description

Special:Log can now show the log for a given logid. - https://gerrit.wikimedia.org/r/#/c/428265/

The api module list=logevents should also allow to search for one or a list of logids (list only when performance is okay) to keep the functions in sync.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 4 2018, 4:49 PM
Anomie moved this task from Unsorted to Needs Code on the MediaWiki-API board.May 7 2018, 1:55 PM
Anomie added a subscriber: Anomie.May 7 2018, 2:03 PM

For decent performance, the addTimestampWhereRange call should be skipped when this option is used, or the resulting ORDER BY should be manually overridden with a call to $this->addOption(). The handling of continuation (generation (both places) and use) will also need to take this into account.

Vvjjkkii renamed this task from Allow search with logid in list=logevents to hldaaaaaaa.Jul 1 2018, 1:11 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot renamed this task from hldaaaaaaa to Allow search with logid in list=logevents.
CommunityTechBot added a subscriber: Aklapper.