Jump to content

ICT:Senior friendly interface and security

From Costa Sano MediaWiki

Technical Configuration: Senior-Friendly Interface & Security

This document records the final stable configuration for the historical project application (MW 1.45 / Vector 2022 / PHP 8.2).

1. Skin & Dark Mode

The project uses Vector 2022 with the native Night Mode enabled to support aged eyes (>70).

  • Default User Option: $wgDefaultUserOptions['vector-theme'] = 'night';
  • Accessibility: Native Spectacles (Appearance) menu enabled for manual Light/Dark toggling.

2. Namespace & Group Protection

  • Main (ns-0): Protected library; Read-only for users.
  • Research (ns-3000): Active drafting workshop; Users retain all "Wiki Tools" (Edit/History).
  • Dashboard (ns-3020): The "App" entry point. Locked interface for seniors.
  • ICT (ns-3002): Technical documentation; Restricted to Sysops.

3. Interface Lockdown (CSS Layer)

We use a tiered CSS strategy to simplify the view for seniors while preserving administrative power.

MediaWiki:Group-user.css (Senior Experience)

Hides the Page Toolbar (Read/Edit/History) in Clean Namespaces to reduce cognitive load.

.ns-3020 .vector-page-toolbar, .ns-0 .vector-page-toolbar,
.ns-3020 .vector-column-end, .ns-0 .vector-column-end { display: none !important; }
.ns-3020 .mw-content-container, .ns-0 .mw-content-container { max-width: none !important; }
.mw-body-content .mw-ui-button, .mw-body-content .pfForm { display: inline-block !important; visibility: visible !important; }

MediaWiki:Group-sysop.css (Admin Workspace)

Restores all tools for the Sysop using a fluid, absolute-positioned layout.

html body.skin-vector-2022 .vector-page-toolbar { display: flex !important; visibility: visible !important; }
html body.skin-vector-2022 .vector-column-end { display: block !important; visibility: visible !important; position: absolute !important; right: 0; }

4. Cargo Protection (LocalSettings.php)

Raw data browsing is blocked for non-admins using the SpecialPage_initList hook, ensuring seniors only interact with the data via validated Forms.