Brian found the problem. I was using "load_composer_autoloader": true in the wrong place.
On Sun, Mar 4, 2018 at 1:13 PM, Huji Lee huji.huji@gmail.com wrote:
Extension directory.
And when I look into .../extension/BoilerPlate/vendor/ I see that ua-parser is there.
On Sun, Mar 4, 2018 at 12:55 PM, Stephan Gambke s7eph4n@protonmail.com wrote:
From where did you run `composer update`, MW root or extension dir?
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On March 4, 2018 1:08 AM, Huji Lee huji.huji@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:
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l