(anonymous guest) (logged out)

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

Sponsored by the Wiki Symposium and the Nuveon GmbH.

 
This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

Ward called this "hiding the gibberish", new term for me as a non native speaker. To explain this tag to someone you could say "This is the gibberish tag" - If people see this they can safely skipp it, but instead of seeing that huge "gibberish" code that they don't understand, they just see this.

--Christoph

I like the word "gibberish" (or "native") far more than I like the world "Placeholder". The word "placeholder" implies that the markup is not in mixed mode, but rather in creole mode.

I think we might want to invent a better name. I suggest "WikiSpeck" - as in a "smudge". It's also a bad non-native English speaker pun on the word "WikiSpeak"...

-- JanneJalkanen

Can you give an example of placeholder usage?

-- MartinBudden, 2006-12-06

The difference between placeholders and transclusions is not very clear, at least for me.

However, there should be a way (a suggested way) to include metadata about the document (author, date, location, dublin-core-like info). Could placeholder be used for this kind of extensions?

-- Michele Tomaiuolo, 2007-02-09

I think placeholders are only used at edit time. When the user clicks edit, the wiki simplifies the page contents by replacing chunks of "stuff" with placeholders. Then its all re-integrated once the user submits.

-- JaredWilliams, 2007-02-09

I really don't see it why our implementations are wrong. The descriptions of the "memento pattern" say that it actually holds the whole state of the object in question. So, with a MoinMoin macro like this:

[[TableOfContents(3)]]
we have two choices -- encode the object's state in some weird, geeky base64-ed code:

Plugin insertion failed: Could not find plugin dda7d0fa6d68b30c5803e5427987a509Plugin insertion failed: Could not find plugin dda7d0fa6d68b30c5803e5427987a509

or note that the exact text of the makro call also perfectly describes its state, and in a human-readable manner on top of that! We can also skip the reduntant characters:

Table of Contents

As I see it, it perfectly meets all the definitions of a memento pattern that I found. And I see no reason why this can't also be saved like htis -- after all, Creole doesn't define how the pages have to be stored, does it?

Note also, that while your approach doesn't allow to copy the text from wiki to wiki, it also doesn't allow you to copy it from page to page on the same wiki or even rename the page (unless there is a separate action for that).

Since the markup is not transferable between wikis, the exact text that appears between Plugin insertion failed: Could not find plugin andPlugin insertion failed: Could not find plugin and is totally irrelevant.

-- RadomirDopieralski, 2007-02-23

Add new attachment

Only authorized users are allowed to upload new attachments.

« This particular version was published on 23-Feb-2007 14:58 by RadomirDopieralski.