[18:04:48] bearND: https://phabricator.wikimedia.org/T180384 [18:06:22] ty [20:18:10] mdholloway: how are you figuring out namespace? [20:18:16] For articles in other language? [20:18:42] mdholloway: this is something joewalsh is working on now [20:18:55] I’m figuring you are querying the MW API? [20:19:11] coreyfloyd: yeah, getting it from the MW API [20:19:57] for summaries we're actually only getting them for the main namespace now [20:21:24] this core patch i've submitted should make life easier, once it's merged: https://gerrit.wikimedia.org/r/#/c/385011/ [20:21:41] well, i guess that's more to do with variants [20:21:57] in general, though, the MW API is the source of truth [20:22:26] mdholloway: kk thanks [20:24:10] mdholloway: also we are getting some use cases on why we want to have summaries for other name spaces… so for the next version we can revisit that [20:24:18] ah cool [20:25:00] here's an example: https://de.wikipedia.org/w/api.php?action=query&prop=pageprops&titles=User:MHolloway_(WMF) [20:25:14] the API normalizes to the localized namespace name in the response [20:27:09] namespace info is also available via siteinfo [20:27:51] https://de.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=namespaces [20:30:07] so in the summary response when i'm getting the namespace text name, what i'm doing is taking the numeric namespace 'ns' for the page, and looking up query.namespaces[ns] from the siteinfo response i just linked [20:31:12] (better to use formatversion=2: https://de.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=namespaces&formatversion=2) [20:37:03] joewalsh: ^ [20:38:05] mdholloway: thanks [21:26:57] mdholloway: re vagrant, see the commit message in https://gerrit.wikimedia.org/r/#/c/380785/