Extension Syntax/Voting

This vote is now closed. Erik's proposal (XML-like syntax) will be implemented.

Current state of voting (last updated 23:51, 12 Apr 2004 (UTC))

For Against Neutral
Erik's proposal 26 6 1
Magnus' proposal 5 14 2
HTML like (with same end marker) 2 7
Forum like (with no /) (Aoineko) 1 17
Forum like (with same end marker) (Aoineko) 1 15 1
Magnus' proposal alternative 2 (Aoineko) 5 9 1
Uli's Proposal 3 10
Peter's proposal 3 12 1
Inline brackets proposal 3 11 2
Symbol bracket proposal 1 15
IMSoP's proposal 1 13
Phil's proposal 9 8 3
Saff's proposal 0 12

Erik's proposal

edit

See details and examples

We should use an XML-like syntax for extensions:

  • <math>insert code here</math>
  • <music>insert code here</music>
  • <hiero>insert code here</hiero>
  • ...

Votes for Erik's proposal

edit
  1. Eloquence 00:18, 6 Apr 2004 (UTC)
  2. MinutiaeMan 00:29, 6 Apr 2004 (UTC)
  3. Toby Bartels 01:22, 6 Apr 2004 (UTC)
  4. Aineko 02:35, 6 Apr 2004 (UTC)
  5. mav 03:01, 6 Apr 2004 (UTC)
  6. Treanna 05:15, 6 Apr 2004 (UTC)
  7. Arvindn 05:40, 6 Apr 2004 (UTC)
  8. grin 10:17, 6 Apr 2004 (UTC)
  9. Jamesday 11:10, 6 Apr 2004 (UTC) (with the proviso that all of these extensions should start with the word wiki to avoid namespace conflicts)
  10. Phil 15:21, 6 Apr 2004 (UTC) (same proviso as Jamesday
  11. Sansculotte 15:23, 6 Apr 2004 (UTC)
  12. The Anome 15:37, 6 Apr 2004 (UTC)
  13. Angela 15:44, 6 Apr 2004 (UTC)
  14. Nohat 17:44, 6 Apr 2004 (UTC)
  15. IMSoP 18:07, 6 Apr 2004 (UTC) (without Jamesday's proviso, which essentially creates a new option)
  16. Taw 19:33, 6 Apr 2004 (UTC)
  17. Alibaba 19:34, 6 Apr 2004 (UTC)
  18. \Mikez 19:56, 6 Apr 2004 (UTC)
  19. Decumanus 06:32, 7 Apr 2004 (UTC)
  20. NickNolte 10:51, 7 Apr 2004
  21. RoseParks 22:12, 7 Apr 2004 (UTC)
  22. Elian 12:59, 7 Apr 2004 (UTC)
  23. Erik Zachte 08:12, 9 Apr 2004 (UTC)
  24. Tomchiukc 18:23, 9 Apr 2004 (UTC)
  25. R3m0t 22:33, 9 Apr 2004 (UTC)
  26. Eudoxe 11:26, 11 Apr 2004 (UTC)

Votes against Erik's proposal

edit
  1. Timwi 09:05, 6 Apr 2004 (UTC) :-p
  2. Evan 14:54, 6 Apr 2004 (UTC)
  3. Tillwe 23:49, 6 Apr 2004 (UTC) (not extendable enough)
  4. Patrice 02:30, 7 Apr 2004 (UTC)
  5. James F. 10:57, 8 Apr 2004 (UTC)
  6. Gaurav 19:45, 8 Apr 2004 (UTC) (too much like HTML!)

Neutral on Erik's proposal

edit
  1. Sj 22:12, 9 Apr 2004 (UTC) (alright if tags are unique; <math> is already on shaky ground.)

Magnus' proposal

edit

See details and examples

For images: [[image:xyz.svg]] can produce a PNG or an SVG, depending on user settings or browser identification.

For more complex structures (hiero, music): {{music:stuff}} to use "stuff" as data; or {{music::stuff}} to use data stored in [[stuff]].

Alternative for page reference (result of discussion):

  • {{music:[stuff]}}
  • {{music->stuff}}

Votes for Magnus' proposal

edit
  1. Aineko 02:35, 6 Apr 2004 (UTC) (but can't use }} in code may be a problem)
  2. Angela 15:44, 6 Apr 2004 (UTC)
  3. Patrice 02:30, 7 Apr 2004 (UTC) ({{music:[stuff]}} syntax, the one with two colons is easily overlooked)
  4. James F. 10:56, 8 Apr 2004 (UTC)
  5. Gaurav 19:44, 8 Apr 2004 (UTC)

Votes against Magnus' proposal

edit
  1. Eloquence 00:20, 6 Apr 2004 (UTC) (too confusing with existing use of curly brackets, inline code will get hard to read)
  2. MinutiaeMan 00:30, 6 Apr 2004 (UTC) (wouldn't this conflict with existing math formulae?)
  3. Timwi 09:06, 6 Apr 2004 (UTC)
  4. Phil 15:32, 6 Apr 2004 (UTC) (too fiddly and confusing)
  5. The Anome 15:40, 6 Apr 2004 (UTC), too fiddly
  6. Nohat 17:44, 6 Apr 2004 (UTC)
  7. IMSoP 18:09, 6 Apr 2004 (UTC) (ambiguous wrt to other uses of curly brackets)
  8. Taw 19:33, 6 Apr 2004 (UTC)
  9. Alibaba 19:34, 6 Apr 2004 (UTC)
  10. \Mikez 19:57, 6 Apr 2004 (UTC) (messes with TeX)
  11. Tillwe 23:49, 6 Apr 2004 (UTC)
  12. Decumanus 06:33, 7 Apr 2004 (UTC)
  13. Kevin Saff 23:28, 7 Apr 2004 (UTC)
  14. Tomchiukc 18:23, 9 Apr 2004 (UTC)

Neutral on Magnus' proposal

edit
  1. grin 10:17, 6 Apr 2004 (UTC)
  2. Elian 12:59, 7 Apr 2004 (UTC)

HTML like (with same end marker)

edit

See details and examples...

<math>...<end>
<music>...<end>
<hiero>...<end>

Votes for "HTML like (with same end marker)"

edit
  1. IMSoP 19:01, 6 Apr 2004 (UTC)
  2. \Mikez 19:58, 6 Apr 2004 (UTC) (nice and simple)

Votes against "HTML like (with same end marker)"

edit
  1. Alibaba 19:35, 6 Apr 2004 (UTC)
  2. Tillwe 23:49, 6 Apr 2004 (UTC)
  3. Patrice 02:30, 7 Apr 2004 (UTC)
  4. Elian 12:59, 7 Apr 2004 (UTC)
  5. Kevin Saff 23:28, 7 Apr 2004 (UTC)
  6. James F. 11:03, 8 Apr 2004 (UTC)
  7. Tomchiukc 18:23, 9 Apr 2004 (UTC)

Forum like (with no /) (Aoineko)

edit

See details and examples

[math]...[math]
[hiero]...[hiero]
[music]...[music]

Votes for "Forum like (with no /) (Aoineko)"

edit
  1. Aineko 02:35, 6 Apr 2004 (UTC)

Votes against "Forum like (with no /) (Aoineko)"

edit
  1. Timwi 09:06, 6 Apr 2004 (UTC)
  2. grin 10:17, 6 Apr 2004 (UTC) (I always hated that form, it looks like it's optional)
  3. Phil 15:33, 6 Apr 2004 (UTC)
  4. Angela 15:44, 6 Apr 2004 (UTC)
  5. Nohat 17:44, 6 Apr 2004 (UTC)
  6. Taw 19:33, 6 Apr 2004 (UTC)
  7. Alibaba 19:35, 6 Apr 2004 (UTC)
  8. \Mikez 19:59, 6 Apr 2004 (UTC) (I want to see when something begins/ends)
  9. Tillwe 23:49, 6 Apr 2004 (UTC) (what about nesting?
  10. Patrice 02:30, 7 Apr 2004 (UTC)
  11. Decumanus 06:34, 7 Apr 2004 (UTC)
  12. Elian 12:59, 7 Apr 2004 (UTC)
  13. IMSoP 15:39, 7 Apr 2004 (UTC)
  14. Kevin Saff 23:29, 7 Apr 2004 (UTC)
  15. James F. 11:03, 8 Apr 2004 (UTC)
  16. Tomchiukc 18:23, 9 Apr 2004 (UTC)
  17. R3m0t 22:36, 9 Apr 2004 (UTC)

Forum like (with same end marker) (Aoineko)

edit

See details and examples

[math]...[end]
[hiero]...[end]
[music]...[end]

Votes for "Forum like (with same end marker) (Aoineko)"

edit
  1. Aineko 07:11, 6 Apr 2004 (UTC)

Votes against "Forum like (with same end marker) (Aoineko)"

edit
  1. Timwi 09:06, 6 Apr 2004 (UTC)
  2. grin 10:17, 6 Apr 2004 (UTC)
  3. Phil 15:34, 6 Apr 2004 (UTC)
  4. Angela 15:44, 6 Apr 2004 (UTC)
  5. Nohat 17:44, 6 Apr 2004 (UTC)
  6. Taw 19:33, 6 Apr 2004 (UTC)
  7. Alibaba 19:35, 6 Apr 2004 (UTC)
  8. Tillwe 23:49, 6 Apr 2004 (UTC)
  9. Decumanus 06:34, 7 Apr 2004 (UTC)
  10. Elian 12:59, 7 Apr 2004 (UTC)
  11. IMSoP 15:39, 7 Apr 2004 (UTC)
  12. Kevin Saff 23:29, 7 Apr 2004 (UTC)
  13. James F. 11:03, 8 Apr 2004 (UTC)
  14. Tomchiukc 18:23, 9 Apr 2004 (UTC)
  15. R3m0t 22:36, 9 Apr 2004 (UTC)

Neutral on "Forum like (with same end marker) (Aoineko)"

edit
  1. \Mikez 20:06, 6 Apr 2004 (UTC)

Magnus' proposal alternative 2 (Aoineko)

edit

See details and examples

{{math:foo}}
{{hiero:foo}}
{{music:foo}}

Where the software check if foo is a valid page (data:foo). If true, parse the data page; If not, parse the text in tags.

Votes for "Magnus' proposal alternative 2 (Aoineko)"

edit
  1. Aineko 02:35, 6 Apr 2004 (UTC) (but can't use }} in code may be a problem)
  2. Angela 15:44, 6 Apr 2004 (UTC)
  3. Patrice 02:30, 7 Apr 2004 (UTC)
  4. Kevin Saff 23:31, 7 Apr 2004 (UTC)
  5. James F. 11:03, 8 Apr 2004 (UTC)

Votes against "Magnus' proposal alternative 2 (Aoineko)"

edit
  1. grin 10:17, 6 Apr 2004 (UTC) (ambiguity sucks)
  2. Phil 15:34, 6 Apr 2004 (UTC) (too confusing)
  3. Nohat 17:44, 6 Apr 2004 (UTC)
  4. Taw 19:33, 6 Apr 2004 (UTC)
  5. Alibaba 19:36, 6 Apr 2004 (UTC)
  6. \Mikez 20:06, 6 Apr 2004 (UTC) (confusing)
  7. Tillwe 23:49, 6 Apr 2004 (UTC) (too many extra pages)
  8. IMSoP 15:39, 7 Apr 2004 (UTC)
  9. Tomchiukc 18:23, 9 Apr 2004 (UTC)

Neutral on "Magnus' proposal alternative 2 (Aoineko)"

edit
  1. Timwi 09:07, 6 Apr 2004 (UTC)

Uli's Proposal

edit

See details and examples

Abstract: This is essentially a variant of Erik's proposal with more intelligent templates.

Summary: fragments would be included with the already disussed syntax {{Music:Beethovens 9th Symphony}}, {{Infotable:Uranium}}. For not-included data, I'd prefer the XML-type syntax (<math></math>)

It's important to have the type of the included data somehow coded into the article name, so you can render that fragment stand-alone! Very important: depending on the type (Music, Infotable, Navigation, ) of a transcluded fragment the software should not only decide on how to interpret the given data, but also on when and where to render.

Votes for Uli's proposal

edit
  1. Toby Bartels 01:22, 6 Apr 2004 (UTC)
  2. Alibaba 19:44, 6 Apr 2004 (UTC) (very nice)
  3. Kevin Saff 23:31, 7 Apr 2004 (UTC)

Votes against Uli's proposal

edit
  1. Eloquence (Much of this is already obsolete, because we will get the Template: namespace for that purpose; having templates associated with extensions is not worth the added code complexity - you just save an opening and closing tag. The auto-positioning idea is interesting, that would have to developed further though.)
  2. Timwi 09:07, 6 Apr 2004 (UTC)
  3. grin 10:17, 6 Apr 2004 (UTC)
  4. Angela 15:44, 6 Apr 2004 (UTC)
  5. Nohat 17:44, 6 Apr 2004 (UTC)
  6. Taw 19:33, 6 Apr 2004 (UTC)
  7. Tillwe 23:49, 6 Apr 2004 (UTC)
  8. Elian 12:59, 7 Apr 2004 (UTC)
  9. James F. 11:03, 8 Apr 2004 (UTC)
  10. Tomchiukc 18:23, 9 Apr 2004 (UTC)

Peter's proposal

edit

See details and examples

<rend type="math">...</rend>
<rend type="hiero">...</rend>
<rend type="music">...</rend>

Votes for Peter's proposal

edit
  1. Angela 15:44, 6 Apr 2004 (UTC)
  2. RoseParks 22:15, 7 Apr 2004 (UTC)
  3. Tomchiukc 18:23, 9 Apr 2004 (UTC)

Votes against Peter's proposal

edit
  1. Toby Bartels 01:22, 6 Apr 2004 (UTC)
  2. Timwi 09:08, 6 Apr 2004 (UTC) (strongly against)
  3. grin 10:17, 6 Apr 2004 (UTC)
  4. Nohat 17:44, 6 Apr 2004 (UTC)
  5. Taw 19:33, 6 Apr 2004 (UTC)
  6. Alibaba 19:37, 6 Apr 2004 (UTC) (strongly against : math formulas would be a pain to type !)
  7. \Mikez 20:06, 6 Apr 2004 (UTC) (to much to type)
  8. Patrice 02:30, 7 Apr 2004 (UTC)
  9. Decumanus 06:36, 7 Apr 2004 (UTC)
  10. Elian 12:59, 7 Apr 2004 (UTC)
  11. IMSoP 15:39, 7 Apr 2004 (UTC)
  12. James F. 11:03, 8 Apr 2004 (UTC)~

Neutral on Peter's proposal

edit
  1. Tillwe 23:49, 6 Apr 2004 (UTC)

Inline brackets proposal

edit

See details and examples

[!math x^2 + y^2 = z^2  !]
[!hiero b-l:a-h  !]
[!music do re mi fa sol !]

Votes for inline brackets proposal

edit
  1. Timwi 09:09, 6 Apr 2004 (UTC)
  2. grin 10:17, 6 Apr 2004 (UTC)
  3. Kevin Saff 23:18, 7 Apr 2004 (UTC)

Votes against inline brackets proposal

edit
  1. Phil 15:35, 6 Apr 2004 (UTC) (just bizarre)
  2. Angela 15:44, 6 Apr 2004 (UTC)
  3. Nohat 17:44, 6 Apr 2004 (UTC)
  4. Taw 19:33, 6 Apr 2004 (UTC)
  5. Tillwe 23:49, 6 Apr 2004 (UTC)
  6. Patrice 02:30, 7 Apr 2004 (UTC)
  7. Decumanus 06:36, 7 Apr 2004 (UTC)
  8. Elian 12:59, 7 Apr 2004 (UTC)
  9. James F. 11:04, 8 Apr 2004 (UTC)
  10. Tomchiukc 18:23, 9 Apr 2004 (UTC)
  11. R3m0t 22:36, 9 Apr 2004 (UTC)

Neutral on inline brackets proposal

edit
  1. Alibaba 19:38, 6 Apr 2004 (UTC)
  2. \Mikez 20:06, 6 Apr 2004 (UTC)

Symbol bracket proposal

edit

See details and examples...

[[! x^2 + y^2 = z^2  !]] (for math)
[[^ b-l:a-h ^]] (for hiero)
[[# do re mi fa sol #]] (for music)

Votes for symbol bracket proposal

edit
  1. Timwi 09:08, 6 Apr 2004 (UTC)

Votes against symbol bracket proposal

edit
  1. Toby Bartels 01:22, 6 Apr 2004 (UTC)
  2. grin 10:17, 6 Apr 2004 (UTC) ("hard to memorize even for perlmongers")
  3. Phil 15:36, 6 Apr 2004 (UTC) (even more bizarre)
  4. The Anome 15:38, 6 Apr 2004 (UTC)
  5. Angela 15:44, 6 Apr 2004 (UTC)
  6. Nohat 17:44, 6 Apr 2004 (UTC)
  7. Taw 19:33, 6 Apr 2004 (UTC)
  8. Alibaba 19:40, 6 Apr 2004 (UTC) (same as grin, especially since in LaTeX math is symbolized by a $ sign)
  9. \Mikez 20:06, 6 Apr 2004 (UTC) (Is this supposed to denote links somewhere?)
  10. Tillwe 23:49, 6 Apr 2004 (UTC) (memory overflow)
  11. Patrice 02:30, 7 Apr 2004 (UTC)
  12. Elian 12:59, 7 Apr 2004 (UTC)
  13. IMSoP 15:39, 7 Apr 2004 (UTC) (too many different symbols needed)
  14. James F. 11:04, 8 Apr 2004 (UTC)
  15. Tomchiukc 18:23, 9 Apr 2004 (UTC)

IMSoP's proposal

edit

See details and examples

<special math> ... </special> <special music> ... </special>

Votes for IMSoP's proposal

edit
  1. Tillwe 23:49, 6 Apr 2004 (UTC) (first one that looks consistent, and we could combine a unified <special>...</special> syntax with shortcuts like )

Votes against IMSoP's proposal

edit
  1. Timwi 09:09, 6 Apr 2004 (UTC)
  2. grin 10:17, 6 Apr 2004 (UTC) (hard to type)
  3. Angela 15:44, 6 Apr 2004 (UTC)
  4. Nohat 17:44, 6 Apr 2004 (UTC)
  5. Taw 19:33, 6 Apr 2004 (UTC)
  6. Alibaba 19:40, 6 Apr 2004 (UTC) (would be a pain to type maths)
  7. \Mikez 20:06, 6 Apr 2004 (UTC)
  8. Patrice 02:30, 7 Apr 2004 (UTC)
  9. JeLuF 06:24, 7 Apr 2004 (UTC)
  10. Elian 12:59, 7 Apr 2004 (UTC)
  11. IMSoP 15:39, 7 Apr 2004 (UTC) (Phil's variant is better)
  12. James F. 11:05, 8 Apr 2004 (UTC)
  13. Tomchiukc 18:23, 9 Apr 2004 (UTC)

Phil's proposal

edit

See details and examples

<wiki math> ... </wiki>
<wiki music> ... </wiki>
<wiki chess> ... </wiki>

Votes for Phil's proposal

edit
  1. Toby Bartels 01:22, 6 Apr 2004 (UTC)
  2. Aineko 02:35, 6 Apr 2004 (UTC)
  3. Jamesday 11:10, 6 Apr 2004 (UTC) simple but it's good to have the end tag clearly linked to the start tag type, so I favor Erik's proposal of the two I support.
  4. Angela 15:44, 6 Apr 2004 (UTC)
  5. Tillwe 23:49, 6 Apr 2004 (UTC)
  6. Decumanus 06:37, 7 Apr 2004 (UTC) Same as Jamesday. Or perhaps make second word a valid xml attribute.
  7. IMSoP 15:39, 7 Apr 2004 (UTC)
  8. RoseParks 22:17, 7 Apr 2004 (UTC)
  9. Sj 22:10, 9 Apr 2004 (UTC) Same as Dec.

Votes against Phil's proposal

edit
  1. Timwi 09:10, 6 Apr 2004 (UTC)
  2. grin 10:17, 6 Apr 2004 (UTC) (hard to type)
  3. Nohat 17:44, 6 Apr 2004 (UTC)
  4. Taw 19:33, 6 Apr 2004 (UTC)
  5. \Mikez 20:06, 6 Apr 2004 (UTC) (don't get the benefit of the extra 'wiki')
  6. JeLuF 06:23, 7 Apr 2004 (UTC) (nor do I)
  7. Patrice 02:30, 7 Apr 2004 (UTC)
  8. James F. 11:05, 8 Apr 2004 (UTC)

Neutral on Phil's proposal

edit
  1. Alibaba 19:42, 6 Apr 2004 (UTC) (a bit hard to type, but a nice solution)
  2. Elian 12:59, 7 Apr 2004 (UTC)
  3. Tomchiukc 18:23, 9 Apr 2004 (UTC)

Saff's proposal

edit

See details and examples

Note: This is not a generic proposal as it does not allow for arbitrary extensions. However, it does allow for a certain type of user-created extensions. If you think that is enough, or should be used in addition to the other proposals, vote for this one.

So, what I think would be perfect for many things (games, music, probably not svg) is create a new namespace, called markup or something. On a "markup" page, certain text strings can be marked with replacement by any object (different text, images, etc.):

Maybe something like: ...

== Text to replace ==
#What to replace it with
Comments about this item.

For inline markup, just {{markup:music} a b c# } should work.

Votes for Saff's proposal

edit

Votes against Saff's proposal

edit
  1. Eloquence (most viable extensions are far too complex for such a scheme, and even things like chess benefit from a truly specialized syntax; maybe in addition to a regular extension syntax, but certainly not as the main solution)
  2. Timwi 09:10, 6 Apr 2004 (UTC)
  3. Phil 15:38, 6 Apr 2004 (UTC) (too specialised)
  4. Angela 15:44, 6 Apr 2004 (UTC)
  5. Nohat 17:44, 6 Apr 2004 (UTC)
  6. Taw 19:33, 6 Apr 2004 (UTC)
  7. Alibaba 19:43, 6 Apr 2004 (UTC)
  8. Tillwe 23:49, 6 Apr 2004 (UTC)
  9. Decumanus 06:38, 7 Apr 2004 (UTC)
  10. Elian 12:59, 7 Apr 2004 (UTC)
  11. James F. 11:05, 8 Apr 2004 (UTC)
  12. Tomchiukc 18:23, 9 Apr 2004 (UTC)