wikibooks: drop file-link option words before captions (v2#116)
Cleans the released wikibooks text again with the rules of PR 135 (v2#116). This is the last of three PRs, one per source, with PR 137 (wikinews) and PR 138 (wikivoyage). They change different data files and merge in any order.
As in PR 137, retext from the pre-cleanup data now also removes an option run's last option when the caption follows it, so the chain in the findings no longer gave main. This PR ships that chain's text. It also rewrites the plwiki_talk section's note on these 105 rows (wikinews 59, wikivoyage 14, wikibooks 32), which holds once all three PRs are merged.
Effect: 32 rows lose 430 characters and 144 tokens, all of them option words before a caption: 39 sizes (500px most often), center 20, left 8 and bezramki 5 (bezramki 2. Oblicz… → 2. Oblicz… in wikibooks_61634). wikibooks_62042 keeps its token count. No line is dropped and no page falls under 200 characters. The cleanup still changes 2,144 rows.
| label | documents | tokens | share |
|---|---|---|---|
CC-BY-SA-3.0 |
6,797 | 11,431,748 | 74.9% |
CC-BY-SA-3.0 AND CC-BY-SA-4.0 |
994 | 2,468,127 | 16.2% |
CC-BY-SA-4.0 |
1,257 | 1,360,973 | 8.9% |
Totals are 9,048 documents and 15,260,848 tokens (was 15,260,992).
Labels: the label counts are unchanged. 5 rows in the labels file count 1 to 3 added words fewer (wikibooks_31851 4 → 1). All 5 keep both licences. Documents last edited before 2009-06-15 are still 435 (258,577 tokens).
GFDL review: wikibooks.gfdl-review.json keeps its 45 documents and classes. Only wikibooks_24460 (Przewodnik po OZE/Licencje, in the closest audit pattern's 25) changed, from 4,442 to 4,435 tokens. The matched tokens are now 121,964 (0.80% of the source), the closest pattern's 25 documents 68,910, and licence_discussion 43,933. The file's updated.note records the change.
Reproduction: PR 134's chain with the rules of PR 135. It starts from the data before PR 127 (commit b7dc20a) and runs retext, then wiki_history.py scan, fetch and compare on the same stub dump (sha1 66f6883c…), then relabel and datasheet. Given the updated GFDL review file, its output is this PR's data files byte for byte, and running retext, relabel and datasheet again changes nothing.
Tests: test_wikibooks_contract and the GFDL review test pass. Compared with the baseline there are no new failures; the remaining ones fail on the LFS-pointer data of other sources in the worktree. Details are in artifacts/source_findings.md.
🤖 Generated with Claude Code
refs/pr/139 ref