Skip to content

Wrong extraction of {{lang|text}} clauses #747

@Bjoe60

Description

@Bjoe60

When input is in the format of {{lang|text}} in Wikipedia, dbpedia extracts nothing from within the braces.

Example:

https://dbpedia.org/page/Abruzzo
https://en.wikipedia.org/wiki/Abruzzo

native_name on wikipedia:

{{lang|nap|Abbrùzzu}} / {{native name|nap|Abbrùzze}}

Output on dbpedia (dbp:nativeName):

/

Expected output:

Abbrùzzu / Abbrùzze

Another example is https://en.wikipedia.org/wiki/Tokyo/https://dbpedia.org/page/Tokyo where native_name = {{Nihongo2|東京都}} is not extracted because it is evaluated to nothing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions