wiki-plugin-family
v0.4.0
Published
Federated Wiki - Family Plugin — gather configurable families of related wiki sites (sisters, parent, children, farm, neighbourhood) into your neighborhood
Maintainers
Readme
Federated Wiki - Family Plugin
Plugin type: family. Gathers configurable families of related wiki sites
and adds them to your neighborhood. An augmentation of the
Present plugin: instead
of only listing sister sites, the item text is a list of keywords choosing
which families to gather.
Commands (one per line in the item text)
The item text follows the fedwiki DSL convention: each line is a command — UPPERCASE is canonical, input case is forgiven, and a single trailing colon (YAML-style) is optional.
| Command | Gathers | Source |
|---|---|---|
| FAMILY | PARENT + SISTERS together (shorthand) | server |
| SISTERS | sibling sites sharing the parent domain | server |
| PARENT | the parent-domain site itself | server |
| CHILDREN | direct sub-domains of this site | server |
| DESCENDANTS | all sub-domains, any depth | server |
| FARM | every wiki in the farm | server |
| NEIGHBOURHOOD | the sites currently in your neighborhood | client |
| SNAPSHOT | freeze the current neighborhood (v0.1 == NEIGHBOURHOOD) | client |
Example item text:
FAMILYBuild
npm install
npm run build # esbuild: src/client/family.js -> client/family.jsHow it differs from Present
Present computes peers from the farm root (argv.data), which misfires in a
farm laid out as {farm}/{sub}.{domain}/. Family derives the origin from the
requesting site (argv.status) and resolves each family relative to it.
License
MIT
