Page MenuHomePhabricator

Document how to use CSS-only components in MediaWiki
Closed, ResolvedPublic

Description

Once the technical barriers to using CSS-only components in MediaWiki have been addressed, we need to document how to use them.

We need to explain how to:

  • Find documentation for the CSS-only versions of Codex components on the Codex docs site
  • Generate the HTML
  • Load the Codex styles
  • Import the tokens, in cases where that's needed
  • Import and use Less mixins, for components that need them (using mixins also requires importing the tokens)
  • Add documentation about using CSS-only components to https://www.mediawiki.org/wiki/Codex (or a subpage)
  • Remove the "CSS-only components are experimental" banner shown above every "CSS-only version" section on the Codex docs site
  • Make any other changes to the Codex docs site that may be needed

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Catrope triaged this task as High priority.Feb 24 2023, 3:44 AM
Catrope moved this task from Inbox to Codex Adoption on the Codex board.
Catrope moved this task from Inbox to Up Next on the Design-System-Team board.

I'm interested in this in the context of https://gerrit.wikimedia.org/r/c/mediawiki/core/+/893061 :-) I'd be happy to help write the documentation!

Catrope claimed this task.
Catrope updated the task description. (Show Details)