https://bugzilla.wikimedia.org/show_bug.cgi?id=62486
Bug ID: 62486
Summary: __DIR__ incompatible with PHP 5.2.17
Product: MediaWiki extensions
Version: REL1_19 branch
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: critical
Priority: Unprioritized
Component: General/Unknown
Assignee: [email protected]
Reporter: [email protected]
Web browser: ---
Mobile Platform: ---
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' {} \;
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l