Page MenuHomePhabricator

Stop using composer class autoloading for "PropertySuggester" extension
Closed, ResolvedPublic


In order to load this extension as a 'regular' extension in terms of the WMF deployment system the autoloader can not be generated by composer after cloning the git repo.
The class auto loading must be provided as part of the code contained in the git repo.

This could:

  1. Be a committed version of the composer generator autoloader in a different location?
  2. Be a list generated by the mediawiki core autoloader generating maint script?
  3. Be something else

Interesting task to note is T99865: Extension registration should support using a PSR-4 autoloader but that is not done yet!

Event Timeline

Change 390180 had a related patch set uploaded (by Legoktm; owner: Legoktm):
[mediawiki/extensions/PropertySuggester@master] Use MediaWiki autoloader

Legoktm added a subscriber: Legoktm.

Most of the commits in recent months were just maintenance so I just opted for a manually maintained class in extension.json.

Change 390180 merged by jenkins-bot:
[mediawiki/extensions/PropertySuggester@master] Use MediaWiki autoloader