Substitutor is a MediaWiki Extension that does one-time string substitution. Usual "magic words" are replaced dynamically in MediaWiki. You would not want this dynamic behaviour with timestamps or unique strings / numbers / IDs. Therefore this extension.
For documentation please visit the official MediaWiki Extension page.