Addshore has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/394639 )
Change subject: README say that this is no legacy / not used ...................................................................... README say that this is no legacy / not used Bug: T181838 Change-Id: Id832ea85893a01b3a79d398f0a2a733fb363a1f0 --- M README.md 1 file changed, 3 insertions(+), 100 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikidata refs/changes/39/394639/1 diff --git a/README.md b/README.md index b987769..53446b1 100644 --- a/README.md +++ b/README.md @@ -1,103 +1,6 @@ #Wikidata Build -***DEPRECATED:*** Use of the Wikidata build is deprecated and the build will soon stop being generated. -https://phabricator.wikimedia.org/T173818 +***DEPRECATED:*** This is the legacy Wikidata build which has not been used by the WMF or WMDE since November 2017. +See the following ticket for more info: https://phabricator.wikimedia.org/T173818 -Wikidata is using a build with Wikibase and its dependencies packaged into one git repo. - -If you update the master branch of the Wikidata build repository it will be overwritten daily. To change things please instead make changes to [the wikidata/build-resources repository](https://phabricator.wikimedia.org/diffusion/WDBR/) which is used as one of the resources for automated Wikidata builds. - -## Installation - -1. Clone the git repo into the [mediawiki extensions directory](https://phabricator.wikimedia.org/diffusion/EWDA/) -2. Add the following line to your LocalSettings.php. This entry point in turn loads all other entry points. - -##### To enable Repo add the following - -```php -$wgEnableWikibaseRepo = true; -$wgEnableWikibaseClient = false; -$wmgUseWikibaseRepo = true; -$wmgUseWikibaseClient = false; -require_once __DIR__ . "/extensions/Wikidata/Wikidata.php"; -require_once __DIR__ . "/extensions/Wikidata/extensions/Wikibase/repo/ExampleSettings.php"; -``` - -##### To enable Client add the following - -```php -$wgEnableWikibaseRepo = false; -$wgEnableWikibaseClient = true; -$wmgUseWikibaseRepo = false; -$wmgUseWikibaseClient = true; -require_once __DIR__ . "/extensions/Wikidata/Wikidata.php"; -``` - -## Configuration - -Wikibase itself needs to be configured, with appropriate settings. See the below links: - -* [Extension:Wikibase Repository](https://www.mediawiki.org/wiki/Extension:Wikibase_Repository) -* [Extension:Wikibase Client](https://www.mediawiki.org/wiki/Extension:Wikibase_Client) - -Using this repo provides extra options to allow you to choose to deploy the Repo and/or Client. - -```php -// Load the Repo Extension (default false) -$wmgUseWikibaseRepo = true; -// Load the Client Extension (default false) -$wmgUseWikibaseClient = true; -``` - -## Maintenance scripts - -The Maintenance scripts help within this repo will not work if you do not have the environment variable **MW_INSTALL_PATH** defined. - -If you do not and can not define this variable please use the **runScript.php** maintenance script within mediawiki core (see comments in that file for instructions). - -## Manually update a build - -Manually updating a Wikidata build requires [composer](http://getcomposer.org/) to be installed on the system. - -The Wikidata build uses grunt (node.js) to provide some convenience functions. To use this, do: - -```bash - -npm install -``` - -Then to make a build, run: - -```bash - -grunt install -``` - -To clean the install (remove composer.lock, /vendor and /extensions): - -```bash - -grunt uninstall -``` - -To make a deployment build, using appropriate branchName argument: - -```bash - -grunt branch --branchName="wmf/1.25wmf1" -``` - -For deployment builds, this sets the autoloader-suffix config option in the composer.json to be based on the branch name, which makes the composer autoloader code more stable when deployed and synced to multiple servers. - -The sharedCacheKeyPrefix setting is also set to be based on the branch version, and can be manually changed when doing backports to a deployment branch, as needed for invalidating memcached entries. - -To update a single component: - -```bash - -composer update --prefer-dist -o --no-dev wikibase/wikibase -``` - -## Updating this README - -This README is located in [the wikidata/build-resources repository](https://phabricator.wikimedia.org/diffusion/WDBR/browse/master/README.md). Any changes made to the README in the Wikidata build repository will be overwritten daily. +If you want to install Wikibase (int the style of Wikidata) then please install and configure each extension individually. -- To view, visit https://gerrit.wikimedia.org/r/394639 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id832ea85893a01b3a79d398f0a2a733fb363a1f0 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikidata Gerrit-Branch: master Gerrit-Owner: Addshore <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
