I've got an API key from themoviedb.org and I want to use it with the MediaWiki extension External Data. But if I put it as plain wikitext it will be in plain sight.
Is there a simple way to add it as a custom variable in LocalSettings.php and then call this variable as a magic word or something in wikitext? And if so, will the key be secure that way?