From where did you run `composer update`, MW root or extension dir?


​​

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On March 4, 2018 1:08 AM, Huji Lee <huji.h...@gmail.com> 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

Reply via email to