Last modified: 2011-12-14 17:37:30 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 T34023, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32023 - Allow to change API result with APIQueryAfterExecute hook
Allow to change API result with APIQueryAfterExecute hook
Status: NEW
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-28 19:43 UTC by Spammer
Modified: 2011-12-14 17:37 UTC (History)
5 users (show)

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


Attachments

Description Roan Kattouw 2011-10-28 20:06:19 UTC
The ApiAfterExecute interface sucks, that's known.

However, there's ApiResult::unsetValue() which should be able to do what the reported asks for.
Comment 1 Sam Reed (reedy) 2011-12-11 16:51:34 UTC
(In reply to comment #1)
> The ApiAfterExecute interface sucks, that's known.
> 
> However, there's ApiResult::unsetValue() which should be able to do what the
> reported asks for.

See also https://www.mediawiki.org/wiki/Thread:Project:Support_desk/How_to_modify_API_result_with_APIQueryAfterExecute_hook?/reply_(5)

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


Navigation
Links