Last modified: 2013-07-18 09:16:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T49610, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47610 - WMF deployment config for Wikibase needs to be updated
WMF deployment config for Wikibase needs to be updated
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
master
All All
: Highest normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-24 14:35 UTC by Jeroen De Dauw
Modified: 2013-07-18 09:16 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jeroen De Dauw 2013-04-24 14:35:01 UTC
Many months ago we introduced dedicated settings variables for lib, repo and client rather then stuffing everything into a single variable.

The single variable we used to have was: wgWBSettings

Right now we have

* wgWBSettings: for lib settings
* wgWBRepoSettings: for repo settings
* wgWBClientSettings: fir client settings

Currently they are all merged together for all code accessing settings, so that old configuration that stuffs everything into wgWBSettings will still work.

Right now there are two changes on gerrit that prevent loading of client settings on repo and repo settings on client.

* https://gerrit.wikimedia.org/r/#/c/60220/
* https://gerrit.wikimedia.org/r/#/c/60219/

These will break any configuration that puts configuration needed by repo in the client variable or the other way around. Such configuration was possible before there commits though not before the change from one to 3 config variables and has never been intended to be supported. Presumably no setup is using such bad config, so these commits should not cause problems.

However continuing the cleanup of the configuration system requires dropping support of the all settings in one variable configuration at some point. This means the configuration on the WMF cluster should be updated (as it apparently still is stuffing everything in wgWBSettings) and that this configuration should first be tested.

Until that happens development is blocked by ops tasks.
Comment 1 abraham.taherivand 2013-05-02 10:22:44 UTC
Dev and Test system have been updated.
Comment 2 Gerrit Notification Bot 2013-05-02 11:43:38 UTC
Related URL: https://gerrit.wikimedia.org/r/61975 (Gerrit Change If49b303890fa39a55e6fe3a9950ed5456f2bbbc3)
Comment 3 Gerrit Notification Bot 2013-05-02 13:11:20 UTC
https://gerrit.wikimedia.org/r/61975 (Gerrit Change If49b303890fa39a55e6fe3a9950ed5456f2bbbc3) | change APPROVED and MERGED [by Andrew Bogott]
Comment 4 Aude 2013-05-02 14:13:20 UTC
still need to update production settings.
Comment 5 Aude 2013-05-08 11:13:20 UTC
It's not clear if all the settings in local settings should be $wgWBClientSettings / $wgWBRepoSettings, even if the settings are defined in WikibaseLib (with $wgWBSettings).  

DanielK suggested to me that one should not need to know where the various settings come from and they should use just the repo / client variables.  This won't work with the current code, as default WikibaseLib settings will override those set in $wgWBClientSettings / $wgWBRepoSettings.

What we did on labs is use the client / repo settings and keep $wgWBSettings for lib settings.  It's not ideal but works and is a way forward.  

We can then use Jeroen's patch, which has $wgWBClientSettings override anything set in $wgWBSettings. (including the defaults)  That breaks backwards compatibility.

Please advise. :)  

Also, please update extension documentation about the settings.

http://www.mediawiki.org/wiki/Extension:WikibaseClient

http://www.mediawiki.org/wiki/Extension:Wikibase

Right now, people are being told to use $wgWBSettings and IMHO, we should have an additional period of backwards compatibility between time we update the documentation and time we break compatibility.  

The change in settings system should also be announced on both wikidata-tech and wikidata-l (since most people are probably not on wikidata-tech yet).

The Wikidata-Vagrant still will be broken, though it's broken in other ways as well right now.  Not a blocker but should not be forgotten.
Comment 6 Gerrit Notification Bot 2013-05-08 14:47:48 UTC
Related URL: https://gerrit.wikimedia.org/r/62815 (Gerrit Change I14422cd85a3cf0200ea89953251b78b6b8d813cb)
Comment 7 Gerrit Notification Bot 2013-05-13 10:51:35 UTC
https://gerrit.wikimedia.org/r/62815 (Gerrit Change I14422cd85a3cf0200ea89953251b78b6b8d813cb) | change APPROVED and MERGED [by jenkins-bot]
Comment 8 Gerrit Notification Bot 2013-05-15 13:13:16 UTC
Related URL: https://gerrit.wikimedia.org/r/63845 (Gerrit Change I7054bfaf0ee8bb15f9caa7ed80f83a9182bb8fbb)
Comment 9 Gerrit Notification Bot 2013-05-15 13:53:58 UTC
Related URL: https://gerrit.wikimedia.org/r/63849 (Gerrit Change I54b1d9b47d60cbaa7429a750b9d38e2b9bd9dc59)
Comment 10 Gerrit Notification Bot 2013-05-17 15:21:21 UTC
https://gerrit.wikimedia.org/r/63845 (Gerrit Change I7054bfaf0ee8bb15f9caa7ed80f83a9182bb8fbb) | change APPROVED and MERGED [by Aude]
Comment 11 Gerrit Notification Bot 2013-05-17 15:23:23 UTC
https://gerrit.wikimedia.org/r/63849 (Gerrit Change I54b1d9b47d60cbaa7429a750b9d38e2b9bd9dc59) | change APPROVED and MERGED [by jenkins-bot]
Comment 12 Greg Grossmeier 2013-06-19 23:17:11 UTC
A) Is this bug still unresolved? I may be missing something, but those patches are merged and their commit messages read like it is done.

B) Even not done, does this issue still require Ops assistance?
Comment 13 Aude 2013-07-01 11:49:19 UTC
we still need to update the settings, which could be done next monday.

we also need to update the puppet config again for our test system (and add WikibaseDataModel dependency there)

we do not need ops for this.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links