Any idea why this code causes the page to render blank?
In MW/includes/OutputPage.php, starting at line 3305 we find:
<<<<<
public function getHeadLinksArray() {
global $wgVersion;
$tags = array();
$config = $this->getConfig();
$canonicalUrl = $this->mCanonicalUrl;
<<<<<
After "$canonicalUrl = $this->mCanonicalUrl;" I inserted these lines per
instruction:
<<<<<
$tags[‘cometchat-footer-code-link’] = Html::element( ‘link’, array(
‘rel’ => ‘stylesheet’,
‘type’ => ‘text/css’,
‘charset’ => ‘utf-8’,
‘href’ => ‘/cometchat/cometchatcss.php’,
) );
$tags[‘cometchat-footer-code-script’] = Html::element( ‘script’, array(
‘type’ => ‘text/javascript’,
‘charset’ => ‘utf-8’,
‘src’ => ‘/cometchat/cometchatjs.php’,
) );
<<<<<
And the page won't render. There is an associated call in the Vector
template but that is displaying ok. It only blows up when I change
OutputPage.
The folks at Cometchat say it's an issue with caching.
Thank you,
David