Page MenuHomePhabricator

Allow search with logid in list=logevents
Open, LowPublicFeature

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

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.

CommunityTechBot renamed this task from hldaaaaaaa to Allow search with logid in list=logevents.Jul 2 2018, 4:28 PM
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.

Change 926674 had a related patch set uploaded (by SD0001; author: SD0001):

[mediawiki/core@master] api: allow querying logevents by logid

https://gerrit.wikimedia.org/r/926674

Aklapper changed the subtype of this task from "Task" to "Feature Request".