Wikipedia talk:AutoEd/tablestowikitext.js

Comment about comments
Looks like a nice script. The only improvement I might suggest is that &lt;tr>, &lt;th>, and &lt;td> can, and often do, have stuff too. For example: makes a table that looks like:

By the looks of your script, a lot would be lost or fail to convert breaking the table. Just a thought. Technical 13 (talk) 12:23, 1 May 2013 (UTC)
 * Oh, I was just reading the comments / script documentation. Looks like the script actually may copy all of that stuffs too.  Nevermind, although someone may want to adjust the comments so that someone with less ability to read ReGex and Javascript will be able to clearly know what it is doing.  Any admin should be able to do this, no?

Hello friendly responding admin. Can you modify the comments as follows: Thank you. Technical 13 (talk) 12:36, 1 May 2013 (UTC)
 * Replace this line
 * with this one
 * // Replace '&lt;tr>' with '|-'
 * // Replace '&lt;tr stuff>' with '|- stuff'
 * // Replace '&lt;td>' with '|'
 * // Replace '&lt;td stuff>' with '| stuff |'
 * // Replace '&lt;th>' with '!'
 * // Replace '&lt;th stuff>' with '! stuff |'
 * I don't see that this adds much to the descriptions which are perfectly accurate already. '&lt;tr>' is replaced with '|-' and the "stuff" is unaffected. &mdash; Martin (MSGJ · talk) 12:00, 9 May 2013 (UTC)
 * MSGJ, I agree that this is a minor change. The problem I had is that there is a description further up that says:


 * // Replace ' ' with '{| stuff'
 * which to me implies that the stuff is not included below as it is not declared as it was above. It is inconsistant and confusing.  Please fix one or the other if you would be so kind. Thank you. Technical 13 (talk) 12:36, 9 May 2013 (UTC)
 * Hopefully this is now resolved to your satisfaction. &mdash; Martin (MSGJ · talk) 13:59, 10 May 2013 (UTC)
 * Technical 13 (talk) 14:04, 10 May 2013 (UTC)