Very very impressive! Once again, this is just like what I had planned to do, only better :) Congratulations on your hard work!
Just a question. I don't see what the benefit is from using a parser+presentator model when you could just convert wiki markup directly into HTML. On a more generic project it would likely fit, but since you're running your code on a browser which uses HTML anyway, what's the gain? Isn't it just slowing it down?
Can't wait to see what's next. It all looks awesome so far.
Best wishes,
Pedro
On Sun, 27 Feb 2005 22:23:10 +0000, Jim Higson jh@333.org wrote:
Tels wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Moin,
On Sunday 27 February 2005 14:00, Jim Higson wrote:
Tomer Chachamu wrote:
An Apache mod rewrite rule defers all request to the same html page. This page is just a stub that kicks off the Javascript that fetches, parses and presents the content. Wikiwyg can run on top of any existing mediawiki without changes. All content is fetched using XMLHTTP and a mix of action=raw and Special:Export. Links are coloured red or blue a few seconds after they are first displayed, because it takes a little time between parsing the link and getting back a HEAD request to check if the article exists.
Does this mean that we can use it to browse Wikipedia, with a few modifications? That would decrease server load, right?
I've changed the main page from something silly to something that explains this. Yes, it could be used on top of any mediawiki, alongside the existing interface. Running two interfaces has issues though, we'd have to try to replicate any bugs in the PHP parser to keep the thing consistent.
It may not have template inclusion support and it displays masses of XML per page, but it's worth it. ;)
Actually, I'm working on templates now. Templates are actually quite easy, just another http request. The XML dump is just so I can see that the parser is working fine, it won't be there when I'm done.
All I see is an empty main page, with for differently-blue-colored rectangles with 3-pixel-wide borders. No matter what link I click, I get an JS alert "hello world" message box. The rectangles cannot be clicked.
That is Forefoxc 1.0 on Linux, with a Privoxy as proxy in between. Any idea what I need to enable/disable to see it work? :)
I can't say for sure, but on my girlfriends's computer on our LAN Privoxy didn't like XMLHTTP. Try adding my IP to your cache's exceptions list (I won't spam you, honest :)
Also, I updated the site about 5 minutes ago, so you might have just hit it while I was updating. A few things won't work, especially images for the moment.
It still says hello world for some of the links, but clicking edit does something now (not much but a start, I'm still working on parsing fragments)
-- Jim
Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l