This is a great extension which I heavily relied on. Upgraded to MW 1.30 recently only to discover it's not supported for this extension. It's a shame. Would really appreciate if it were adapted to older MW versions as well
Extension talk:SimpleTable
With mediawiki 1.35 there is some clash with the way this extension registers itself with other extensions like Maps. I have rewritten it to use extension.json and a new Hook approach. See https://github.com/jrbray1/SimpleTable where you will need extension.json and SimpleTable.php, and add to LocalSettings.php
wfLoadExtension( 'SimpleTable' );
I don't understand php or mediawiki internals, so the solution is fragile
I troubleshot this down to here as well. Thanks for beating me to this and fixing this. I used your repository master to get this crucial extension working again with Maps parser extensions.
In my attempts to have tables with columns not wrapping their text (See https://www.mediawiki.org/wiki/Topic:Vt0oqcj6dvqqyl6d), I came up with a solution for SimpleTable.php, a change to convertTable so only the last column wraps
if ($col < sizeof($fields)-1) { $wikitab .= $cbar . ' <span style="white-space: nowrap;">' . $field . "</span>\n"; } else { $wikitab .= $cbar . " " . $field . "\n"; }
I like SimpleTable a lot, so I've made a copy at https://github.com/jrbray1/SimpleTable and added my changes for a newbarbar (||) separator and table collapsing. Once I've got the hang of things I may offer to maintain it properly.
There are no older topics