I'm not sure if the problem comes from Wikipedia's endering motor, or just
because a lot of authors had used the wrong syntax. Let's see the problem first.
Go to this link:
http://en.wikipedia.org/wiki/Java_syntax#The_toString_method
The first link's text is "#toString() Object.toString()" while it's supposed to
be "Object.toString()"!! This is because the "#toString()" URI fragment is
wrongly rendered outside href attribute. More precisely, we have
<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html"
...>#toString() Object.toString()</a>
instead of
<a
href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#toString()"
...>Object.toString()</a>
This is not an individual case. Some other articles relating to Java have this
problem too. Looking at the "wiki source", the above link is coded as:
{{Javadoc:SE|java/lang|Object|toString()}}
I have no idea if this syntax is correct or not and nowhere can I find reference
to the syntax.
Version: unspecified
Severity: normal
URL: http://en.wikipedia.org/wiki/Java_syntax#The_toString_method