Last modified: 2007-12-04 20:10:14 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 T14197, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 12197 - Delete Fails on requestWriteMode()
Delete Fails on requestWriteMode()
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


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

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.


Navigation
Links