Coder Social home page Coder Social logo

Comments (7)

JeroenDeDauw avatar JeroenDeDauw commented on June 1, 2024

You did something wrong with the installation. The error indicates the autoloader is not build or not included. What exactly did you do to install the extension?

from semanticwatchlist.

mwjames avatar mwjames commented on June 1, 2024

You need to install SWL via composer require because classes in the src folder adhere PSR-4 and require the autoloader from Composer to invoke the classes upon loading.

from semanticwatchlist.

mwjames avatar mwjames commented on June 1, 2024

I'm not sure whether a LocalSettings.php entry (require .../SemanticWatchlist/SemanticWatchlist.php) could cause any confusion for the autoloader or not.

from semanticwatchlist.

simison avatar simison commented on June 1, 2024

Ah, we've got bigger project where MediaWiki is just one part, so we've got our root composer.json where I added this as a requirement. I'll try to run composer require in wiki folder, just a mo.

PS. Thanks for a super quick reply!

from semanticwatchlist.

JeroenDeDauw avatar JeroenDeDauw commented on June 1, 2024

If you add the extension to the root composer.json and run composer update for it, then you do not need to bother with the extension folder at all. You do not need to run any commands in it, and you do not need to include anything from it.

from semanticwatchlist.

JeroenDeDauw avatar JeroenDeDauw commented on June 1, 2024

@mwjames not sure either and to lazy to find out. After this there definitely should be no issue: #51

from semanticwatchlist.

simison avatar simison commented on June 1, 2024

Yepp, perfect. Works now, thanks!

Inside wiki folder:

php composer.phar require mediawiki/semantic-watchlist "~1.0"

from semanticwatchlist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.