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

            Bug ID: 68034
           Summary: Call to undefined method
                    ArchivedFile::getArchiveName() when attempting to
                    restore file revision
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

Original bug title:
Call to undefined method ArchivedFile::getArchiveName() when attempting to
restore file revision

Query:
POST https://commons.wikimedia.org/w/api.php
action    revisiondelete
format    jsonfm
ids    2373038
reason    test
show    content|comment|user
target    File:' onmouseover='alert("There is a security vulnerable. Please
contact the next admin if you see this in a message box.")' target='.png
token    <redacted>
type    filearchive

Result:
500 Internal Server Error

Wikimedia Foundation
Error

PHP fatal error in
/usr/local/apache/common-local/php-1.24wmf12/includes/revisiondelete/RevisionDelete.php
line 748:
Call to undefined method ArchivedFile::getArchiveName()

-- 
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