Page MenuHomePhabricator

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


Author: regbox1

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



Event Timeline

bzimport raised the priority of this task from to Needs Triage.
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

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