Author: maxneaga
Description:
+++ This bug was initially created as a clone of Bug #62486 +++
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 extension ConfirmEdit uses 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