(anonymous guest) (logged out)

Copyright (C) by the contributors. Some rights reserved, license BY-SA.

Sponsored by the Wiki Symposium and the Nuveon GmbH.

 

Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-10) was last changed on 18-Apr-2007 11:12 by YvesPiguet  

This page was created on 25-Jan-2007 19:22 by ChuckSmith

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 4 added 61 lines
Ok, probably the name "multiline placeholder" is unfortunate and should be replaced by "plugin" or "module". The current syntax for placeholders has two lt and gt characters, so there shouldn't be confusion.
-- [[YvesPiguet]], 2007-1-25
Could you put an example on the front page of a use of this? I'm trying to put my head around the concept and right now it seems too abstract. I am currently considering whether to put this into Creole 0.5 or not.
-- [[ChuckSmith]], 2007-Feb-05
I think it's for something like [[http://moinmoin.wikiwikiweb.de/HelpOnParsers|MoinMoin's Parser Plugins]]. They are a very nice way of extending the engine, a little similar to [[CrossMark]]'s macros.
-- RadomirDopieralski, 2007-02-05
[[http://www.wikicreole.org/wiki/Images|Images] suggests expanding the use for plugin content inclusion. Which is the way I have gone, combined with namespaces. Eg.
{{{
{{in:recentchanges}} - include internal wiki recent changes
{{ext:googlemap}} - include google map
{{mypage}} - page inclusion
{{myimage}} - image
}}}
In the google map example, I want to be able to feed in a set of (long,lats) for markers. One idea would be to store them in a different "page". And have something like {{{ {{ext:googlemap RealAlePubsInUK}} }}}, so the plugin pulls the latest revision of "RealAlePubsInUK" and feeds the google map.
What maybe nice to be able to label a block of data (so can reuse the data within the page), and have...
{{{
<<<RealAlePubsInUK
long, lat, blah blah...
...
>>>
{{ext:googlemap #RealAlePubsInUK}}
}}}
-- JaredWilliams, 2007-02-05
The [[http://senseis.xmp.net/|Sensei's Library]] has an example of one extremely useful feature that could be made using this "plugin" syntax.
One could imagine simlar plugins for creating notes (and even downloadable midi files) on a music-related wiki, colored ASCII-art (ANSI-art?), various boxes and signs, or even just syntax-highlighted code.
-- RadomirDopieralski, 2007-02-05
I've implemented [[MultilinePlaceholderProposal]]; cf. [[http://nyctergatis.com/creole/sandbox.creole]].
-- [[YvesPiguet]], 2007-02-06
Radomir, could you please link to the example in Sensei's Library that you were referring to. I'm even a 15 kyu Go player and don't know which example you mean. :)
-- [[ChuckSmith]], 2007-Feb-28
Sorry for not stating it in a straightforward way, sometimes things are so obvious that we don't see them. I mean of course the go diagrams that can be created in that wiki using special markup: http://senseis.xmp.net/?HowDiagramsWork
I think that it is an excellent example of a feature commonly needed by the community on that particular wiki, but very rare on any other wiki. One could think of similar plugins for all sorts of other thematic wikis: embedding a midi player with few notes for a music discussion wiki (or a piece of note sheet), latex extension for math/scientific wiki, sparklines for wikis dealing with statistics, a player showing key combinations for game wikis, even things like the user avatars on community wiki.
-- [[RadomirDopieralski]], 2007-Feb-28
I withdraw the proposal for the following reasons:
* Nobody seems to care about compatibility, so unique plugin names which guarantee the absence of collisions when the engine is replaced or upgraded are irrelevant. It doesn't make sense that only a single implementation supports such a scheme.
* It becomes very difficult (maybe impossible) to reach a consensus about new elements. The existing [[Placeholder]] is the safest bet for an element which can be used for implementation-specific features.
-- [[YvesPiguet]], 2007-Apr-18
Version Date Modified Size Author Changes ... Change note
10 18-Apr-2007 11:12 4.356 kB YvesPiguet to previous Withdrawal reasons
9 28-Feb-2007 17:26 3.815 kB RadomirDopieralski to previous | to last go diagrams
8 28-Feb-2007 17:06 3.027 kB ChuckSmith to previous | to last Radomir's example from Sensei?
7 06-Feb-2007 20:45 2.824 kB YvesPiguet to previous | to last Example of plugins in Creole
6 06-Feb-2007 19:04 2.683 kB RadomirDopieralski to previous | to last examples of (potential) use
5 05-Feb-2007 17:00 2.291 kB 62.252.32.15 to previous | to last Multiline data holder?
4 05-Feb-2007 15:14 1.364 kB RadomirDopieralski to previous | to last similar to plugin parsers
3 05-Feb-2007 15:05 1.124 kB ChuckSmith to previous | to last example? this in Creole 0.5?
2 25-Jan-2007 19:39 0.871 kB YvesPiguet to previous | to last
1 25-Jan-2007 19:22 0.628 kB ChuckSmith to last a misunderstanding...
« This page (revision-10) was last changed on 18-Apr-2007 11:12 by YvesPiguet