Support MediaWiki-style parameters to messages ($1, $2, etc)

Change-Id: I4d05b899c118c3dac73f38b2bd2f65b0bb3bfcc1