jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/394638 )
Change subject: Mark lots of places with warnings and links to kill build ticket ...................................................................... Mark lots of places with warnings and links to kill build ticket Bug: T181838 Change-Id: I5c6a0121c413d5ee0d4f83093a9c7759adcddf1e --- M README.md M Wikidata.credits.php M Wikidata.localisation.php M Wikidata.php 4 files changed, 49 insertions(+), 123 deletions(-) Approvals: Addshore: Looks good to me, approved jenkins-bot: Verified diff --git a/README.md b/README.md index b987769..8cbfb3a 100644 --- a/README.md +++ b/README.md @@ -1,103 +1,3 @@ -#Wikidata Build +***WARNING:*** This repository is no longer used. -***DEPRECATED:*** Use of the Wikidata build is deprecated and the build will soon stop being generated. 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. diff --git a/Wikidata.credits.php b/Wikidata.credits.php index 7cb2a2e..1ba87e4 100644 --- a/Wikidata.credits.php +++ b/Wikidata.credits.php @@ -1,5 +1,17 @@ <?php +/** + * WARNING READ ME + * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + *********************************************** + *********************************************** + * WARNING: This repository is no longer used. + * https://phabricator.wikimedia.org/T173818 + *********************************************** + *********************************************** + * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + */ + if ( !defined( 'MEDIAWIKI' ) ) { die( 'Not an entry point.' ); } diff --git a/Wikidata.localisation.php b/Wikidata.localisation.php index b501853..ce43fb2 100644 --- a/Wikidata.localisation.php +++ b/Wikidata.localisation.php @@ -1,12 +1,15 @@ <?php /** - ******************************************************************************************** - ****************************************** WARNING ***************************************** - * Changes to this file will NOT affect WMF production!!! - * See: https://phabricator.wikimedia.org/T176948 - * and: https://phabricator.wikimedia.org/T177060 - ******************************************************************************************** + * WARNING READ ME + * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + *********************************************** + *********************************************** + * WARNING: This repository is no longer used. + * https://phabricator.wikimedia.org/T173818 + *********************************************** + *********************************************** + * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */ if ( !defined( 'MEDIAWIKI' ) ) { @@ -32,10 +35,13 @@ require_once "$wgWikidataBaseDir/Wikidata.credits.php"; /** - ******************************************************************************************** - ****************************************** WARNING ***************************************** - * Changes to this file will NOT affect WMF production!!! - * See: https://phabricator.wikimedia.org/T176948 - * and: https://phabricator.wikimedia.org/T177060 - ******************************************************************************************** + * WARNING READ ME + * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + *********************************************** + *********************************************** + * WARNING: This repository is no longer used. + * https://phabricator.wikimedia.org/T173818 + *********************************************** + *********************************************** + * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */ diff --git a/Wikidata.php b/Wikidata.php index 3f5c11c..43872db 100755 --- a/Wikidata.php +++ b/Wikidata.php @@ -1,11 +1,15 @@ <?php /** - ******************************************************************************************** - ****************************************** WARNING ***************************************** - * Changes to this file will NOT affect WMF production!!! - * See: https://phabricator.wikimedia.org/T176948 - ******************************************************************************************** + * WARNING READ ME + * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + *********************************************** + *********************************************** + * WARNING: This repository is no longer used. + * https://phabricator.wikimedia.org/T173818 + *********************************************** + *********************************************** + * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */ if ( !defined( 'MEDIAWIKI' ) ) { @@ -79,9 +83,13 @@ } /** - ******************************************************************************************** - ****************************************** WARNING ***************************************** - * Changes to this file will NOT affect WMF production!!! - * See: https://phabricator.wikimedia.org/T176948 - ******************************************************************************************** + * WARNING READ ME + * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + *********************************************** + *********************************************** + * WARNING: This repository is no longer used. + * https://phabricator.wikimedia.org/T173818 + *********************************************** + *********************************************** + * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */ -- To view, visit https://gerrit.wikimedia.org/r/394638 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I5c6a0121c413d5ee0d4f83093a9c7759adcddf1e Gerrit-PatchSet: 1 Gerrit-Project: wikidata/build-resources Gerrit-Branch: master Gerrit-Owner: Addshore <[email protected]> Gerrit-Reviewer: Addshore <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
