Translations:Manual:$wgProfileOnly/5/en

Since MediaWiki 1.23, you can set the log file in $1 to achieve the same functionality.