awesome-gadgets
v4.10.0
Published
Storage, management, compilation, and automatic deployment of MediaWiki gadgets.
Maintainers
Readme
Awesome Gadgets
简介 / Introduction
Awesome Gadgets 是专为 MediaWiki 设计的全站小工具(Gadget)统一管理解决方案。开发者只需专注于核心代码实现,其余工作(包括语法检查、编译与部署、资源管理)将由本工具自动完成。Awesome Gadgets is a comprehensive solution for centralized management of site-wide Gadgets (CSS/JavaScript and related pages) on MediaWiki platforms. It allows developers to focus exclusively on core code implementation, while automating auxiliary processes including syntax validation, compilation and deployment, and resource management.
核心特性 / Key Features
🤖 智能部署系统Smart Deployment System
- 自动生成与部署Automated Generation & Deployment
MediaWiki:Gadgets-definitionMediaWiki:Gadget-section-*(中文变体自动转换)/(with auto-conversion for Chinese variants)MediaWiki:Gadget-*(中文变体自动转换)/(with auto-conversion for Chinese variants)MediaWiki:*.{js, css}
- 自动清理遗留页面Automatic Legacy Cleanup
- 自动删除不再需要的部署页面Automatically purge deprecated deployment pages
🌐 MediaWiki 深度集成Native MediaWiki Integration
- ResourceLoader 模块支持ResourceLoader Module Support
- 多站点管理Multi-site Management
- 支持多站点部署与独立控制Support cross-site deployment with independent toggle controls
🚀 现代编译工具链Next-Gen Compilation Toolchain
- 高效编译引擎Optimized Compilation
- 使用 esbuild 构建,通过 Babel 转译确保兼容性Build with esbuild and transpile via Babel for maximum compatibility
- 现代语法支持Modern Syntax Support
快速开始 / Getting Started
完整使用指南请参阅:构建与部署文档See full documentation: Build & Deployment Guide
最佳实践 / Best Practices
- QiuwenGadgets - 生产环境实现案例Production-ready implementation maintained by @qiuwenbaike
