Page MenuHomePhabricator

no shortcut for a heading in the middle of a row in wikitable markup
Closed, DeclinedPublic

Description

Author: xmlizer

Description:
in the documentation it seems to mention that
{|

A !! BC
}

have to be transformed in

ABC

but it doen't work

may be a better syntax could be

{|

A! B !C
}

to be equivalent to

{|

A

! B

C
}

Version: unspecified
Severity: enhancement

Details

Reference
bz10

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 6:42 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz10.
bzimport added a subscriber: Unknown Object (MLST).

timwi wrote:

in the documentation it seems to mention that

It does not say that on http://meta.wikimedia.org/wiki/Help:Table.

I think this is expected behaviour. If you do something like this:
{|
! cell 1 || cell 2 || cell 3

}

then all the cells in this row become <th>s. Essentially, this means that if
you want a <th>, you have to start a row with a !.

xmlizer wrote:

ok so the documentation doen't mention that...
But as <th> is a cell marquer and not a line marquer
it will be great to have this feature working
but it has to change the way it works now
{|
! A !| B |! C

}

would look like

ABC

and
{|
! A || B || C

}

which have to be equivalent to

{|
! A !| B || C

}

will have to look like

ABC

instead of

ABC

rowan.collins wrote:

I'm tempted to mark this "wontfix", because this seems to me a fairly unusual
requirement, and the below works fine:
{|

A

! B

C
}

For now, I'll just mark it as "severity:enhancement".

I'm also removing keyword "parser", as writing a new parser wouldn't solve this
because it is not a feature that doesn't work, it's one that hasn't been written.

dadee wrote:

attachment missing in source

dadee wrote:

attachment missing in source

dadee wrote:

attachment missing in source

dadee wrote:

attachment missing in source

dadee wrote:

attachment missing in source

dadee wrote:

attachment missing in source

dadee wrote:

attachment missing in source

dadee wrote:

attachment missing in source

dadee wrote:

attachment missing in source

dadee wrote:

attachment missing in source

dadee wrote:

attachment missing in source

ssanbeg wrote:

Comment on attachment 3499

ssanbeg wrote:

Comment on attachment 3500

jpotkanski wrote:

Comment on attachment 3494

squish

Closed per comment #3 and the lack of responses since.