Jump to content

EVE-EMU/Extensions: Difference between revisions

From EVE-EMU Universe Wiki
Solomon Iskander (talk | contribs)
Added page access controls
Tag: 2017 source edit
Solomon Iskander (talk | contribs)
Updated security group for member access to <F4L5E>
Tag: 2017 source edit
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#eveaccess:members}}
{{#eveaccess:public}}


= EVE-EMU Wiki Extensions =
= EVE-EMU Wiki Extensions =
Line 58: Line 58:
| Public (default) || <code><nowiki>{{#eveaccess:public}}</nowiki></code> || Everyone
| Public (default) || <code><nowiki>{{#eveaccess:public}}</nowiki></code> || Everyone
|-
|-
| Members only || <code><nowiki>{{#eveaccess:members}}</nowiki></code> || Any logged-in user
| Members only || <code><nowiki>{{#eveaccess:<F4L5E>}}</nowiki></code> || Any logged-in user
|-
|-
| Auth groups || <code><nowiki>{{#eveaccess:Group A|Group B}}</nowiki></code> || Users in at least one listed Alliance Auth group (synced at login)
| Auth groups || <code><nowiki>{{#eveaccess:Group A|Group B}}</nowiki></code> || Users in at least one listed corporation or alliance Auth group (synced at login)
|}
|}


Line 71: Line 71:
</pre>
</pre>


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


== SSO (Alliance Auth OIDC) ==
== SSO (Alliance Auth OIDC) ==
Line 93: Line 93:
Administrators import SDE data with the <code>importEveSde.php</code> maintenance script. See the project <code>docs/MEDIAWIKI.md</code> for export/import commands.
Administrators import SDE data with the <code>importEveSde.php</code> maintenance script. See the project <code>docs/MEDIAWIKI.md</code> for export/import commands.


[[Category:Basic Guides]]
[[Category:wiki Maintenance]]
[[Category:wiki Maintenance]]

Latest revision as of 19:05, 6 July 2026


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}}

WOMP alliance logo:

{{#eveally:99010468|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; type IDs redirect).

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:<F4L5E>}} Any logged-in user
Auth groups {{#eveaccess:Group A|Group B}} Users in at least one listed corporation or 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.