What is the problem?
If a revision has a private tag (e.g. mw-private-personal-info) and I update the tags of the revision (e.g. via Special:EditTags), when using the list=logevents API I can see the private tags in the initialTags field.
For example,
"query": {
"logevents": [
{
"params": {
"revid": 2309,
"logid": false,
"tagsAdded": [
"ab"
],
"tagsAddedCount": 1,
"tagsRemoved": [],
"tagsRemovedCount": 0,
"initialTags": [
"mw-private-personal-info",
"mw-reverted",
"wikieditor"
]
}
},
...This might affect other API endpoints, as I have not tested all of them.
Steps to reproduce problem
- Find a revision (record its <rev id>) and add a private tag to it
- Go to index.php?type=revision&title=Special%3AEditTags&ids[<rev id>]=1 and add a tag to it
- Go to Special:ApiSandbox#action=query&format=json&list=logevents&formatversion=2&leprop=details&lelimit=10 and make the request
Environment
Wiki(s): local docker WikimediaAntiAbuse – (0d8cd31) 12:13, 28 August 2026.