Page MenuHomePhabricator

Api returns duplicate protection info
Closed, DuplicatePublicBUG REPORT

Description

Steps to reproduce:
Visit https://en.wikinews.org/w/api.php?action=query&titles=%227th%20Heaven%22%20television%20series%20comes%20to%20an%20end&prop=info&inprop=protection (among others)

Actual result
[...]
"protection": [
	{
		"type": "edit",
		"level": "sysop",
		"expiry": "infinity"
	},
	{
		"type": "move",
		"level": "sysop",
		"expiry": "infinity"
	},
	{
		"type": "edit",
		"level": "sysop",
		"expiry": "infinity"
	},
	{
		"type": "move",
		"level": "sysop",
		"expiry": "infinity"
	}
],
[...]
Expected result
[...]
"protection": [
	{
		"type": "edit",
		"level": "sysop",
		"expiry": "infinity"
	},
	{
		"type": "move",
		"level": "sysop",
		"expiry": "infinity"
	}
],
[...]

Event Timeline

DannyS712 created this task.Jan 1 2020, 5:52 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
DannyS712 moved this task from Unsorted to Reports on the User-DannyS712 board.Jan 1 2020, 5:53 AM
DannyS712 changed the subtype of this task from "Task" to "Bug Report".