Where == str_replace( '$1', $wgMetaNamespace, $namespaceNames[NS_PROJECT_TALK] ) === $wgMetaNamespaceTalk, remove the entry in $wgMetaNamespaceTalk
In most/all cases, these should match, and hence, the explicit entry is unneeded.
Similar can be also said for $wgMetaNamespace, which if it's the same as $wgSitename, it isn't necessary.
/**
- Name of the project namespace. If left set to false, $wgSitename will be
- used instead. */
$wgMetaNamespace = false;
Version: wmf-deployment
Severity: enhancement