Page MenuHomePhabricator

mw.Api.errors contains api warnings and mw.Api.warnings is incomplete
Closed, ResolvedPublic

Description

In resources//mediawiki.api/mediawiki.api.js there is a list of API warnings and errors.

The errors list actually contains some warnings. This is basically because UW treats them as errors in it's 'warning' handling. This should be rectified both the errors and the warnings list needs to be 'cleaned' and at the same time, the logic in UW should be fixed to be able to handle the 'proper' list.


Version: 1.20.x
Severity: normal

Details

Reference
bz39647

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:09 AM
bzimport set Reference to bz39647.
bzimport added a subscriber: Unknown Object (MLST).

Removing the "easy" keyword. This bug does not fit the easy keyword definition

Krinkle set Security to None.
Krinkle removed a subscriber: Unknown Object (MLST).

These seem to be leftovers from when mw.Api was extracted from UploadWizard in r105646, and have meaning only for that extension. They should be moved back into UploadWizard and removed from mw.Api.