This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
Closed
Not a bug
FS#1070 The Hash class in domLib.js conflicts with one in prototype.js
CSS, XHTML, JS, Browsers
2007-02-07nazgul
prototype.js is a popular public domain javascript library. It's used by the Scriptaculous library among others. It defines a Hash class which conflicts with the one used in DokuWiki, with the result that if prototype.js is loaded, the DokuWiki functions that use Hash start failing. You can see this by using the latest version of the Battlehorse template (which uses Scriptaculous) and editing a document. Bring up the javascript console in your browser and watch what happens as you move the mouse around and click while editing a DokuWiki page.
I'd recommend renaming the Hash function in DokuWiki (or perhaps better, replacing it entirely and using the prototype. js library).
2007-02-07andi
First: DokuWiki no longer uses the DOMlib so the problem should be solved. Second: DokuWiki's $ function probably collides with prototype as well. We cannot care for all possible third party libs. If you introduce such lib to DokuWiki it's your responsibility to care for the compatibility. Third: if we would really go to one of the bigger libs we'd use JQuery instead of prototype ;-)