I'm trying to add an RTA label to a wiki I'm deploying for an adult community, which requires adding a meta tag to the head. However, I find the answer from the FAQ to be confusing and unspecific. Here it is for your convenience:
The OutputPage class includes an addMeta methods which can be used to add meta tags. The RequestContext can be used to get the relevant OutputPage object.To add further Meta tags just add further lines as last lines of the function addMetaTags() like:
$out->addMeta ( 'description', 'This is a meta description.' );
So, where exactly is the correct place to add the further lines? Anywhere in OutputPage.php, or some other file altogether?d