Your Wikibase installation will now require you to include its entrypoint. (No change needed for production.)
If you didn't already have something like this in your LocalSettings.php you now need to:
require_once "$IP/extensions/Wikibase/Wikibase.php";
Or alternatively:
require_once "$IP/extensions/Wikibase/repo/Wikibase.php"; require_once "$IP/extensions/Wikibase/client/Wikibase.php";
Change that caused this: https://gerrit.wikimedia.org/r/#/c/217947/ There might be future changes in this area, for switching to https://www.mediawiki.org/wiki/Manual:Extension_registration but those should hopefully be backwards compatible to the above.
Hi Jan,
thanks for working on a better extension registration of Wikibase. I've found one nitpick in your instruction.
Am 16.06.2015 um 22:20 schrieb Jan Zerebecki:
Your Wikibase installation will now require you to include its entrypoint. (No change needed for production.)
If you didn't already have something like this in your LocalSettings.php you now need to:
require_once "$IP/extensions/Wikibase/Wikibase.php";
Or alternatively:
require_once "$IP/extensions/Wikibase/repo/Wikibase.php"; require_once "$IP/extensions/Wikibase/client/Wikibase.php";
The file "Wikibase/client/Wikibase.php" doesn't exist, it is "Wikibase/client/WikibaseClient.php". Maybe we should rename "WikibaseClient.php" to "Wikibase.php" and leave a b/c alias to avoid confusion.
Best regards Bene
Am 17.06.2015 um 09:41 schrieb Bene*:
require_once "$IP/extensions/Wikibase/repo/Wikibase.php"; require_once "$IP/extensions/Wikibase/client/Wikibase.php";
The file "Wikibase/client/Wikibase.php" doesn't exist, it is "Wikibase/client/WikibaseClient.php". Maybe we should rename "WikibaseClient.php" to "Wikibase.php" and leave a b/c alias to avoid confusion.
The entry point, by convention, has the same name as the extension (which is usually the same name as the repo and the directory, but not in our case, since we have multiple extensions in this repo). Having the entry points for both repo and client be called "Wikibase.php" seems like a bad idea to me.
wikidata-tech@lists.wikimedia.org