本代码库为求闻百科的界面样式、界面脚本和小工具代码库。相关样式表及 JavaScript 优化了求闻百科访客及编者的用户体验,并且为求闻百科用户提供了大量执行常见维护任务的方法。
求闻百科小工具库是基于 Awesome Gadgets 打造的。
Awesome Gadgets 是面向 MediaWiki 网站,用以统一存储、管理并编译全站小工具(Gadget)的工具。小工具开发者只需关心小工具本身的代码实现,无需关心其他方面。工具将自动检查语法、编译并部署到网站。Awesome Gadgets is a tool designed specifically for MediaWiki websites, with the goal of centralizing the storage, management, and compilation of all site-wide CSS/JavaScript and their peer pages. Developers of these gadgets can solely focus on implementing the code for their creations without the need to worry about other aspects. The tool will automatically check the syntax, compile, and deploy gadgets to the website.
MediaWiki:Gadgets-definition
MediaWiki:Gadget-section-*
(支持自动转换中文变体)/ (with automatic conversion of Chinese variations)MediaWiki:Gadget-*
(支持自动转换中文变体)/ (with automatic conversion of Chinese variations)MediaWiki:*.{js, css}
见文档。See documentation.