A MetaSyntacticVariable.
The historical reason for using Foo and Bar is best described in JargonFile:foo.
5 pages link to Foo:
lib/main.php:944: Notice: PageInfo: Cannot find action page