Yes, there is something wrong with the divs. Need to investigate.


2012/11/27 Lukas Benedix <benedix@zedat.fu-berlin.de>
Am 27.11.2012 12:53, schrieb Anja Jentzsch:

Hi,

On 27/11/2012 10:59 Marco Fleckinger wrote:

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.
we are constantly validating the HTML rendered by Wikidata on our dev system as well and this is the current status (updated daily):
http://wikidata-docs.wikimedia.de/htmlvalidation/

Cheers,
Anja


I don't understand that and don't think wikidata.org, what I am talking about, is the dev-system.

I have 38 opening div-tags and 39 closing.

lb@vsrv41563:~$ curl http://www.wikidata.org/wiki/Q560 2> /dev/null | grep -o "<div" | wc -l
38
lb@vsrv41563:~$ curl http://www.wikidata.org/wiki/Q560 2> /dev/null | grep -o "</div" | wc -l
39



_______________________________________________
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l



--
Project director Wikidata
Wikimedia Deutschland e.V. | Obentrautstr. 72 | 10963 Berlin
Tel. +49-30-219 158 26-0 | http://wikimedia.de

Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.V. Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin, Steuernummer 27/681/51985.