Local repository is configured in $wgWBClientSettings using settgings: repoDatabase, entityNamespaces, repoConceptBaseUri, whereas foreign repositories are conigured using array setting "foreignRepositories". Those should be unified to a single "repositories" setting (local repo being empty-string repository there).
|· · ·|
|Resolved||Lydia_Pintscher||T76007 [Epic] add ability to link/refer to foreign items and properties (federation)|
|Open||None||T185748 Move all repoXXX client settings from $wgWBClientSettings to $wgWBClientSettings['repositories']|
|Resolved||Lydia_Pintscher||T153767 Unify basic local repository settings and foreign repository settings into a single setting (days: 8)|
|Resolved||WMDE-leszek||T185200 Change configs in beta to conform with the new repo settings|
|Open||None||T185310 Deprecate repoUrl and move it to $wgWBClientSettings['repositories']|
|Open||None||T185755 Change configs in prod to conform with the new repo settings|
|· · ·|
Please ignore my previous comment on also integrating Repo component's settings into a single "repositories" setting. Does not seem thought-through. Definitely something to be left out for now. So this is only about the Client's settings.
Things need to be done:
- Deprecated repoUrl and move it to repository definitions, how? I have absolutely no idea.
- Communicate about this deprecation.
- Change configs in beta and prod (I tried once and failed miserably)
- Remove the old config
I think it would be good to seperate them into several tickets so we don't drag it from sprint to sprint. The first and third point already have tickets.
I don't think moving repoUrl (and other stuff, like repoScriptPath, repoArticlePath) is critical. It was meant as part of this task indeed. I am going to make this ticket explicitly for unifying settings to repositories, and create a new repoXXX ticket. It does not need to be worked on right away IMO, though.