HomePhabricator

Updated mediawiki/extensions Project: mediawiki/extensions/Widgets…

Authored by Majr.

Description

Updated mediawiki/extensions Project: mediawiki/extensions/Widgets fd36d92caeb3768782eade24ed1ae65a782b60b8

Support PHP 5.3, take 2

Apparently PHP 5.3 considers an anonymous function defined inside the
class to be outside the class's scope, so any variables you want to use
inside the function have to be public. *sigh*

The alternative option would be to make the anonymous callback function
a private method of the class, which would allow you to use self:: and
keep the $widgets property private, but separating it like that feels
a bit messy to me.

Change-Id: I4b8921b6d22589d47356031a426a02da9f173b51

Details

Committed
Gerrit Code ReviewMar 16 2015, 1:24 PM
Parents
rMEXT3d8e2ca17f74: Updated mediawiki/extensions Project: mediawiki/extensions/Wikibase…
Branches
Unknown
Tags
Unknown
ChangeId
I4b8921b6d22589d47356031a426a02da9f173b51

Event Timeline