Page components/about: Difference between revisions
Created page with "For a long time I've wanted to be able to package the "scaffolding" required to author beautiful pages in MediaWiki so that the first thing you do (as an author) is create content rather than to setup scaffolding. By scaffolding, I'm referring to all the things missing from MediaWiki like "help" namespace content, Templates (with a capital T), images or icons used in interface elements or general-purpose templates and other things that would be like a "Starter Kit" to ma..." |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 19: | Line 19: | ||
== Codex == | == Codex == | ||
[https://doc.wikimedia.org/codex/latest/using-codex/accessing-codex.html Codex] is the design system in MediaWiki. Actually it is available to any project, and MediaWiki is the primary use case. Codex has [https://doc.wikimedia.org/codex/latest/components/overview.html components] like '''accordion''' that can be used by Skin or Extension developers; and also in Javascript. The components are for building usable, accessible, translatable applications. | [https://doc.wikimedia.org/codex/latest/using-codex/accessing-codex.html Codex] is the design system in MediaWiki. Actually it is available to any project, and MediaWiki is the primary use case. Codex has [https://doc.wikimedia.org/codex/latest/components/overview.html components] like '''accordion''' that can be used by Skin or Extension developers; and also in Javascript. The components are for building usable, accessible, translatable applications. | ||
== Templates == | |||
Templates are one fundamental building block in MediaWiki that allows for consistently presenting information. The prime example is the '[[Template:Infobox|infobox]]' ubiquitous to Wikipedia articles. There are many "problems" with templates. The polished result found on Wikipedia is dependent on a huge number of interconnected templates, CSS style pages, and Lua modules - all of which are not available in a "starter pack" that would be suitable or easily customizable for a 3rd-party wiki. | |||
The Wikipedia infoboxes use CSS pages and Lua modules for the presentation and functionality. | |||
On a page like [[:en:WWE_Championship|WWE Championship]] there are over 100 templates and modules in use such as: | |||
* Template:Infobox | |||
* Template:Infobox pro wrestling championship | |||
* Template:Infobox professional wrestling championship | |||
* Module:Infobox | |||
* Module:Infobox/styles.css | |||
* Module:InfoboxImage | |||
* Module:InfoboxImage/data | |||
== Gadgets == | |||
== Lua Modules == | |||
== SemanticMediaWiki == | |||
SemanticResultFormats takes structured data and presents it in a multitude of compelling ways. SRF sits between structured data, and presentation. At the highest level, Page Components could allow for composability of SRF into a final page layout and visual presentation. | |||
== Page Forms == | == Page Forms == | ||
say something | |||
== Page Exchange == | == Page Exchange == | ||