Community
Participate
Working Groups
In my reading of mediawiki docs, the following should work: {|class="foo" |Some text |} Producing something like: <table class="foo"> .. But that doesn't appear to be happening.
Created attachment 207395 [details] test output
Created attachment 207396 [details] test input
this works for me with the attached input. (see atttached output) Please reopen if you find a way to reproduce.
OK, it's actually a docbook fail. I'm doing mediawiki2docbook and docbook2eclipsehelp and I only looked at the eclipsehelp. Should have checked that first. This is what I get in docbook: <informaltable> <tr> <td>Some text</td> </tr> </informaltable>
According to the "DocBook reference":http://www.docbook.org/tdg5/en/html/ref-elements.html#common.attributes and "DocBook XSL: The Complete Guide":http://www.sagehill.net/docbookxsl/UsingCSS.html#CustomClass the right attribute to use is @role@. I've pushed a change which will now result in the following docbook: bc. <informaltable role="foo"> <tr> <td>Some text</td> </tr> </informaltable> Depending on how the DocBook is used to generate HTML, you may need to configure your document processing chain. If using DocBook XSL, the following reference should help: http://www.sagehill.net/docbookxsl/UsingCSS.html#CustomClass
Created attachment 207451 [details] mylyn/context/zip