MDN tools - The MDN project 编辑

MDN offers a number of features that make it easier to track progress, manage content, and keep up with the latest changes to the site.

KumaScript
On the Kuma platform that powers MDN, the template system for automating aspects of content on the wiki is called KumaScript. KumaScript is powered by server-side JavaScript, implemented using Node.js.
MDN-related add-ons and plug-ins
Members of the MDN community have launched many fun and/or useful projects to create tools, add-ons, and utilities that make it easier to use MDN or to contribute to its content.
Page deletion
Only MDN administrators are able to delete pages. As a non-admin user, you can request that a page be deleted.
Page moving
The page move tool lets an editor change the URL or slug of a document, and all its sub-pages, in the MDN tree. It is a powerful tool that is very handy when reorganizing pages, or fixing incorrectly positioned pages.
PUT API
The MDN wiki provides an experimental HTTP PUT API for updating documents in whole or by section.
Rerendering pages on MDN
Because MDN caches rendered content for performance reasons, changes made to source material (such as macro output or transcluded pages) are not automatically reflected in the page. If you expect frequent changes to such source materials, you might want to consider enabling automatic regeneration of your page.
Revision dashboard
The revision dashboard is a feature of the MDN Web Docs wiki which lets you look at recent revisions and additions to content on MDN, examine details of what was changed, and act upon those revisions in various ways.
RSS feeds
The MDN wiki offers a number of feeds that you can use to monitor the site.
Search on MDN
The on-site search feature of MDN offers a number of features that may not be available when using an external search engine to search for MDN articles. This article describes how to leverage MDN's search engine.
Special pages
MDN has a number of "special" pages; these are pages which aren't editable wiki pages, but instead provide information about the site or allow basic maintenance tasks to be performed. This guide briefly describes these special pages.
Template editing
Anyone editing MDN wiki pages can invoke templates via macros in MDN articles.  Anyone can create and edit templates via the KumaScript GitHub repository using standard open-source practices (fork the repo, create a branch, make your changes, and submit a pull-request for review).
The MDN sample server
While MDN's Kuma platform provides a built-in live sample system for presenting simple (and even not-so-simple) code samples with the code's output displayed in-context, there are things that doesn't allow, and there are samples that require a server to talk to. For those things, we have the MDN sample server, which solves these and other problems.
Unsupported GET API
MDN's platform, Yari, doesn't provide a supported GET API. However, Yari does currently provide an unsupported mechanism that exposes JSON resources which you can retrieve with HTTP GET requests and then consume programmatically.
Watch or subscribe to a page or set of pages
Subscribing to a page on MDN allows you to be notified by email whenever it is updated or changed.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:63 次

字数:5589

最后编辑:6 年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文