Most references to and dependencies on Subversion have been removed.
"+svn" is now "+dev". Files that can't be fixed yet have a FIXME-GIT
comment in them; most of these are in the website tests.
The Dark Flagstones terrain had .aliasof at the last line before the
closing tag, which caused a newline to be output right before </code> in
the wiki page, and in turn causing MW to generate invalid XHTML.
This change makes the generated wiki page valid XHTML again (except for
another problem with the actual glamdrol theme, not the page contents).
...and use | instead of the Unicode broken bar (fixes bug #19678)
This also extends the vertical bar escaping to the .aliasof column
contents (in case we ever get base terrains with vertical bars)
By using <code> we should be able to stick to byte-accurate contents
without compromising readability, by styling terrain type strings in a
default monospace font suitable for code display (i.e. | and l should be
distinguishable from each other).
Same as data/tools/terrain2wiki.rb except it works with current format
It also works with arguments, so you can choose source and destination
files
Still need some changes but it already works. Only feature that was in
ruby tool and not in this one is stats from. It will be added in a
future version.
mvt_alias and def_alias will also be added in a future version in the
alias column.
Another thing to not is that the tool does not parse terrains with an
'hidden=yes' because these shouldn't appear in a terrain reference.
Pep8 and Pylint results are good.