Page MenuHomePhabricator

In 1.23wmf17, some strings in revisiondelete paraminfo errors array
Closed, ResolvedPublic

Description

Author: regbox1

Description:
In MW 1.23wmf17, when requesting the paraminfo for the revisiondelete module, the errors list appears malformed. In addition to the typical array ( 'code' => ..., 'desc' => ... ) error structures, it contains also two strings:

A target title is required for this RevDel type

Bad value for some parameter

I guess that for these only the 'desc' part gets inserted instead of the entire error structure.


Version: 1.23.0
Severity: normal

Details

Reference
bz62853

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:04 AM
bzimport set Reference to bz62853.

Thanks for taking the time to report this!

Could you please provide a specific and full example query?

Change 119792 had a related patch set uploaded by Umherirrender:
Fix possible error list of action=revisiondelete

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

Change 119792 merged by jenkins-bot:
Fix possible error list of action=revisiondelete

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