WME PLN Module - Stats Handler

Módulo de estadísticas para WME Place Normalizer. No funciona por sí solo.

Dieses Skript sollte nicht direkt installiert werden. Es handelt sich hier um eine Bibliothek für andere Skripte, welche über folgenden Befehl in den Metadaten eines Skriptes eingebunden wird // @require https://update.greatest.deepsurf.us/scripts/548858/1657861/WME%20PLN%20Module%20-%20Stats%20Handler.js

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Autor
Mauricio Otálvaro Ospina
Version
9.0.0
Erstellt am
08.09.2025
Letzte Aktualisierung
09.09.2025
Größe
9,58 KB
Lizenz
MIT

### Propósito

Este script es un módulo de librería para el **WME Place Normalizer**. Encapsula toda la lógica relacionada con el seguimiento de las estadísticas del editor, incluyendo:
* La creación del panel visual de estadísticas.
* El registro de cada normalización realizada.
* El guardado y la carga de las estadísticas desde `localStorage` para que persistan entre sesiones.

---
### Módulo de

* **[WME Places Name Normalizer (Script Principal)](https://greatest.deepsurf.us/es/scripts/530268-wme-places-name-normalizer)**

---
### Uso

Esta librería no está diseñada para ser instalada directamente. Es invocada a través de la directiva `@require` por el script principal `WME_PLN_main.user.js`.

---
### Funciones Principales

* `createStatsPanel()`: Construye la interfaz gráfica del panel de estadísticas.
* `recordNormalizationEvent()`: Actualiza las estadísticas después de que un editor normaliza un lugar.
* `loadEditorStats()`: Carga las estadísticas guardadas al iniciar el script.
* `saveEditorStats()`: Guarda las estadísticas en el almacenamiento local.

---
**Versión de Arquitectura:** 9.0.0 (Modular)