W3C home > Mailing lists > Public > public-webplatform@w3.org > November 2013

Re: JS content plan

From: Max Polk <maxpolk@gmail.com>
Date: Sun, 17 Nov 2013 23:20:53 -0500
Message-ID: <CADPfvJt+08UHmizSy8j9yk1AEn0ADSk2JyAC8dZ3xEumEUoqLw@mail.gmail.com>
To: WebPlatform Public List <public-webplatform@w3.org>
I tried an import to the test wiki, but the api.php isn't working right.
It uses a token on one request then does a login using a second request.
It then uses a fourth request to get a page edit token and does the edit on
a fourth request.

Once in a while the page upload works, but mostly the login fails or the
upload fails.  It seems like the token on a previous request isn't
recognized by the next request, so it thinks you aren't logged in and can't
upload a page.

This really looks like there is some kind of clustering going on where
api.php tokens (possibly session parameters) aren't shared between all the
member of the cluster.  If true, the api.php can't work except accidentally
once in a while if you happen to land on the same server as last time.

Has the api.php been tested yet, especially for multiple page edits (like
when uploading)?  The two instances (main wiki and test wiki) use a
different URL then the normal user-visible path.  It's /w/ instead of
/wiki/, and /t/ instead of /test/:

    MAIN wiki:  http://docs.webplatform.org/w/api.php
    TEST wiki:  http://docs.webplatform.org/t/api.php

On a side note, the breakcrumb trail is wrong on the test wiki (it links
back to the main wiki), for example, look at the top of:

    http://docs.webplatform.org/test/Tests/javascript-a

Not sure if that matters.



On Thu, Nov 14, 2013 at 7:29 PM, Renoir Boulanger <renoir@w3.org> wrote:

> Hello all,
>
> It appears that I have been getting late on this thread.
>
> @Max, you can use the test wiki to test your import scripts.
>
>   [0]: http://docs.webplatform.org/test/Main_Page
>
> Renoir
> ~
Received on Monday, 18 November 2013 04:21:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:13:55 UTC