Open yolpsoftware opened 2 years ago
@dijs no problem if you don't have time to fix this, but can you please answer my question?
Sorry for the long delay. infobox-parser
is the parsing engine used by wikijs
.
As far as the parsing mistakes, there could be many reasons why this isn't working perfectly. Wiki page sources are notoriously hard to parse... which is why I made this in the first place.
I will use this page in a unit test for infobox-parser
and try to fix the issues.
I use the following code:
This is the result:
Results with the
fullInfo
command is similar.There are several issues:
combatant
data is unusable.commander2
data is incomplete.I isn't clear to me if the
infobox-parser
package is included inwikijs
. According to the docs, the two packages are separate, but apparentlywikijs
parses the infobox anyway.Can I use
infobox-parser
together withwikijs
?