Last modified: 2010-05-15 16:03:05 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 T15606, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13606 - Allow deletion of images via API
Allow deletion of images via API
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.13.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-03 20:07 UTC by Bryan Tong Minh
Modified: 2010-05-15 16:03 UTC (History)
2 users (show)

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


Attachments

Description Bryan Tong Minh 2008-04-03 20:07:17 UTC
The API currently does not allow deleting of images. 

To enable deleting old images, the imageinfo prop must be expanded to get the old file name.

I will take this bug tomorrow if nobody else does.
Comment 1 Roan Kattouw 2008-04-03 20:10:51 UTC
(In reply to comment #0)
> The API currently does not allow deleting of images. 
> 
> To enable deleting old images, the imageinfo prop must be expanded to get the
> old file name.
What do you mean by "old file name"?

 
> I will take this bug tomorrow if nobody else does.
> 
It's yours as far as I'm concerned, I'm gonna work on uploading files in the first place. Please commit your stuff to the vodafone branch first, though (I'll svnmerge it right now).
Comment 2 Bryan Tong Minh 2008-04-04 11:52:34 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > The API currently does not allow deleting of images. 
> > 
> > To enable deleting old images, the imageinfo prop must be expanded to get the
> > old file name.
> What do you mean by "old file name"?
> 
$file->getArchiveName(). Has been added now.

Comment 3 Bryan Tong Minh 2008-04-04 14:32:41 UTC
Done in r32768. Requires includes/FileDeleteForm.php to be merged from trunk.
Comment 4 Bryan Tong Minh 2008-04-04 14:45:10 UTC
That should be r32786

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


Navigation
Links