resourceloader: Add wgWikiID to mw.config in the startup module
authorRoan Kattouw <roan.kattouw@gmail.com>
Thu, 4 Jul 2019 01:41:07 +0000 (18:41 -0700)
committerCatrope <roan@wikimedia.org>
Tue, 3 Sep 2019 17:48:23 +0000 (17:48 +0000)
commitd45baf7f0734a2506c77925064f42bc13e1bff5e
tree77d134de8c1c6471a01ed757a5994929effee687
parent8a4917968baece3fccf9428ea7fe7e71be5b3858
resourceloader: Add wgWikiID to mw.config in the startup module

This was previously just added by Echo, but it's generally useful.

We should probably deprecate wgDBname, because wgWikiID is a better wiki
identifier that also works when two wikis have different table prefixes
in the same database, but that'll take some work because a number of
things rely on it right now (including ResourceLoader itself, for its
localStorage keys).

Change-Id: I4d289267991f1f9a8e0710ec6ee5a2131306c510
includes/resourceloader/ResourceLoaderStartUpModule.php