Wikitext parser/Stage 3: Expansion