Withdraw wikiquote: most quotations are in copyright

#59
by ppuzio - opened
Fabryka AI org
•
edited 4 days ago

Withdraws wikiquote (whole source) from main and from v0.2.6. It was released in v0.2.0 and is in every tag through v0.2.5; those tags stay as published.

Stacked on Hub PR 58 (common_voice_pl). Both change the same README header and CHANGELOG total lines. Merge 58 first. Until then, this PR's diff also shows the common_voice commit; after 58 merges, this branch is rebased onto main.

Reason. Most of the text quotes other people's works. CC BY-SA covers the contributors' selection and wording, not the quotes. The quotes rest on the Art. 29 quotation right (t.j. Dz.U. 2025 poz. 24), which is purpose-bound and is not a licence to downstream users; its reach to bulk reuse is inferred, not verified.

  • Random 200-page sample (seed 1), with the audit's own labels: 158 in copyright (79%, Wilson 72.8-84.1%), 20 public domain, 13 mixed, 7 translation-only and 2 unknown. The citation pass checked the arithmetic, not the labelling (Q13).
  • Example page: wikiquote_2429270, on Alice Sebold (b. 1963), quoted in modern translations.
  • The 1,000-character quote cap is a length guideline with exceptions up to 1,800 characters, not a copyright rule. No pl.wikiquote copyright-policy page was found.

The audit's alternative was to screen each page and keep only authors and translators who died in 1955 or earlier. It was not chosen, and its 10-20% yield estimate was not reproduced (Q14). References: artifacts/rights_audit_2026-10/reports/wikis_ugc.md L1-4, reports/citations.md L11, and reports/citations/wikimedia.md section 3 (Q1-Q14).

What this PR changes

  • Removes data/wikiquote/: 30,363 documents / 31,896,591 tokens, plus its card and stats.
  • Registry: the entry is kept, not removed. Unlike openstax_pl and common_voice_pl, wikiquote was released (release: "0.2.0"). Following the HPLT precedent, the entry stays so the registry still describes the published tags, with a legal_note recording the withdrawal. make_docs.py skips it, since there is no stats file. (Issue #65 assumed release: None, which does not hold here.)
  • Drops plwikiquote from the SITE table and docstring of src/fetch_wikimedia.py, so a default run no longer fetches it. The fetcher still serves wikinews, wikivoyage and wikibooks.
  • artifacts/source_findings.md: an entry is appended.

README and CHANGELOG

  • The v0.2.5 source table keeps the wikiquote row (it describes the tag), marked withdrawn the way HPLT is, with the card link removed. "Main has changed since" gains a wikiquote bullet.
  • The main totals are recomputed from the stats.json files, which also fixes earlier staleness. The README and CHANGELOG main totals had not been updated for Hub PRs 49 and 50 (1000_novels: 1,000 → 837 documents; wiktionary_examples: 8,639 → 1,818). They were 6,984 documents / 9.66M tokens too high, and PRs 56 and 58 carried the error forward. This PR adds the missing "changed on main" bullets for PRs 49/55, 50 and 51, and sets:
    • 18 v0.2.5 sources still on main: 2,725,031 documents / 7,078,287,856 tokens.
    • All 33 sources on main: 4,010,443 documents / 8,335,077,871 tokens (8.34B). The header date is now 2026-10-05.
    • These figures assume PRs 56 and 58 are merged. As before, fandom_pl (PR 57) was never counted in these totals.
  • CHANGELOG: a "Removed from main" bullet is added.

Not changed

  • The README "Corpus phrase frequency" section keeps its wikiquote rows. It is labelled a v0.2.5 snapshot that is not recomputed for main, and it still includes HPLT for the same reason; the next release regenerates it.
  • configs/training_mix_v0_3.json and artifacts/training_mix_v0_3.* (v0.3-dev) still list wikiquote. Rerunning that mix would need the weight dropped.
  • PAPER.md (rows at L99 and L140): not edited since the June squash, and paper edits wait until v0.2.6 is frozen. The same applies to the v2 paper (main.tex, evidence ledger).

Checks

  • python3 -m pytest from the repo root on a clean tree (on main 1d66074 with Hub PR 58 applied): 259 passed.
  • render_sample.py: not applicable, since this is a removal with no shard to sample.
  • python3 src/verify_paper_claims.py --tex ../polish-dynaword-v2/main.tex fails with LookupError: no table with \label{tab:s04-wersje} in the .tex. This is a known tooling gap (polish-dynaword-v2 #61). wikiquote is in the paper, and the paper counts are deferred to the paper pass.

🤖 Generated with Claude Code

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

Sign up or log in to comment