-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Summary
wikitool currently handles article content well but has no support for user-facing pages:
Benutzer:TealStarsong/User:TealStarsong— user pagesSpezial:Beiträge/TealStarsong/Special:Contributions/TealStarsong— contribution history
Trying wikitool -l de Benutzer:TealStarsong returns a 404 if no user page exists, with no way to distinguish "page doesn't exist" from "user doesn't exist." And there's no way to fetch contribution history at all.
Use Cases
- Fetch user page content —
wikitool user TealStarsongorwikitool user TealStarsong --page - List user contributions —
wikitool user TealStarsong --contribswith output like:39 edits across 29 pages (de.wikipedia) - Felix PC (2 edits, latest: 2026-02-14) - CUB (Computer) (1 edit, latest: 2026-02-14) ... - User info/metadata — registration date, edit count, groups
- Cross-wiki —
wikitool user TealStarsong -l devs-l en
Relevant APIs
| Endpoint | Purpose |
|---|---|
action=query&list=usercontribs&ucuser=X |
Contribution list |
action=query&list=users&ususers=X&usprop=editcount|registration|groups |
User metadata |
action=parse&page=User:X |
User page content |
Suggested CLI
wikitool user <username> # user page content (like `get`)
wikitool user <username> --contribs # contribution history
wikitool user <username> --info # metadata (edit count, registration, groups)All should respect -l / --lang and -o / --output json.
Context
Ran into this while trying to review my own edit history across de/en Wikipedia. Ended up falling back to raw curl against the API, which works but defeats the purpose of having a CLI tool.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels