Page MenuHomePhabricator

apierror-unknownerror/qqq is out of date
Closed, ResolvedPublic

Description

	"apierror-unknownerror": "{{doc-apierror}}\n\nParameters:\n* $1 - Error code (possibly a message key) not handled by ApiBase::parseMsg().",

From T189222, and the fact ApiBase::parseMsg() was removed...

Event Timeline

Reedy created this task.Apr 26 2019, 4:05 PM
Restricted Application added subscribers: Liuxinyu970226, Aklapper. · View Herald TranscriptApr 26 2019, 4:05 PM
Reedy updated the task description. (Show Details)Apr 26 2019, 4:08 PM
Anomie moved this task from Unsorted to Non-Code on the MediaWiki-API board.Apr 26 2019, 6:35 PM
DovAlp added a subscriber: DovAlp.May 10 2019, 10:29 PM

Ill give this a go.

Something like:
"apierror-unknownerror": "{{doc-apierror}}\n\nParameters:\n* $1 - Error code (possibly a message key) not handled by an error handler."
without specifying anything specific because the docs reccomend multiple replacements (dieWithError() or ApiMessage::create())

Restricted Application added a project: User-Zoranzoki21. · View Herald TranscriptMay 10 2019, 11:37 PM