Setup and configuration
- MediaWiki | 1.30.0 (d0c8f49)19:49, 5. Jan. 2018
- PHP | 5.6.30-0+deb8u1 (apache2handler)
- MariaDB | 10.0.33-MariaDB-1~jessie
- Semantic MediaWiki | 3.0.0-alpha (388e383) 07:44, 7. Jan. 2018
- Semantic Drilldown 2.0.2 (99736da) 19:03, 9 June 2016
Issue
Due to the removal of these methods from Semantic MediaWiki the wiki fails with a fatal. Getting a fix for this will be cool.
Fatal error: Call to undefined method SMW\DIProperty::registerProperty() in /../w/extensions/DataTransfer/DataTransfer.php on line 148
Solution
A migration guide is available.
\Hooks::register( 'SMW::Property::initProperties', function( $propertyRegistry ) { $propertyRegistry->registerProperty( '__FOO', '_txt', 'Foo' ); return true; } );
See also
The commit that removed the methods: pull request 2944