[Mediawiki-l] markup extensions: wiki links

Sy Ali sy1234 at gmail.com
Mon May 29 20:13:35 UTC 2006


On 5/28/06, FreeAll Support <support at freeall.org> wrote:
> I can use a replace function that makes "[[" a "<a href=...>" and "]]" a
> "</a>", but it won't do well. All of the links will be blue (even if no
> content is inside)

Just a note.. for colouring links, the colouration has to be set
inside the link like [[link|<font color="red">link</font>]]

You'd have to make your extension pretty smart to let people do
<extension>red text [[red link]]</extension>



More information about the MediaWiki-l mailing list