Page MenuHomePhabricator

API: action=edit, Unknown error: \"content-not-allowed-here\"
Closed, ResolvedPublic

Description

{

"servedby": "mw1129",
"error": {
    "code": "unknownerror",
    "info": "Unknown error: \"content-not-allowed-here\""
}

}

When trying to change a page's content model to something that wasn't allowed.


Version: 1.24rc
Severity: normal

Details

Reference
bz70593

Event Timeline

bzimport raised the priority of this task from to Needs Triage.
bzimport set Reference to bz70593.
Legoktm created this task.Sep 9 2014, 1:04 AM
Anomie added a comment.Sep 9 2014, 1:09 AM

This is why I plan to kill ApiBase::dieUsageMsg, and generally rework the error reporting functions.

gerritadmin wrote:

Change 159237 had a related patch set uploaded by Alex Monk:
Add content-not-allowed-here to API message map

https://gerrit.wikimedia.org/r/159237

gerritadmin wrote:

Change 159237 merged by jenkins-bot:
Add content-not-allowed-here to API message map

https://gerrit.wikimedia.org/r/159237

(In reply to Brad Jorsch from comment #1)

This is why I plan to kill ApiBase::dieUsageMsg, and generally rework the
error reporting functions.

:DDD