Description Usage Arguments Value
Split a vector of items into buckets not exceeding some maximum bucket size. Useful for making fewer MediaWiki API calls when an endpoint accepts multiple page titles per call (for example).
1 | wx_bucket_items(items, bucket_size)
|
items |
A vector of items |
bucket_size |
Maximum number of items a bucket may have |
A list with each element containing no more than bucket_size
number
of items. Flattening the returned list would yield the original items
vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.