Last modified: 2011-08-29 22:21:54 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 T32591, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30591 - Add support to only return keys in ApiAllMessages
Add support to only return keys in ApiAllMessages
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Krinkle
: patch, patch-reviewed
Depends on:
Blocks: 29398
  Show dependency treegraph
 
Reported: 2011-08-27 00:54 UTC by Krinkle
Modified: 2011-08-29 22:21 UTC (History)
6 users (show)

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


Attachments
Adds nocontent paramter, defaults to false. When set to true, content is not included in output (1.42 KB, patch)
2011-08-28 21:11 UTC, Krinkle
Details

Description Krinkle 2011-08-27 00:54:28 UTC
Right now it always returns all messages content as well, would be nice to only return this if a certain property is given.

Since returning the content has been default for ever, prolly best to implement nocontent as a boolean parameter (instead of adding it as an optional prop to include).


Assining to self, I've got it mostly done locally will attach patch soon.
Comment 1 Krinkle 2011-08-28 21:11:49 UTC
Created attachment 8983 [details]
Adds nocontent paramter, defaults to false. When set to true, content is not included in output
Comment 2 Bryan Tong Minh 2011-08-28 21:48:20 UTC
Looks good.
Comment 3 Krinkle 2011-08-29 22:21:54 UTC
Applied in r95714.

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


Navigation
Links