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).
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.