Jump to content

EVE-EMU/Extensions

From EVE-EMU Universe Wiki
Revision as of 13:44, 18 June 2026 by Admin (talk | contribs) (EVE-EMU custom MediaWiki extensions and parser functions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

EVE-EMU Wiki Extensions

This wiki runs custom extensions built for the EVE-EMU stack. Parser functions render EVE assets from images.evetech.net. SSO uses Alliance Auth OIDC.

EveSDE parser functions

All functions are case-sensitive. Use the {{#name:...}} form.

Function Syntax Description
Type icon {{#eveicon:typeID|size}} Renders a type icon (default size 64)
Type render {{#everender:typeID|size}} Renders a type portrait (default 256)
Corp logo {{#evecorp:corpID|size}} Corporation logo
Alliance logo {{#eveally:allianceID|size}} Alliance logo
Show Info panel {{#eveshowinfo:kind|id|name|Field=Value;...}} In-game style info box (kind: type, corp, alliance)
Page access {{#eveaccess:rule}} Restrict who can read the page (see below)

Examples

Tritanium (type 34) icon and render:

{{#eveicon:34|64}} {{#everender:34|128}}

False Gods corporation logo:

{{#evecorp:98799892|128}}

Show Info panel for a ship:

{{#eveshowinfo:type|606|Velator|Group=Frigate;Race=Minmatar}}

Live SDE pages are under SDE/Home (e.g. Tritanium).

Page access (public vs auth groups)

Add {{#eveaccess:...}} at the top of a page to control read access. Editing still requires a logged-in wiki account (via SSO).

Rule Syntax Who can read
Public (default) {{#eveaccess:public}} Everyone
Members only {{#eveaccess:members}} Any logged-in user
Auth groups {{#eveaccess:Group A|Group B}} Users in at least one listed Alliance Auth group (synced at login)

Example — officers only:

{{#eveaccess:Director|Executor}}

= Fleet doctrine =
...

Group names must match Alliance Auth state/group names exactly. Groups are synced from the OIDC groups claim when users log in.

SSO (Alliance Auth OIDC)

  • Auth dashboard: auth.eve-emu.com
  • Wiki login: Special:UserLogin → openidconnect
  • Permissions: anonymous users can read public pages; members (user group) can edit and upload

If login fails, an admin should re-register the OIDC client:

docker compose exec aa-web python /app/site/manage.py shell -c \
  "exec(open('/app/deploy/aa_docker/mediawiki_oidc_register.py').read()); register_mediawiki_oidc()"

EvePhoton skin

The wiki uses the EvePhoton skin (Tranquility dark palette) with EVE-EMU / False Gods branding. Chrome CSS lives in the EveSDE extension.

SDE bulk import

Administrators import SDE data with the importEveSde.php maintenance script. See the project docs/MEDIAWIKI.md for export/import commands.