Help:Ephemera Agent/Browser

From Encyclopedia Ephemera
Revision as of 04:29, 1 April 2026 by EphemeraAdmin (talk | contribs) (Import: Help:Ephemera Agent/Browser)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Overview

The BROWSER view is an integrated wiki browser with two display modes. Switch to it using the BROWSER button in the header, or the agent switches to it automatically after editing a page.

Preview Mode

Fetches the page from the wiki using the MediaWiki parse API and renders it as HTML. Internal wiki links are intercepted — clicking them loads the linked page in the preview pane instead of navigating away. External links open in a new tab.

After any successful agent edit, the tool automatically switches to BROWSER/PREVIEW and loads the updated page.

Diff Mode

Shows a line-by-line diff of the two most recent revisions of the current page. Unchanged sections are collapsed to 3 lines of context around each change.

After an agent edit, the diff is pre-computed and ready immediately — switch to the DIFF tab to see exactly what changed.

Colour coding:

  • Green (+) — added lines
  • Red (-) — removed lines
  • Grey — context lines

Search

The search bar at the top of the browser panel searches your wiki using the MediaWiki search API and shows results as a clickable dropdown. Click any result to load it in preview. Press Enter or click SEARCH.

Back Button

The ◀ BACK button walks back through pages you've visited in the browser during the current session. Each page you navigate to is pushed onto a session history stack.

Red Link AutoGen

When Enable red link detection is on in the Settings tab, red links in the preview pane are highlighted with a dashed red underline and a ⚡ indicator.

Click to generate (explore mode)
Click any red link to immediately trigger the agent to create that page. The new page loads in the preview automatically. This creates a "wiki rabbit hole" experience — the wiki expands as you browse through missing pages.
Batch mode
When red links are detected, a ⚡ Generate N red links button appears in the browser toolbar. Click it to process all red links on the current page sequentially, with a 1-second pause between each.

In both modes, the agent uses the Context depth and Page type settings from the Settings tab to govern how content is generated.