Translations:Manual:Tag extensions/132/en

The short answer is: the tag name ($foo or $bar) is not present in any of the callback's arguments.