Hiding MediaWiki meta generator version
InternetMediaWiki includes this header meta tag in pages:
<meta name="generator" content="MediaWiki x.x.x"/>
Someone asking on the official Phabricator didn’t get any useful answers, especially if you need it for compliance.
As of the time of writing, you can change this block in ./includes/OutputPage.php to remove the version:
$tags['meta-generator'] = Html::element( 'meta', [
'name' => 'generator',
'content' => 'MediaWiki',
] );
You’ll also want to redirect or block the Special:Version page and README files in your web server config, and review API access.
You should still credit MediaWiki, given their server software is running your site.