Skip to content

.info() returns wrong data #170

@yolpsoftware

Description

@yolpsoftware

I use the following code:

import wiki from 'wikijs';

// ...

const page = await wiki().page("Thirty Years' War");
const info = await page.info();

This is the result:

image

Results with the fullInfo command is similar.

There are several issues:

  • Several results just have a "Sfn" or "Efn" string. Not sure what that means.
  • All the combatant data is unusable.
  • commander2 data is incomplete.

I isn't clear to me if the infobox-parser package is included in wikijs. According to the docs, the two packages are separate, but apparently wikijs parses the infobox anyway.

Can I use infobox-parser together with wikijs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions