mediawiki: Difference between revisions
(move relevant text from twiki page to here) |
m (fix heading) |
||
Line 14: | Line 14: | ||
== in progress == | == in progress == | ||
=== Mark up articles with [[hAtom]] == | === Mark up articles with [[hAtom]] === | ||
The microformats wiki—which runs MediaWiki with a custom skin—uses microformats in the mark-up of the page. Namely, each wiki page (article) is marked up using hAtom, providing common structure for titles, authors, content and so forth. | The microformats wiki—which runs MediaWiki with a custom skin—uses microformats in the mark-up of the page. Namely, each wiki page (article) is marked up using hAtom, providing common structure for titles, authors, content and so forth. |
Revision as of 01:52, 24 November 2011
<entry-title>MediaWiki</entry-title>
This article is a stub. You can help the microformats.org wiki by expanding it.
MediaWiki is an open source wiki cms.
microformats support
MediaWiki has some built-in microformats support:
- MediaWiki Microformats support
As well as extensions for additional elements that help with microformats support:
- Extension:AllowAnchorTags Adds
<anchor></anchor>
tags and parses them to<a href=></a>
tags. - Extension:EnableAbbrTags Adds support for
<xabbr></xabbr>
tags and parses them to<abbr></abbr>
tags.
in progress
Mark up articles with hAtom
The microformats wiki—which runs MediaWiki with a custom skin—uses microformats in the mark-up of the page. Namely, each wiki page (article) is marked up using hAtom, providing common structure for titles, authors, content and so forth.
Provide ability to insert microformats into pages
That is, to mark-up an event, person, business and so forth as part of an article, is super-cumbersome. This is something no-one has solved yet, and requires an update to the wiki shorthand mark-up mechanism to allow people to add `class`, `rel` and `rev` attributes. Some attempts have made toward this: The Link Attributes extension for MediaWiki augments the link syntax to allow class, rel and rev. http://www.mediawiki.org/wiki/Extension:Link_Attributes
I've also been working on a possible Markdown extension for the same purpose, that might look something like this, using braces for attributes:
[Ben Ward](http://benward.me){fn url, rel=me}
To produce:
<a class="fn url" rel="me">
TWiki could actually evolve in a similar way:
[[http://benward.me][Ben Ward][fn url, rel=me]]
It would also be necessary to allow adding class attributes to arbitrary blocks (p, div, spans etc.)