[asterisk-dev] documentation to MediaWiki?

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sun Mar 9 16:22:03 CDT 2008


On Sun, Mar 09, 2008 at 04:26:59PM -0400, Jay R. Ashworth wrote:
> On Sun, Mar 09, 2008 at 09:54:35PM +0200, Tzafrir Cohen wrote:
> > > <pre> works, and there's also a <nowiki> for doing inline examples of
> > > wikimarkup.
> > 
> > So you have to resort to ugly HTML-like syntax for very common
> > operations. Writing this is therefore more akin to writing docbook than
> > the "wiki-wiki" ("quick") effect that this wiki format has promised.
> 
> Wow, so which common operations are they that you have in mind?
> 
> If you're talking about quoting config file segments, then no: you
> merely indent them on a space, and MW boxes them and sets them in
> monospace.
> 

It's not verbatim. It does formatting. A trivial example:

  (a == '') || (b == '')

Will render as:

<pre>
(a == <emph>) || (b == </emph>)
</pre>

Wikimedia uses '[' and '{' for some special formatting directives. 
Asterisk uses them for some special dialplan directives. I can't think 
of a way that this clashes, but someone is bound to, eventually. 

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-dev mailing list