Invalid infobox value for https://fr.wikipedia.org/wiki/Marseille
page: https://fr.wikipedia.org/wiki/Marseille
Wikipedia value: 13055 et de [[Secteurs et arrondissements de Marseille|13201 à 13216]]
Expected: 13055 et de 13201 à 13216 probably ?
Actual: Secteurs et arrondissements de Marseille
await wiki.setLang('fr');
const page = await wiki.page('Marseille');
console.log(await page.infobox());
I'd suggest using the summary instead of infobox for a brief summary of the page.
We implement the infobox using infobox-parser - so any issues with infobox should be raised there.
It might be useful to to see how many people are using infobox info so we can understand should we have our own implementation for the same.
I'd suggest using the summary instead of infobox for a brief summary of the page.
We implement the infobox using infobox-parser - so any issues with infobox should be raised there.
It might be useful to to see how many people are using infobox info so we can understand should we have our own implementation for the same.
Thank you for your response. To clarify, I wanted the value of "insee" specifically, not a summary of the page.