interwiki

vb interwiki SUBCOMMAND

Description

Manage the intermap that defines the mapping from interwiki tags to complete URLs for interwiki links.

Subcommands

vb interwiki delete

vb interwiki delete TAG ...

Description

Delete one or more interwiki maps.

vb interwiki edit

vb interwiki edit TAG --base URL --hash PATH --wiki PATH

Description

Create an interwiki referenced call TAG. The base URL is the –base option, which is required. The –hash and –wiki paths are optional. The TAG must be lower-case alphanumeric and must be unique. A new entry is created if it does not already exit.

vb interwiki list

vb interwiki list

Description

Show all interwiki mappings.

Examples

  • List interwiki mappings (empty on a new repo), then add one and list again

$ vb interwiki list
$ vb interwiki edit ex --base https://example.invalid --hash /hash/ --wiki /wiki/
$ vb interwiki list
ex              https://example.invalid
                https://example.invalid/hash/
                https://example.invalid/wiki/