User:Illviljan/cargo

A bunch of cargo tests.

Intro

 * https://www.mediawiki.org/wiki/Extension:Cargo/Querying_data
 * Lua: https://www.mediawiki.org/wiki/Extension:Cargo/Other_features
 * results[2][version.version]

drop_monsters
What differs between items and items__NEXT?
 * Problem: Storing anything to items.drop_monsters currently crashes all cargo tables on that page.
 * It does not happen when using items__NEXT.
 * Using HOLDS with item.drop_monsters works fine.
 * Using LIKE with items.drop_monsters__FULL works fine.
 * When switching in items__NEXT to items the Page values looks visually as expected.
 * Using HOLDS with item.drop_monsters does not work.
 * Using LIKE with items.drop_monsters__FULL works fine.
 * When null editing the page items.drop_monsters will begin crashing all cargo tables on that page. This is repeatable.

Lua equivalents
tables = 'mods, spawn_weights' fields = 'mods.id, spawn_weights.weight' query = { join = 'mods._pageID=spawn_weights._pageID', where = 'mods.domain=5 AND mods.name="Fecund" AND spawn_weights.weight > 0', limit = 10, offset = 2 } results = mw.ext.cargo.query(tables, fields, query)

print( results[1]['mods.id'], results[1]['spawn_weights.weight'] )

Offset
We have the following list:

Limit to 3 results:

Add the rest:

mods that can spawn on items
item_tags = axe, one_hand_weapon, onehand, weapon, default

Granted skills from items
inline test Icestorm   test

Passives
The passive skill  Guardian   is an ascendancy node that should be inline with the text and the icon should be much smaller.

The following table shows passive skills