Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
None
Description
The page (http://qt-project.org/wiki/diff/<ArticleName>) you get to when clicking the "Article history" link in the sidebar of any wiki Article, contains a section of the following form for each listed revision of the article:
<div class="itempad"> <input name="rad_revision1" id="rad_revision1" ...> <input name="rad_revision2" id="rad_revision2" ...> ... <input id="rev1_id" ...> <input id="rev2_id" ...> </div>
The exact same four id's ("rad_revision1", "rad_revision2", "rev1_id", "rev2_id") are used in all such sections on the same page.
This is expressly forbidden by the HTML standard - the value of an id attribute must be a unique identifier for a single element.
Either the server-side script should generate a unique id for each of the input elements, or (probably a lot easier) the client-side JavaScript code that operates on them should not address them by id, but rather by class or name (which are allowed to be the same for multiple elements).