[mb-style] WikiDocs for StyleGuidelines?
Don Redman
donredman at gmx.de
Tue Nov 7 19:10:06 UTC 2006
On Tue, 07 Nov 2006 11:00:04 +0100, Age Bosma wrote:
> I mean templates: http://en.wikipedia.org/wiki/Help:Template
>
> Where we can just put a bit of HTML in a separate template page: <div
> style="border: 1px solid #3F3F3F; background-color: #9999FF;
> font-weight: bold; text-align: center; padding: 0px 10px 0px 10px;
> margin: 10px 0px 10px 0px;"><p style="margin: 4px 0px 4px
> 0px;">Deprecated</p></div>
>
> And call the template where needed: {{deprecated}}
> As far as I can tell, MoinMoin does not support the same kind of
> templates, nor does it allow me to include HTML :-(
There is this macro: <http://moinmoin.wikiwikiweb.de/macro/CardMacro> that
does most of what you want. Moin does allow to include HTML _if_ the
parser is enabled, which it is not for security reasons.
There is a version for Moin 1.3 and if Robert could install it, we could
take care of the rest.
There are also Macros called Color and Color2 but they either work for 1.0
or 1.5, AFAICT.
We will have to find out, if the CardMacro works well with WikiDocs, or if
something breaks (IIRC Robert patched the Include Macro in our wiki).
> You mean that as soon as a status on one of the wiki pages changes to
> official the one who is monitoring it should automatically change it to
> a wikidoc (update the transclusion table)?
> I think this might be a bit too error-prone. It happens quite often that
> people change something and realize afterwards that they e.g. forgot a
> tiny bit so they start editing again. One of the moderators might have
> already updated the transclusion table in the meanwhile. Because of this
> I thought it would be better to submit a ticket with 'please update this
> page, it's really ready now'.
Yes, that's what I mean, and yes, your criticism might be valid. Although
we will have to find out which of these two ways is easier to do.
DonRedman
--
Words that are written in CamelCase refer to WikiDocs,
the MusicBrainz documentation system.
Go to http://musicbrainz.org/doc/<SomeTerm>
(you might need to transform the term to singular)
More information about the Musicbrainz-style
mailing list