Wikimedia
PHP 7.1 throws a warning for TranslateToolbox::toolboxAllTranslations(), hence migrate to new hook
This task is about MediaWiki's Translate extension which shows in PHP 7.1:
PHP Warning: Parameter 1 to TranslateToolbox::toolboxAllTranslations() expected to be a reference, value given in /var/www/html/includes/Hooks.php on line 186
To reproduce:
- Install MediaWiki
- Make sure that you are on PHP 7.1
- Install Translate
- Check the Error log
The code should be migrated to the BaseTemplateToolbox
hook.
Task tags
Students who completed this task
Phantom42