Skip to content

Wiki links with different languages #10

@yves-chevallier

Description

@yves-chevallier

I am writing a documentation in french and I notice Wikipedia links don't work. To test that I tried the following code, and only the second link works:

:::{list-table}

-  - [Ken Thompson](https://fr.wikipedia.org/wiki/Ken_Thompson)
-  - [Ken Thompson](https://en.wikipedia.org/wiki/Ken_Thompson)

:::

This is because WIKI_PATH is hardcoded in English:

WIKI_PATH = "https://en.wikipedia.org/wiki/"

It would be nice to either store the whole URL for simplicity or use a tuple for wiki_titles: (title, language).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions