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

Andre Klapper <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |testme

--- Comment #2 from Andre Klapper <[email protected]> ---
In short: Should be tested on test2.wikipedia.org if it's reproducible.


Copying relevant comments from bug 40515:

--- Comment 0 by Krinkle ---
Aside from it being very wrong that there is only a single character being
output (likely casted from boolean true), there is also:
* No error message at all.
* It did actually succeed (see screenshot)

--- Comment 2 by Krinkle ---

I can't reproduce it because I can't willingly reproduce a rare error in the
file storage backend.

However looking at the code Article::doDelete (which is the only method that
uses the 'cannotdelete-title' message which is shown in the screenshot), I
think this odd interface issue would still be happening just the same.

The $error variable is set to an empty string where documentation expects an
array. It is then never used or set to anything (except by RunHooks) and then
it does "if $error != '': addHtml( $error )"

I don't know what $error ends up being, but whatever it is, it isn't html. So
this is likely being casted to the string '1'.

--- Comment 3 by RobLa ---

No real reason to believe this is file backend related, other than the fact
this happened once on commons.  I'd like to see someone try to repro this on
test2 and commons before assigning this to someone.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to