mw.Api.errors contains api warnings and mw.Api.warnings is incomplete
Open, NormalPublic

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
bzimport raised the priority of this task from to Normal.
bzimport set Reference to bz39647.
bzimport added a subscriber: Unknown Object (MLST).
TheDJ created this task.Aug 25 2012, 5:08 PM

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).
Anomie added a subscriber: Anomie.Feb 19 2015, 8:22 PM

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.

Anomie moved this task from Unsorted to Needs Code on the MediaWiki-API board.Feb 19 2015, 8:22 PM

These were deprecated in rMW15b5dc5d8eec: mw.Api: Deprecate mw.Api.errors, mw.Api.warnings, hopefully to be removed in 1.30 or 1.31.