mediawiki: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(stub with microformats plugin/support)
(move relevant text from twiki page to here)
Line 12: Line 12:
* [http://www.mediawiki.org/wiki/Extension:AllowAnchorTags Extension:AllowAnchorTags] Adds <code>&lt;anchor>&lt;/anchor></code> tags and parses them to <code>&lt;a href=>&lt;/a></code> tags.
* [http://www.mediawiki.org/wiki/Extension:AllowAnchorTags Extension:AllowAnchorTags] Adds <code>&lt;anchor>&lt;/anchor></code> tags and parses them to <code>&lt;a href=>&lt;/a></code> tags.
* [http://www.mediawiki.org/wiki/Extension:EnableAbbrTags Extension:EnableAbbrTags] Adds support for <code>&lt;xabbr>&lt;/xabbr></code> tags and parses them to <code>&lt;abbr>&lt;/abbr></code> tags.
* [http://www.mediawiki.org/wiki/Extension:EnableAbbrTags Extension:EnableAbbrTags] Adds support for <code>&lt;xabbr>&lt;/xabbr></code> tags and parses them to <code>&lt;abbr>&lt;/abbr></code> 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:
<source lang=text>[Ben Ward](http://benward.me){fn url, rel=me}</source>
To produce:
<source lang=html4strict><a class="fn url" rel="me"></source>
[[twiki|TWiki]] could actually evolve in a similar way:
<source lang=text>[[http://benward.me][Ben Ward][fn url, rel=me]]</source>
It would also be necessary to allow adding class attributes to arbitrary blocks (p, div, spans etc.)


== see also ==
== see also ==

Revision as of 01:43, 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:

As well as extensions for additional elements that help with microformats support:

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.)

see also