-----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? :)
Best wishes,
Tels
- -- Signed on Sun Feb 27 23:14:21 2005 with key 0x93B84C15. Visit my photo gallery at http://bloodgate.com/photos/ PGP key on http://bloodgate.com/tels.asc or per email.
"It is true that some lawyers are dishonest, arrogant, greedy, venal, amoral, ruthless buckets of slime. On the other hand, it is unfair to judge the entire profession by a few hundred-thousand bad apples." -- The Washington Post