mediawiki: Difference between revisions
(stub with microformats plugin/support) |
m (Replace <entry-title> with {{DISPLAYTITLE:}}) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:MediaWiki}} | |||
{{stub}} | {{stub}} | ||
Line 12: | Line 12: | ||
* [http://www.mediawiki.org/wiki/Extension:AllowAnchorTags Extension:AllowAnchorTags] Adds <code><anchor></anchor></code> tags and parses them to <code><a href=></a></code> tags. | * [http://www.mediawiki.org/wiki/Extension:AllowAnchorTags Extension:AllowAnchorTags] Adds <code><anchor></anchor></code> tags and parses them to <code><a href=></a></code> tags. | ||
* [http://www.mediawiki.org/wiki/Extension:EnableAbbrTags Extension:EnableAbbrTags] Adds support for <code><xabbr></xabbr></code> tags and parses them to <code><abbr></abbr></code> tags. | * [http://www.mediawiki.org/wiki/Extension:EnableAbbrTags Extension:EnableAbbrTags] Adds support for <code><xabbr></xabbr></code> tags and parses them to <code><abbr></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 == | ||
* [http://en.wikipedia.org/wiki/Wikipedia:WikiProject_Microformats Wikipedia:WikiProject Microformats] | * [http://en.wikipedia.org/wiki/Wikipedia:WikiProject_Microformats Wikipedia:WikiProject Microformats] | ||
* [[mediawiki-customization]] | |||
* [[mediawiki-mark-up-issues]] | * [[mediawiki-mark-up-issues]] | ||
* [[cms]] | * [[cms]] | ||
* [[hCard]] | * [[hCard]] |
Latest revision as of 16:29, 18 July 2020
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.)