Thread:Talk:Mobile support in MediaWiki core/Add meta name = "viewport" content = "width=device-width" to each page right away/reply (4)

In case anyone is still looking, here is one solution:

$out->addHeadItem('viewport', '');