User:Admin: Difference between revisions

From AlphaX Wiki
Jump to navigation Jump to search
Add admin management tools hub with links to all relevant special pages
 
Fix geo dashboard HTML: remove onclick attrs (JS wires events via Common.js), clean up buttons and layout
 
(2 intermediate revisions by the same user not shown)
Line 77: Line 77:
* [[Special:WhatLinksHere|What Links Here]] – Find all pages linking to a given page
* [[Special:WhatLinksHere|What Links Here]] – Find all pages linking to a given page
* [[Special:SpecialPages|All Special Pages]] – Browse the full list of special pages
* [[Special:SpecialPages|All Special Pages]] – Browse the full list of special pages
== Users by Country ==
<div id="geo-dashboard" style="font-family:sans-serif;background:#111;border:1px solid #333;border-radius:8px;padding:20px;color:#eee;">
<div style="display:flex;gap:16px;flex-wrap:wrap;margin-bottom:20px;">
<div style="flex:1;min-width:130px;background:#1a1a1a;border:1px solid #ff6600;border-radius:6px;padding:16px;text-align:center;">
<div id="geo-total" style="font-size:2em;font-weight:bold;color:#ff6600;">–</div>
<div style="color:#aaa;font-size:0.85em;margin-top:4px;">Total Users</div>
</div>
<div style="flex:1;min-width:130px;background:#1a1a1a;border:1px solid #444;border-radius:6px;padding:16px;text-align:center;">
<div id="geo-countries" style="font-size:2em;font-weight:bold;color:#ff6600;">–</div>
<div style="color:#aaa;font-size:0.85em;margin-top:4px;">Countries</div>
</div>
<div style="flex:1;min-width:130px;background:#1a1a1a;border:1px solid #444;border-radius:6px;padding:16px;text-align:center;">
<div id="geo-active-day" style="font-size:2em;font-weight:bold;color:#ff6600;">–</div>
<div style="color:#aaa;font-size:0.85em;margin-top:4px;">Active Today</div>
</div>
<div style="flex:1;min-width:130px;background:#1a1a1a;border:1px solid #444;border-radius:6px;padding:16px;text-align:center;">
<div id="geo-active-week" style="font-size:2em;font-weight:bold;color:#ff6600;">–</div>
<div style="color:#aaa;font-size:0.85em;margin-top:4px;">Active This Week</div>
</div>
<div style="flex:1;min-width:130px;background:#1a1a1a;border:1px solid #444;border-radius:6px;padding:16px;text-align:center;">
<div id="geo-active-month" style="font-size:2em;font-weight:bold;color:#ff6600;">–</div>
<div style="color:#aaa;font-size:0.85em;margin-top:4px;">Active This Month</div>
</div>
</div>
<div style="display:flex;gap:10px;margin-bottom:16px;flex-wrap:wrap;align-items:center;">
<button id="geo-btn-day" style="background:#ff6600;color:#fff;border:none;padding:8px 18px;border-radius:4px;cursor:pointer;font-weight:bold;">Today</button>
<button id="geo-btn-week" style="background:#333;color:#eee;border:1px solid #555;padding:8px 18px;border-radius:4px;cursor:pointer;">This Week</button>
<button id="geo-btn-month" style="background:#333;color:#eee;border:1px solid #555;padding:8px 18px;border-radius:4px;cursor:pointer;">This Month</button>
<button id="geo-btn-all" style="background:#333;color:#eee;border:1px solid #555;padding:8px 18px;border-radius:4px;cursor:pointer;">All Time</button>
<span id="geo-updated" style="margin-left:auto;color:#555;font-size:0.8em;"></span>
</div>
<div style="background:#1a1a1a;border:1px solid #333;border-radius:6px;padding:8px;margin-bottom:16px;">
<svg id="geo-world-map" viewBox="0 0 900 250" style="width:100%;height:auto;display:block;"></svg>
</div>
<div id="geo-table-wrap" style="background:#1a1a1a;border:1px solid #333;border-radius:6px;overflow:hidden;margin-bottom:16px;">
<div id="geo-table-title" style="padding:12px 16px;border-bottom:1px solid #333;font-weight:bold;color:#ff6600;font-size:0.95em;">Users by Country</div>
<table style="width:100%;border-collapse:collapse;font-size:0.9em;">
<thead><tr style="background:#222;color:#aaa;text-align:left;">
<th style="padding:10px 16px;">#</th>
<th style="padding:10px 16px;">Country / Language</th>
<th style="padding:10px 16px;text-align:right;">Users</th>
<th style="padding:10px 16px;">Share</th>
<th style="padding:10px 16px;text-align:right;">Edits (period)</th>
</tr></thead>
<tbody id="geo-table-body"><tr><td colspan="5" style="padding:20px;text-align:center;color:#666;">Loading...</td></tr></tbody>
</table>
</div>
<div style="background:#1a1a1a;border:1px solid #333;border-radius:6px;padding:16px;">
<div style="font-weight:bold;color:#ff6600;margin-bottom:10px;font-size:0.95em;">Daily Edit Activity — Last 30 Days</div>
<div id="geo-activity-bars" style="display:flex;align-items:flex-end;gap:3px;height:70px;"></div>
<div id="geo-activity-labels" style="display:flex;gap:3px;margin-top:4px;font-size:0.65em;color:#555;"></div>
</div>
<div style="margin-top:12px;color:#555;font-size:0.75em;">📍 Country detection uses Babel language tags on user pages (e.g. <code>{{#babel:de|en}}</code>). Users without Babel tags appear as "Unknown". Edit activity is sourced from the wiki's recent changes log.</div>
</div>

Latest revision as of 05:12, 12 May 2026

Admin Management Tools

This page serves as a quick-reference hub for all administrative tools on AlphaX Wiki.

Users & Rights

Content Management

Recent Changes & Logs

Maintenance Reports

Media & Files

Data & Tools

Page Tools


Users by Country

Total Users
Countries
Active Today
Active This Week
Active This Month

<button id="geo-btn-day" style="background:#ff6600;color:#fff;border:none;padding:8px 18px;border-radius:4px;cursor:pointer;font-weight:bold;">Today</button> <button id="geo-btn-week" style="background:#333;color:#eee;border:1px solid #555;padding:8px 18px;border-radius:4px;cursor:pointer;">This Week</button> <button id="geo-btn-month" style="background:#333;color:#eee;border:1px solid #555;padding:8px 18px;border-radius:4px;cursor:pointer;">This Month</button> <button id="geo-btn-all" style="background:#333;color:#eee;border:1px solid #555;padding:8px 18px;border-radius:4px;cursor:pointer;">All Time</button>

<svg id="geo-world-map" viewBox="0 0 900 250" style="width:100%;height:auto;display:block;"></svg>

Users by Country
<thead></thead> <tbody id="geo-table-body"></tbody>
# Country / Language Users Share Edits (period)
Loading...
Daily Edit Activity — Last 30 Days
📍 Country detection uses Babel language tags on user pages (e.g.
Babel user information
de-N Dieser Benutzer spricht Deutsch als Muttersprache.
en-N This user has a native understanding of English.
Users by language
). Users without Babel tags appear as "Unknown". Edit activity is sourced from the wiki's recent changes log.