https://bugzilla.wikimedia.org/show_bug.cgi?id=30095

Derk-Jan Hartman <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Derk-Jan Hartman <[email protected]> 2012-08-26 01:40:13 
UTC ---
This is not yet fixed.

This is a bug in the errors handlers. An API error is a code, an info and an
optional 'details' array of message keys.

We use the code to get a UW specific error description. Normally this
description is in 'info', but we don't seem to use that one. The details are
not passed at all.


In this specific case we have:

code: 'verification-error',
info: "This file did not pass file verification",
details: [ "uploadscripted"]

The info corresponds to the msg of 'verification-error'
The uploadscripted corresponds to a msg key for ""This file contains HTML or
script code that may be erroneously interpreted by a web browser."

Instead we display api-error-verification-error. Interesting observation, these
api-error-* messages seem to be solely for UW, but are in the mediawiki-core
translations.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to