Comments (7)
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.
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.
I'm not sure whether a LocalSettings.php
entry (require .../SemanticWatchlist/SemanticWatchlist.php
) could cause any confusion for the autoloader or not.
from semanticwatchlist.
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.
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.
@mwjames not sure either and to lazy to find out. After this there definitely should be no issue: #51
from semanticwatchlist.
Yepp, perfect. Works now, thanks!
Inside wiki folder:
php composer.phar require mediawiki/semantic-watchlist "~1.0"
from semanticwatchlist.
Related Issues (20)
- Replace deprecated Hooks::run
- Add diff coloring
- Email notification stopped HOT 3
- Fatal error: Call to a member function rawParams() on a non-object in /home/ccc/htdocs/w/extensions/SemanticWatchlist/includes/SWL_Emailer.php on line 43 HOT 10
- Undefined offset / SWL_CustomTexts.php on line 62 HOT 3
- Attributes with space in name not shown in SWL menu HOT 1
- Could not update the watchlist group HOT 2
- Got explicit BEGIN from DatabaseBase::begin while atomic section(s) RenameuserSQL::rename are open. HOT 2
- Remove I18n shim for php-files
- Database / Call to a member function recordQueryCompletion() on null HOT 1
- Notification mail has HTML formatting issues with MediaWiki 1.27+ HOT 2
- Deprecations from MW 1.25 are causing trouble on Special:SemanticWatchlist HOT 1
- Drop PHP 5.3 and 5.4 compat HOT 1
- MW 1.34+ Use of undefined constant DB_SLAVE - assumed 'DB_SLAVE'
- Implement extension registration HOT 1
- SemanticWatchlist DB error HOT 3
- Call to undefined function wfRunHooks() HOT 3
- Trailing whitespace in message definition
- Replace usage of deprecated User::isBlocked HOT 1
- Replace deprecated Language::factory
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from semanticwatchlist.