Last modified: 2007-12-04 20:10:14 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 12197 - Delete Fails on requestWriteMode()
Delete Fails on requestWriteMode()
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-12-04 19:43 UTC by Eddie Roger
Modified: 2007-12-04 20:10 UTC (History)
1 user (show)

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

Patch for requestWriteMode (1.27 KB, patch)
2007-12-04 19:47 UTC, Eddie Roger

Description Eddie Roger 2007-12-04 19:43:43 UTC
I've downloaded the latest apiedit from SVN, and there's a bug in delete. When trying to run action=delete, the API returns the following:

Fatal error: Call to undefined method ApiDelete::requestWriteMode() in /var/www/phase3/includes/api/ApiDelete.php on line 87

I assume it's inheriting correctly, but I'm still looking for how to fix it. However, I wanted to log it anyway.
Comment 1 Eddie Roger 2007-12-04 19:47:47 UTC
Created attachment 4404 [details]
Patch for requestWriteMode
Comment 2 Roan Kattouw 2007-12-04 20:10:14 UTC
ApiDelete and friends have been merged to trunk (r28051), where the bug was fixed (r28052 and r28053). The apiedit branch is obsolete right now. I'm keeping it around just in case someone decides to revert r28051.

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