Page MenuHomePhabricator

REL1.38 AbuseFilter missing Equivset
Closed, DuplicatePublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

  • With REL1_38, enable AbuseFilter: wfLoadExtension( 'AbuseFilter' ); in the LocalSettings.php
  • Set wgShowExceptionDetails = true; at the end of LocalSettings.php
  • edit a page and save

What happens?:
Error: Class "Wikimedia\Equivset\Equivset" not found

What should have happened instead?:

  • page should have saved :)

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
I feel like the composer update step is missing something from the vendor directory. i.e. if you run composer twice and the Equivset dependency is installed

  • composer update --no-dev
  • cd vendor && composer update --no-dev

Event Timeline

IIUC, you're installing from git and pulling dependencies via composer. If so, did you follow the instructions at Extension:AbuseFilter? Equivset is not a core dependency, so you need to either run composer install in the AF directory, or merge its composer.json using merge-plugin.

The extension is now bundled with REL1_38, and the released tarball was used, typically all supported dependencies are included for these bundled extensions, or at least have been downloaded with the first composer step noted above. I definitely had no issues with this extension when it wasn’t bundled.