On 24.03.2009, at 00:02, [email protected] wrote: > When we generating PDF file, wiki always return "Invalid URL" error. > I looked into mw-serve execution log, for each request, mw-serve > create/reuse a cache directory /var/cache/mw-serve/x/xxxxxxx. Then I > looked into the mw-render.log.rl file in the cache directory, I found > this problem: mw-serve issue a http call to wiki's api.php > http://localhost/wiki/api.php?action=request&meta=siteinfo&format=json > And, Wiki api.php always return "Invalid action parameter" in json > format. Then mw-serve translates this error to "Invalid URL" error > and return to the Wiki. Wiki just display "Invalid URL" error back > to the users.
The problem is, that these kinds of errors will be returned on other occasions, too, not just when a login is required. As the procedure with setting $wgCollectionMWServeCredentials is documented in the README (and in the mailing list archive), I guess we won't change the error handling here. -- Johannes --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "mwlib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mwlib?hl=en -~----------~----~----~----~------~----~------~--~---
