[MediaWiki-l] OutputPage.php won't render with Cometchat

Platonides platonides at gmail.com
Wed Dec 9 23:52:03 UTC 2015


On 09/12/15 20:26, David Shaw wrote:
> Any idea why this code causes the page to render blank?
>(…)
> 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

Your email has curly quotes. Was that an artifact of the code or the 
email? You need to use ' in php code.

Also, look at your error log. Blank page → PHP error.

Additionally, I'm quite sure the same solution could be done through a 
hook, without having to edit the core file OutputPage.php




More information about the MediaWiki-l mailing list