website wiki analysis

Guide for website wiki analysis

Comprehensive Analysis: loh-website & loh-wiki

Date: 2026-01-20 Scope: Missing features, bugs, unimplemented behaviors, and content opportunities

Executive Summary

After analyzing both loh-website and loh-wiki codebases, I've identified 6 critical gaps, 15+ feature opportunities, and numerous content expansion areas. The primary issues revolve around:
  1. Checkout is non-functional (placeholder only)
  2. Wiki content is incomplete (many placeholder pages)
  3. Download page is non-functional (no actual downloads)
  4. Knowledge Base → Wiki sync is partial (55 quests in KB, ~0 on wiki)
  5. Several API integrations are mocked
  6. Missing user account features (orders, dashboard)

🔴 Critical Issues (Must Fix)

1. Checkout Page is Broken

File: loh-website/app/checkout/page.tsx
The checkout page is a complete placeholder:
export default function CheckoutPage() {
    return (
        <div>
            <h1>Checkout</h1>
            <p>The Grand Market is currently closed for maintenance.</p>
        </div>
    );
}
Impact: Users can add items to cart but cannot complete purchases.
Recommendation:
  • Implement cart review UI
  • Add payment method selection (placeholder until payments integrated)
  • Add order summary component
  • Connect to the orders table mentioned in pending_tasks.md

2. Download Page Has No Actual Downloads

File: loh-website/app/download/page.tsx
The download buttons are non-functional:
  • Windows button has no href or onClick
  • macOS is disabled (Coming Soon)
  • No Linux option despite FAQ mentioning Linux support
Recommendation:
  • Add actual download links when builds are available
  • Add "Coming Soon" waitlist for all platforms
  • Add version history/changelog section
  • Consider adding a Web Client launcher option

3. Wiki Content Gaps vs Knowledge Base

CategoryKnowledge BaseWikiGap
Quests55 detailed files0-1 placeholder55 quests missing
Skills18 files16 pages2 missing (Slayer, Hunting)
Lore9 files0All lore missing
Items3 directories~4 pagesItem database missing
Guides15 files5 placeholder pages10 guides missing

4. Reserve Spot / Email Capture is Mock

File: loh-website/app/api/reserve/route.ts
// TODO: Connect to actual backend service
The reservation form captures email but doesn't persist anywhere.

🟡 Missing Features (Website)

5. Membership Tab is Commented Out

File: loh-website/app/store/page.tsx:126-131
The Membership tab is intentionally hidden:
{/* <TabButton
    label="Membership"
    isActive={activeTab === 'membership'}
    onClick={() => setActiveTab('membership')}
/> */}
Recommendation: Either implement or remove the code entirely.

6. News Page Has No Dynamic Content Source

File: loh-website/app/news/page.tsx
News is fetched from getNews() but:
  • No CMS or database backend
  • Content is likely hardcoded or mock data
  • No admin interface to publish news
Recommendation:
  • Integrate with a headless CMS (Sanity, Strapi) or
  • Create markdown-based news system in knowledge-base
  • Add news article individual pages (/news/[slug])

7. Highscores Page Has Mock Data

File: loh-website/app/highscores/page.tsx
Calls getHighscores() but no actual game server connection exists. The data is mock.

8. Support Ticket System is Mock

File: loh-website/app/support/page.tsx:50-56
const handleSubmit = async (e: React.FormEvent) => {
    // Mock API call
    await new Promise(resolve => setTimeout(resolve, 1500));
    setSubmitted(true);
};
Tickets are not actually saved or sent anywhere.

9. Auth System TODOs

File: loh-website/lib/auth-context.tsx
  • Line 52: // TODO: Pass captchaToken to API once supported
  • Line 96: // TODO: Pass captchaToken to API once supported
reCAPTCHA integration is incomplete.

10. Mobile App Waitlist is Mock

File: loh-website/app/mobile/page.tsx
Email submission goes nowhere:
const handleSubmit = (e: React.FormEvent) => {
    e.preventDefault();
    setSubmitted(true);
    // Mock submission
};

🟡 Missing Features (Wiki)

11. Search Relies on Static JSON Index

File: loh-wiki/src/components/wiki/SearchComponent.tsx
The search loads from /search_index.json:
  • No real-time search
  • Index must be manually regenerated
  • May become stale
Recommendation:
  • Implement API endpoint for search
  • Add build-time index generation script
  • Consider Algolia or Typesense for better search UX

12. No Wiki Edit Functionality

The wiki has a DB (wiki.db) but:
  • No edit UI for content
  • No version history UI (though wiki_revisions table exists)
  • No user contribution system
Recommendation:
  • Add staff-only edit mode
  • Add "Report Issue" button on each page
  • Consider adding history viewer

13. Grand Bazaar / Price Checker is Stub

Files:
  • loh-wiki/src/lib/api/grand-bazaar.ts
  • loh-wiki/src/components/grand-bazaar/PriceChart.tsx
The Grand Bazaar (GE-equivalent) feature exists in components but:
  • No actual price data
  • No trading volume tracking
  • No historical charts

14. MTX Price Display Missing Data Source

File: loh-wiki/src/components/wiki/MTXPriceDisplay.tsx
Shows shop item prices on wiki but data source may not be connected.

🔵 Content Expansion Opportunities

15. Quest Content (Priority: HIGH)

55 quests in Knowledge Base that need wiki pages:
  • The River's Vow
  • Education of Princes
  • Division of the Kingdom
  • Karna's Companion
  • Krishna's Divine Mystery
  • Kurukshetra Parts 1-4
  • And 46 more...
Action: Sync quest KB files → Wiki database

16. Lore Pages (Priority: HIGH)

9 lore files in KB need wiki exposure:
  • Location lore
  • Character backgrounds
  • World history
  • Faction information

17. Item Database (Priority: MEDIUM)

The wiki lacks:
  • Equipment browser (weapons, armor)
  • Consumables list
  • Material/resource catalog
  • Drop table viewer
  • GE price history
The backend has items.csv with 100+ items that should be exposed.

18. NPC Database (Priority: MEDIUM)

Missing:
  • Monster bestiary with stats
  • Shop NPCs and inventories
  • Quest NPC locations
  • Boss guides

19. Interactive World Map (Priority: MEDIUM)

File: loh-wiki/src/lib/wiki/content/guides/world-map.ts
Currently placeholder text:
"An interactive world map will be added after launch."
Recommendation:
  • Create interactive Leaflet/MapLibre map
  • Add location markers (cities, dungeons, resources)
  • Add layer toggles (skill locations, transportation)

20. Skill Training Calculators (Priority: MEDIUM)

Currently missing:
  • XP Calculator (current → target level)
  • Optimal training paths per level range
  • Cost/profit calculators for production skills
  • Time-to-level estimator

21. Money Making Guide Expansion

File: loh-wiki/src/lib/wiki/content/guides/money-making.ts
Current content is sparse. Needs:
  • Methods table with GP/hour estimates
  • Skill requirements breakdown
  • Risk levels (PvP areas etc.)
  • Quick reference for different tiers (low, mid, high level)

22. Combat Calculators

Missing tools:
  • Max hit calculator
  • DPS calculator
  • Equipment comparison tool
  • Prayer drain calculator

23. Drop Table Viewer

The backend has DropTable logic but wiki lacks:
  • Visual drop table display per monster
  • Rare drop highlight
  • Luck modifier explanations

24. Achievement/Diary System

Not implemented:
  • Achievement diary pages
  • Completion checklists
  • Reward displays

🟢 UX/Polish Improvements

25. Community Page Stats are Hardcoded

File: loh-website/app/community/page.tsx:85-101
<div className="text-4xl font-bold">15k+</div>
<div>Discord Members</div>
// All stats are hardcoded mock values
Recommendation: Fetch real Discord member count via API

File: loh-website/components/Footer.tsx
Check that all footer links point to live pages.

27. Missing 404 Handler on Website

While the wiki has a smart not-found.tsx with fuzzy matching, the main website may lack this.

28. No Accessibility Review

  • Missing aria-labels on some interactive elements
  • Color contrast may need review
  • Keyboard navigation untested

29. SEO Metadata Incomplete

  • Individual news articles need meta tags
  • Store items need structured data (JSON-LD)
  • Wiki pages need Open Graph images

📋 Prioritized Action Items

Tier 1 (Critical - Before Launch)

  1. Implement checkout flow (even with mock payments)
  2. Sync 55 quests from KB to Wiki
  3. Fix support ticket submission to actually save
  4. Add download links or proper "coming soon" modal

Tier 2 (High Priority)

  1. Populate wiki with all KB skill content
  2. Add lore pages to wiki
  3. Implement news CMS or markdown system
  4. Create item database browser

Tier 3 (Medium Priority)

  1. Interactive world map
  2. Skill calculators
  3. Combat calculators
  4. Drop table viewer
  5. Grand Bazaar price tracker

Tier 4 (Polish)

  1. Real Discord stats fetch
  2. 404 page for main website
  3. Accessibility audit
  4. SEO structured data

Technical Debt Summary

AreaIssueSeverity
CheckoutCompletely unimplemented🔴 Critical
PaymentsBlocked on incorporation (OK)⚪ Blocked
SupportMock only🟡 Medium
Mobile WaitlistMock only🟡 Medium
Auth/CAPTCHATODO incomplete🟡 Medium
Wiki SearchStatic JSON🟢 Low
StatsHardcoded🟢 Low

Conclusion

The website and wiki have solid foundations but significant content gaps. The most impactful improvements would be:
  1. Fix checkout to allow actual purchases (even if payment is mocked)
  2. Sync KB → Wiki to expose the 55+ quests and comprehensive skill guides
  3. Add interactive tools (calculators, maps) that players expect from a game wiki
The infrastructure (D1 database, shop-api, account-api) appears ready; the gap is mostly in connecting the frontend to these services and populating content.