Last modified: 2010-05-15 16:03:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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