Last modified: 2014-09-09 06:04:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T72593, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70593 - API: action=edit, Unknown error: \"content-not-allowed-here\"
API: action=edit, Unknown error: \"content-not-allowed-here\"
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.24rc
All All
: Unprioritized normal (vote)
: ---
Assigned To: Alex Monk
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-09 01:04 UTC by Kunal Mehta (Legoktm)
Modified: 2014-09-09 06:04 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2014-09-09 01:04:22 UTC
{
    "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.
Comment 1 Brad Jorsch 2014-09-09 01:09:52 UTC
This is why I plan to kill ApiBase::dieUsageMsg, and generally rework the error reporting functions.
Comment 2 Gerrit Notification Bot 2014-09-09 01:19:03 UTC
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
Comment 3 Gerrit Notification Bot 2014-09-09 05:10:09 UTC
Change 159237 merged by jenkins-bot:
Add content-not-allowed-here to API message map

https://gerrit.wikimedia.org/r/159237
Comment 4 Kunal Mehta (Legoktm) 2014-09-09 06:04:24 UTC
(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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links