lua
Lua Branches
· ☕ 5 min read · ✍️ River
Lua Branches is a prototype/proof-of-concept MediaWiki extension for making branches of Lua modules & their dependency chains.

Lua table errors
· ☕ 9 min read · ✍️ River
A framework for inserting Lua errors into HTML tables using a singleton class

Toggleable columns
· ☕ 9 min read · ✍️ River
A simple interface to automatically let users toggle columns in any data table on the entire wiki.

Frame, wtf?
· ☕ 16 min read · ✍️ River
An indepth introduction to frame objects in Scribunto

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

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

Tournament brackets (part 1)
· ☕ 27 min read · ✍️ River
Our CSS-grid-powered tournament brackets on Leaguepedia

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

Non-unique item names
· ☕ 15 min read · ✍️ River
In a recent patch, Riot introduced non-unique item names, and we had to create a system for dealing with this.

Multi-Instance Subtemplates in Lua
· ☕ 8 min read · ✍️ River
Multi-instance subtemplates are common in MediaWiki; when we're using Lua, they can be much more powerful than in wikitext.

CompoundRole
· ☕ 18 min read · ✍️ River
A bunch of things I did wrong because learning is fun!

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.