No description
mediawiki_oauth: set User-Agent on all OAuth1Session instances so Wikimedia doesn't reject token and API requests with 403; add timeout parameter to api_post_request (default 4s). mediawiki_api: add APIError exception; wrap .json() in call() to raise APIError with status code and response body on decode failure; raise timeout to 30s for edit POSTs. api: wrap call_get_diff .json() with the same JSONDecodeError guard, raising MediawikiError with HTTP status and body on failure. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| add_links | ||
| frontend | ||
| static/css | ||
| templates | ||
| .gitignore | ||
| add_front_end_libraries.py | ||
| cmdline.py | ||
| package.json | ||
| vite.config.js | ||
| web_view.py | ||