Page MenuHomePhabricator

Incorrect name for namespace 0 in JSON dumps
Closed, ResolvedPublicBUG REPORT

Description

https://dumps.wikimedia.org/other/enterprise_html/runs/20220301/frwiktionary-NS0-20220301-ENTERPRISE-HTML.json.tar.gz contains strings like "namespace":{"name":"Article","identifier":0},"in_language".

This is incorrect: namespace 0 is called "(main)". Only in some wikis the pages in namespace 0 are "articles".

Event Timeline

This comment was removed by Nemo_bis.

Hey @Nemo_bis - thanks for this - helpful feedback. Further investigating...we're using this Action API endpoint which appears to leave namespace 0 out which I believe we are hardcoding as Article...let me check with some teams about that and get back to this, but we should definitely rename according to language.

Invalid request. Closing the ticket. Please see https://phabricator.wikimedia.org/T308152 for more context.