OOUI/zh

OOUI allows developers to rapidly create responsive web user-interfaces and applications. It operates consistently across a multitude of browsers and is internationalization and accessibility ready.

OOUI庫包含：


 * ready-to-use widgets, layouts, and windows that can be instantiated directly or easily extended,


 * a PHP server-side compatible output for cases where JavaScript is not supported,


 * elements that can be easily mixed and matched to create custom user interfaces.

OOUI is available in MediaWiki Core, as well as on npm, Composer, and through cdnjs. OOUI implements a "WikimediaUI" theme – conforming to Wikimedia Foundation's design style guide. Interfaces built within MediaWiki use this theme by default, though different MediaWiki skins can and do over-ride this. See documentation about using OOUI in MediaWiki. It is successfully in use in 40+ web products by Wikimedia Foundation and volunteer developers. Note, that the library was originally created for entire user interface of VisualEditor, on top of the OOjs primer (Object-Oriented JavaScript, hence OOUI's former name "OOjs UI"). It has later been extended to serve MediaWiki Core with PHP implemented widgets or responsive interfaces in current project Advanced Mobile Contributions.

The source code is hosted on Gerrit and mirrored on GitHub.

文档
See the sidebar for a full list of documentation subpages.

See also:


 * API documentation generated from the source code on doc.wikimedia.org
 * Interactive demos online and in the project's  directory
 * A tutorial on building a Todo list application using OOUI step by step