plwiki_user_talk: add record links and redacted citations (v2#110)

#145
by ppuzio - opened
Commit history is no longer available for this pull request.
Fabryka AI org

Adds the per-record links and source citations to plwiki_user_talk (v2#110, 1A, 3B). Needs the code in the wikivoyage PR (#141). Text and labels are unchanged (380,295 documents).

Sidecar: each line gains permalink, history_url, license_urls and conversion. The build recorded no revision id, so permalink is the stub dump's revision made at last_revision_at: where two were made in that second (144 rows), the higher id; null for the 665 pages deleted since.

citations lists the non-empty <ref> bodies, then the Cytuj.../Cite... templates outside them: 3,200 citations on 1343 rows. They are read from the build's dump (20260901 pages-meta-current), whose revision of every row has the shipped last_revision_at and wikitext length. Personal data in them is redacted with the text's patterns: 6 (4 IPv4, 1 IPv6, 1 e-mail address), counted in qa.json (citations). The patterns' false positives carry over (two ISBNs in a row can read as an account number, a DOI or a :: as an IP address). NERGAL (v2#60) has to cover the field too. source_notes is an empty list on every row.

Card: documents the fields, adds the quotation paragraph (Art. 29) and rewords the Not-checked entry to whether messages quoting text from outside Wikipedia stay within Art. 29.

Tests: test_plwiki_talk_contract passes for plwiki_user_talk with this data and the code PR. README, CHANGELOG and totals are left to v2#80.

🤖 Generated with Claude Code

ppuzio changed pull request status to open
ppuzio changed pull request status to merged
ppuzio deleted the refs/pr/145 ref

Sign up or log in to comment