cargo
Optimizing Cargo - query 3
· ☕ 7 min read · ✍️ River
The final of three Cargo queries I recently optimized on Leaguepedia

Optimizing Cargo - query 2
· ☕ 13 min read · ✍️ River
The second of three Cargo queries I recently optimized.

Optimizing Cargo - query 1
· ☕ 16 min read · ✍️ River
A Cargo query I optimized recently on Leaguepedia

A Lua module to print all args
· ☕ 7 min read · ✍️ River
When debugging confusing Cargo queries, a module that just prints everything for you can be incredibly helpful

Setting common match & game keys
· ☕ 27 min read · ✍️ River
A long story about how I corrected one of the biggest mistakes in my initial Cargo database design from two years ago

Escape item["id"]
· ☕ 6 min read · ✍️ River
A funny commit I made today

How to rename Cargo tables safely
· ☕ 8 min read · ✍️ River
Cargo actually provides a way to cleanly rename tables without any "downtime," but it's not obvious or documented how to do this.

Don't use _pageName
· ☕ 10 min read · ✍️ River
Sometimes it can seem convenient to use the built-in _pageName field that Cargo provides; however, _pageName is a metadata field, and you should take care to use it only as such.

Adventures in caching primary keys
· ☕ 15 min read · ✍️ River
The pattern of store -> query -> store -> query can lead to caching nightmares when working with Cargo or SMW in MediaWiki. This is the story of how I dealt with one.

Highlighting disambiguations
· ☕ 29 min read · ✍️ River
Disambiguations are typically somewhat user-unfriendly; I describe my method for improving quality of life when disambiguation links do appear.