[xwiki-devs] [VOTE] Change default table syntax
Hi devs, Currently in xwiki syntax 2.0 we are using || title cell 1 || title cell2 | cell 1 | cell 2 for table syntax. The problem is that with this grammar it's impossible to have empty cells because you can't use || as it mean title cell. Creole is using (see http://www.wikicreole.org/wiki/Creole1.0#section-Creole1.0-Tables): |= title cell 1 |= title cell2 | | cell 1 | cell 2 | I propose to change our current || by |= meaning the difference with the Creole syntax will be just that we don't need the ending |: |= title cell 1 |= title cell2 | cell 1 | cell 2 - we generally agreed to use Creole as much as possible - this syntax support space - this cell header syntax is more consistent with our header syntax (which is the Creole one ok ;)) - I think it's more readable than the current one because it's easier to differentiate header cell and cell especially when there is lot's of them So here is my +1 -- Thomas Mortagne
+1. JV. On Tue, Nov 25, 2008 at 12:04 PM, Thomas Mortagne <[email protected]> wrote:
Hi devs,
Currently in xwiki syntax 2.0 we are using || title cell 1 || title cell2 | cell 1 | cell 2 for table syntax.
The problem is that with this grammar it's impossible to have empty cells because you can't use || as it mean title cell.
Creole is using (see http://www.wikicreole.org/wiki/Creole1.0#section-Creole1.0-Tables): |= title cell 1 |= title cell2 | | cell 1 | cell 2 |
I propose to change our current || by |= meaning the difference with the Creole syntax will be just that we don't need the ending |: |= title cell 1 |= title cell2 | cell 1 | cell 2
- we generally agreed to use Creole as much as possible - this syntax support space - this cell header syntax is more consistent with our header syntax (which is the Creole one ok ;)) - I think it's more readable than the current one because it's easier to differentiate header cell and cell especially when there is lot's of them
So here is my +1
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
On Nov 25, 2008, at 12:04 PM, Thomas Mortagne wrote:
Hi devs,
Currently in xwiki syntax 2.0 we are using || title cell 1 || title cell2 | cell 1 | cell 2 for table syntax.
The problem is that with this grammar it's impossible to have empty cells because you can't use || as it mean title cell.
Creole is using (see http://www.wikicreole.org/wiki/Creole1.0#section-Creole1.0-Tables): |= title cell 1 |= title cell2 | | cell 1 | cell 2 |
I propose to change our current || by |= meaning the difference with the Creole syntax will be just that we don't need the ending |: |= title cell 1 |= title cell2 | cell 1 | cell 2
- we generally agreed to use Creole as much as possible - this syntax support space - this cell header syntax is more consistent with our header syntax (which is the Creole one ok ;)) - I think it's more readable than the current one because it's easier to differentiate header cell and cell especially when there is lot's of them
So here is my +1
+1 Do we want to offer an alternative syntax for people using a keyboard that doesn't have the pipe symbol? I propose: != for headers !! for cells since ! is the closest character to | WDYT? Thanks -Vincent
On Tue, Nov 25, 2008 at 12:14 PM, Vincent Massol <[email protected]> wrote:
On Nov 25, 2008, at 12:04 PM, Thomas Mortagne wrote:
Hi devs,
Currently in xwiki syntax 2.0 we are using || title cell 1 || title cell2 | cell 1 | cell 2 for table syntax.
The problem is that with this grammar it's impossible to have empty cells because you can't use || as it mean title cell.
Creole is using (see http://www.wikicreole.org/wiki/Creole1.0#section-Creole1.0-Tables): |= title cell 1 |= title cell2 | | cell 1 | cell 2 |
I propose to change our current || by |= meaning the difference with the Creole syntax will be just that we don't need the ending |: |= title cell 1 |= title cell2 | cell 1 | cell 2
- we generally agreed to use Creole as much as possible - this syntax support space - this cell header syntax is more consistent with our header syntax (which is the Creole one ok ;)) - I think it's more readable than the current one because it's easier to differentiate header cell and cell especially when there is lot's of them
So here is my +1
+1
Do we want to offer an alternative syntax for people using a keyboard that doesn't have the pipe symbol?
I propose:
!= for headers !! for cells
since ! is the closest character to |
+1
WDYT?
Thanks -Vincent _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
+1 for |= +1 for alternative ! Vincent Massol wrote:
On Nov 25, 2008, at 12:04 PM, Thomas Mortagne wrote:
Hi devs,
Currently in xwiki syntax 2.0 we are using || title cell 1 || title cell2 | cell 1 | cell 2 for table syntax.
The problem is that with this grammar it's impossible to have empty cells because you can't use || as it mean title cell.
Creole is using (see http://www.wikicreole.org/wiki/Creole1.0#section-Creole1.0-Tables): |= title cell 1 |= title cell2 | | cell 1 | cell 2 |
I propose to change our current || by |= meaning the difference with the Creole syntax will be just that we don't need the ending |: |= title cell 1 |= title cell2 | cell 1 | cell 2
- we generally agreed to use Creole as much as possible - this syntax support space - this cell header syntax is more consistent with our header syntax (which is the Creole one ok ;)) - I think it's more readable than the current one because it's easier to differentiate header cell and cell especially when there is lot's of them
So here is my +1
+1
Do we want to offer an alternative syntax for people using a keyboard that doesn't have the pipe symbol?
I propose:
!= for headers !! for cells
since ! is the closest character to |
WDYT?
-- Artem Melentyev
On Tue, Nov 25, 2008 at 4:44 PM, Vincent Massol <[email protected]> wrote:
On Nov 25, 2008, at 12:04 PM, Thomas Mortagne wrote:
Hi devs,
Currently in xwiki syntax 2.0 we are using || title cell 1 || title cell2 | cell 1 | cell 2 for table syntax.
The problem is that with this grammar it's impossible to have empty cells because you can't use || as it mean title cell.
Creole is using (see http://www.wikicreole.org/wiki/Creole1.0#section-Creole1.0-Tables): |= title cell 1 |= title cell2 | | cell 1 | cell 2 |
I propose to change our current || by |= meaning the difference with the Creole syntax will be just that we don't need the ending |: |= title cell 1 |= title cell2 | cell 1 | cell 2
- we generally agreed to use Creole as much as possible - this syntax support space - this cell header syntax is more consistent with our header syntax (which is the Creole one ok ;)) - I think it's more readable than the current one because it's easier to differentiate header cell and cell especially when there is lot's of them
So here is my +1
+1
Do we want to offer an alternative syntax for people using a keyboard that doesn't have the pipe symbol?
I propose:
!= for headers !! for cells
since ! is the closest character to |
WDYT?
+1 for both. - Asiri
Thanks -Vincent _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
On Tue, Nov 25, 2008 at 12:04 PM, Thomas Mortagne <[email protected]
wrote:
Hi devs,
Currently in xwiki syntax 2.0 we are using || title cell 1 || title cell2 | cell 1 | cell 2 for table syntax.
The problem is that with this grammar it's impossible to have empty cells because you can't use || as it mean title cell.
Creole is using (see http://www.wikicreole.org/wiki/Creole1.0#section-Creole1.0-Tables): |= title cell 1 |= title cell2 | | cell 1 | cell 2 |
I propose to change our current || by |= meaning the difference with the Creole syntax will be just that we don't need the ending |: |= title cell 1 |= title cell2 | cell 1 | cell 2
- we generally agreed to use Creole as much as possible - this syntax support space - this cell header syntax is more consistent with our header syntax (which is the Creole one ok ;)) - I think it's more readable than the current one because it's easier to differentiate header cell and cell especially when there is lot's of them
So here is my +1
Non-binding +1
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Guillaume Lerouge Product Manager - XWiki Skype ID : wikibc http://blog.xwiki.com/
+1, +1 for an alternative to pipe using "!" Jerome. Thomas Mortagne wrote:
Hi devs,
Currently in xwiki syntax 2.0 we are using || title cell 1 || title cell2 | cell 1 | cell 2 for table syntax.
The problem is that with this grammar it's impossible to have empty cells because you can't use || as it mean title cell.
Creole is using (see http://www.wikicreole.org/wiki/Creole1.0#section-Creole1.0-Tables): |= title cell 1 |= title cell2 | | cell 1 | cell 2 |
I propose to change our current || by |= meaning the difference with the Creole syntax will be just that we don't need the ending |: |= title cell 1 |= title cell2 | cell 1 | cell 2
- we generally agreed to use Creole as much as possible - this syntax support space - this cell header syntax is more consistent with our header syntax (which is the Creole one ok ;)) - I think it's more readable than the current one because it's easier to differentiate header cell and cell especially when there is lot's of them
So here is my +1
Sorry to hurry this up but the release is tomorrow and I need to wrap this up. Result: 7 +1, no 0, no -1, the vote is passed. I've implemented the proposal and will be committing in a few minutes. Thanks -Vincent On Nov 25, 2008, at 12:04 PM, Thomas Mortagne wrote:
Hi devs,
Currently in xwiki syntax 2.0 we are using || title cell 1 || title cell2 | cell 1 | cell 2 for table syntax.
The problem is that with this grammar it's impossible to have empty cells because you can't use || as it mean title cell.
Creole is using (see http://www.wikicreole.org/wiki/Creole1.0#section-Creole1.0-Tables): |= title cell 1 |= title cell2 | | cell 1 | cell 2 |
I propose to change our current || by |= meaning the difference with the Creole syntax will be just that we don't need the ending |: |= title cell 1 |= title cell2 | cell 1 | cell 2
- we generally agreed to use Creole as much as possible - this syntax support space - this cell header syntax is more consistent with our header syntax (which is the Creole one ok ;)) - I think it's more readable than the current one because it's easier to differentiate header cell and cell especially when there is lot's of them
So here is my +1
-- Thomas Mortagne
Thomas Mortagne wrote:
Hi devs,
Currently in xwiki syntax 2.0 we are using || title cell 1 || title cell2 | cell 1 | cell 2 for table syntax.
The problem is that with this grammar it's impossible to have empty cells because you can't use || as it mean title cell.
Creole is using (see http://www.wikicreole.org/wiki/Creole1.0#section-Creole1.0-Tables): |= title cell 1 |= title cell2 | | cell 1 | cell 2 |
How does this work with headings? The syntax for headings is = title So if we want to put a title in a table cell, what do we do?
I propose to change our current || by |= meaning the difference with the Creole syntax will be just that we don't need the ending |: |= title cell 1 |= title cell2 | cell 1 | cell 2
- we generally agreed to use Creole as much as possible - this syntax support space - this cell header syntax is more consistent with our header syntax (which is the Creole one ok ;)) - I think it's more readable than the current one because it's easier to differentiate header cell and cell especially when there is lot's of them
So here is my +1
-- Sergiu Dumitriu http://purl.org/net/sergiu/
On Nov 25, 2008, at 5:56 PM, Sergiu Dumitriu wrote:
Thomas Mortagne wrote:
Hi devs,
Currently in xwiki syntax 2.0 we are using || title cell 1 || title cell2 | cell 1 | cell 2 for table syntax.
The problem is that with this grammar it's impossible to have empty cells because you can't use || as it mean title cell.
Creole is using (see http://www.wikicreole.org/wiki/Creole1.0#section-Creole1.0-Tables): |= title cell 1 |= title cell2 | | cell 1 | cell 2 |
How does this work with headings? The syntax for headings is = title
So if we want to put a title in a table cell, what do we do?
Only inline elements are allowed in table cells. If you want to put block elements you'll need to wait for the implementation of the (((...))) syntax for embedded documents. Thanks -Vincent
I propose to change our current || by |= meaning the difference with the Creole syntax will be just that we don't need the ending |: |= title cell 1 |= title cell2 | cell 1 | cell 2
- we generally agreed to use Creole as much as possible - this syntax support space - this cell header syntax is more consistent with our header syntax (which is the Creole one ok ;)) - I think it's more readable than the current one because it's easier to differentiate header cell and cell especially when there is lot's of them
So here is my +1
participants (8)
-
Artem Melentyev -
Asiri Rathnayake -
Guillaume Lerouge -
Jean-Vincent Drean -
Jerome Velociter -
Sergiu Dumitriu -
Thomas Mortagne -
Vincent Massol