DOS uses the excellent Apple Wiki software that is bundled with Mac OS X Server. However, we discovered a few bugs as browsers were updated over time:
- Incompatible with Google Chrome – trying to log in would result in a “8002 Invalid Session” error
- Bugs when using Firefox 4+ (maybe others) – clicking Edit would show the Edit Toolbar but not put the page content in an editor, so it looked like the View mode (and wouldn’t work)
My assumption is that the JavaScript was using later-invalid syntax, or that previously ignored bugs now crashed the interpreter. I could “fix” the Firefox bug by refreshing the page a few times, or by logging out. However, it became so annoying I stopped using the Wiki as much as before.
Today I thought: “what if the JavaScript library on a newer version of OS X Server was compatible?” I tossed the code into Firebug and found the specific file that threw an error when I clicked Edit (sometimes): wikiserver_api.js
This file is located in /usr/share/collaboration/javascript
I decided to try Snow Leopard Server’s copy instead of Lion’s since it would be (hopefully) more compatible (and less likely to render the system unusable). I renamed the old file, scp’ed the new file, and it seems to be working =D
Users can now use Chrome with our Wikis, and the Edit button works in Firefox and Chrome on the first try.