Needless to say, this would be just great!
I suppose things to fix would include:
- Fix directory handling so that it could work with windows-style paths (C:\www\wikidot\… instead of /var/www/wikidot…) - currently for sure include dirs is broken and in many places DIRECTORY_SPEARATOR constant should be used. In Wikidot2 we are using a bit different approach to handling directories and I hope it will work.
- exec() : in a few places we are calling external processes just by running the exec() function. I am not sure how this behaves in Windows. exec() is mostly called when converting images (tools from ImageMagick) and calling LaTeX (for producing equations)
- dependencies — this should be easier I hope. PECL is also available on Windows.
There is also a workeround for the whole process: use a virtual machine inside Windows. We have just created a universal VMWare-based system that one can use to develop both Wikidot v1 and Wikidot v2! I just need to upload it somewhere. It is based on Ununtu Joes Alpha and works really great. More info will come later today or early next week.
Michal