Translations:Help:Extension:Translate/Developer guide/45/en

You can use the deprecation facilities provided by MediaWiki core, including the $1 tag and $2 hard deprecation.