jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lgilardoni61@gmail.com" <lgilardon...@gmail.com>
Subject Re: Anything similar to wikipedia templates?
Date Thu, 07 Feb 2008 09:54:32 GMT
Murray Altheim wrote:
> As an author/maintainer of the TranscludePlugin, I perked up my ears
> when reading about this, but on looking at the WikiMedia templating
> feature I frankly think it's got to be one of the ugliest things I've
> seen in awhile.
> What I would be willing to do is incorporate an API-like method into
> the TranscludePlugin, such that someone could extend it with their
> own Substitution (transform) feature. That wouldn't be a lot of work
> for me, and if someone was so masochistic as to want to duplicate the
> WikiMedia features, hell, all power to 'em.
> If this would suit, let me know and we can discuss adding the hook
> to TranscludePlugin to permit this.
Well, I actually had a look at the InsertPage plugin (source) and the 
TranscludePlugin (jspwiki.org description).
In either case what's really needed is just a substitution mechanism to 
be build on top/hookable to either.
After that, your right, all power to 'em.

Not yet exactly planned to do either, but If I had enough time (unsure I 
have ;-)  I would probably do right now,
looks not that difficult (at least for the InsertPage where I had a 
look). If only this could be useful to others,
would probably be better to agree on syntax to specify parameters.

Whether or not such a specific feature (I mean the Wikipedia templating 
stuff - or something alike) may prove useful
(or ugly - this also may depend on how things grow up ..) is a different 
story. Personally I feel this could help a lot in
avoiding duplication whenever (part of) a wiki  content should be 
commonly structured (visually) over a number of
standard things. But I'm eager to ear other opinions :-)

> Murray
> Harry Metske wrote:
>> There is an InsertPage plugin: http://www.jspwiki.org/wiki/InsertPage
>> But it does not (yet ?) support a substitution mechanism, I also 
>> don't think
>> anyone is working on that right now.
>> So, take your chance....
>> regards,
>> Harry
>> 2008/2/7, lgilardoni61@gmail.com <lgilardoni61@gmail.com>:
>>> All, I was wondering about a plugin similar to the template one in
>>> wikipedia (http://en.wikipedia.org/wiki/Help:Template) which basically
>>> is an include
>>> mechanism with substitutions.
>>> Just wondering however if there isn't already any way to obtain the 
>>> same
>>> result, OR if someone is already doing this ...
>>> Luca
> ........................................................................... 
> Murray Altheim <murray07 at altheim.com>                           
> ===  = =
> http://www.altheim.com/murray/                                     = 
> =  ===
> SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk               = 
> =  = =
>       Boundless wind and moon - the eye within eyes,
>       Inexhaustible heaven and earth - the light beyond light,
>       The willow dark, the flower bright - ten thousand houses,
>       Knock at any door - there's one who will respond.
>                                       -- The Blue Cliff Record

View raw message