Author: maxneaga
Description:
The Compatibility ( http://www.mediawiki.org/wiki/Compatibility ) page states that MediaWiki 1.19.x branch is compatible with PHP 5.2.3+
The core extensions ConfirmEdit, Gadgets and Renameuser use the DIR magic constant that is available in PHP 5.3.0+ only.
Had to use the following command as a temporary fix:
find . -type f -exec sed -i 's/__DIR__/dirname(__FILE__)/g' {} \;
Version: REL1_19-branch
Severity: critical