Btw: I have one notes on the HTML in the Repository [2]:
- there is a stray end-tag div in line 76
<!-- /bodyContent -->
</div> <!-- /content -->
As the comment says, this closes<div id="content">, which is at line 39.
The comment is wrong ;)
The extra</div> is found in the<!-- bodycontent --> block
You mean line 65? Yes, just found it as well, but – you're right here – the comments are wrong, should be "mw-content-text" and "/mw-content-text" in line 64 and 65.
curl http://www.wikidata.org/wiki/Q560 | grep -o "</div" | wc -l 38 curl http://www.wikidata.org/wiki/Q560 | grep -o "</div" | wc -l 39