Yes, I did both and it still gives that error message. Brian made a suggestion on the patch itself, and I am going to try that in a few. I will report back as to whether or not that fixes the issue.
On Sun, Mar 4, 2018 at 9:41 AM, Amir Ladsgroup <[email protected]> wrote: > Hey, > Have you done `composer install` in directory of mediawiki and the > extensions? That should fix it. Sometimes `composer update` is needed if > you already did it but rather some time ago. > > Best > > On Sun, Mar 4, 2018 at 1:08 AM Huji Lee <[email protected]> wrote: > > > Hi all, > > > > I am trying to test a package called UAParser, which is on Packagist > > already. I created this patch[1] to demonstrate it. After making the > change > > shown in the patch, I ran composer update and verified that UAParser is > in > > the /vendor directory. However, when I open Special:HelloWorld on wiki, I > > get the following error message: Class 'UAParser\Parser' not found > > > > I am not super informed about composer and Packagist, and don't know how > to > > fix this issue. Any advice would be highly appreciated. > > > > Thanks, > > > > Huji > > > > [1] https://gerrit.wikimedia.org/r/#/c/409701/ > > _______________________________________________ > > MediaWiki-l mailing list > > To unsubscribe, go to: > > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > > > _______________________________________________ > MediaWiki-l mailing list > To unsubscribe, go to: > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
