Page MenuHomePhabricator

Action API feature to get the details of log events by log ids
Open, Needs TriagePublicFeature

Description

Hi, could we maybe make it possible to search logids and get their details with the mediawiki action API? Currently, username => logid conversion is possible with list=logevents, but as for logid => username conversion, you have to get all recent log events first and look at the response using a for-loop or something. In this way you have to repeat API requests several times until you get the information you need, and this can be prevented if the action API has the feature mentioned above.

You can find a discussion here.

Thank you for your consideration in advance.

Event Timeline

WhitePhosphorus changed the subtype of this task from "Task" to "Feature Request".May 30 2022, 4:51 AM

Basically an API equivalent of Special:Redirect/logid is what you're looking for, correct?

@Xaosflux Yes, that's right. Just like "action=query&pageids=" and "action=query&revids=", this is what I'm looking for.