How to solve php warning for mediawiki running on tomcat with quercus

view full story

http://serverfault.com – I set up a mediawiki (1.19.2) with quercus (4.0.25) on a Tomcat 7. The installation process went well, there were no errors or warnings, the database connection is OK and at the end of the installation process I copied the LocalSettings.php into the mediawiki base folder as required. From that point I got the following php warning multiple times on top of every single mediawiki page: webapps\mediawiki\includes\Message.php:388: Warning: function 'htmlspecialchars' called with 4 arguments, but only expects 3 arguments [htmlspecialchars] Message.php: 365:/** 366: * Returns the message parsed (HowTos)