wiki-editing

Guardrails for editing Legends of Hastinapur Wiki content

Wiki Content Guardrails

1. Vedic Terminology Enforcement

Strictly Prohibited Items (OSRS/RS3 Terms):
  • Hatchet -> ✅ Axe
  • Scimitar -> ✅ Talwar
  • Runite/Rune -> ✅ Divya
  • Mithril -> ✅ Soma
  • Adamant -> ✅ Meteoric
  • Prayer (skill name) -> ✅ Tapasya
  • General Store -> ✅ Mandi
  • Grand Exchange -> ✅ Grand Bazaar

2. Content Sync Workflow

Any change to knowledge-base/*.md or items.csv requires a sync to reflect in the Wiki app.
  1. Edit: Modify the Markdown or CSV file.
  2. Sync: Run npm run sync-kb in loh-wiki.
  3. Verify: Check wiki.db text or run the wiki locally (npm run dev).

3. Formatting Standards

  • Frontmatter: All MD files MUST have:
    ---
    title: "Page Title"
    description: "Brief summary"
    slug: "custom-slug" (optional, auto-generated from filename if missing)
    item_id: "csv_id" (optional, for injecting stats)
    ---
  • Images: Use /images/wiki/filename.png. Do NOT use external URLs.

4. Community Contributions

  • All community edits must come via Pull Request.
  • Review Checklist:
    • No OSRS terminology leakage.
    • Frontmatter is valid.
    • Lore aligns with Vedic/Indian mythology (no "Gielinor" references).