Page MenuHomePhabricator

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


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



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:09 AM
bzimport added a project: MediaWiki-API.
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.

DannyS712 closed this task as Resolved.Nov 30 2019, 5:31 AM
DannyS712 assigned this task to Fomafix.
DannyS712 added a subscriber: DannyS712.