Commit Graph

26 Commits

Author SHA1 Message Date
c2ee859cf5 Merge pull request 'Remove the e-book record of a local test publish' (#4) from fix/remove-local-ebook-record into main
Reviewed-on: #4
2026-10-09 23:11:13 +00:00
fe5949591d Merge pull request 'LICENSE-CODE: Muhammad Anas Rashid' (#5) from owner-name into main
Reviewed-on: #5
2026-10-09 23:11:02 +00:00
Anas Rashid
2d3aafa3fb LICENSE-CODE: Muhammad Anas Rashid
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 00:53:41 +02:00
موڈریٹر 2
e914e3092f ای بک: مرزا غالب، دیوان غالب: نئی ای بک (ورژن 1)
Divan-Revision: 5
Divan-Version: 1
Approved-by: موڈریٹر 2 <moderator-2@users.noreply.divan>
2026-10-09 22:19:27 +00:00
Anas Rashid
4021a7f01a Remove the e-book record from a local test publish (حدائقِ بخشش, local id 10); the live site publishes its own
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 23:29:43 +02:00
موڈریٹر 2
4784603810 ٹیگ: ابتدائے عسق ہے روتا ہے کیا: ترمیم (ورژن 1)
Divan-Revision: 4
Divan-Version: 1
Approved-by: موڈریٹر 2 <moderator-2@users.noreply.divan>
2026-10-09 21:27:43 +00:00
موڈریٹر 2
8f66cc92e3 ای بک: احمد رضا خان، حدایق بخشش: نئی ای بک (ورژن 1)
Divan-Revision: 2
Divan-Version: 1
Approved-by: موڈریٹر 2 <moderator-2@users.noreply.divan>
2026-10-09 21:24:16 +00:00
e1a801a50e Merge pull request 'Licence: data CC BY-SA 4.0 (LICENSE), scripts MIT (LICENSE-CODE)' (#3) from fix/data-licence into main
Reviewed-on: #3
2026-10-09 15:58:51 +00:00
Anas Rashid
c5b968c469 Licence: the data is CC BY-SA 4.0 (LICENSE), the scripts MIT (LICENSE-CODE); README lists what each covers
The texts and intros come from Wikisource and Wikipedia (CC BY-SA), so the data cannot be MIT; LICENSE was the MIT
text, which hosts showed as the licence of the whole repository.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 17:41:09 +02:00
آزمائشی موڈریٹر
f1b525d065 ای بک: احمد رضا خان، حدائقِ بخشش: حدائقِ بخشش کی پی ڈی ایف (ورژن 1)
Divan-Revision: 215
Divan-Version: 1
Reviewed-by: انس رشید <moderator-30@users.noreply.divan>
Approved-by: انس رشید <moderator-30@users.noreply.divan>
2026-10-09 14:59:35 +02:00
96529bdd88 Merge pull request 'Divan-owned order: the export follows arrangements published in Divan' (#2) from feature/divan-order into main
Some checks are pending
Wikisource sync / sync (push) Waiting to run
Reviewed-on: #2
2026-10-09 12:33:15 +00:00
1f8373ab2e Merge pull request 'Divan-owned content takes precedence over Wikisource' (#1) from feature/divan-owned-content into main
Some checks are pending
Wikisource sync / sync (push) Waiting to run
Reviewed-on: #1
2026-10-09 12:33:07 +00:00
Anas Rashid
55096e65b9 Divan-owned order (#41): the export follows divan/<url>.order arrangements published in Divan
Some checks are pending
Wikisource sync / sync (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 14:02:24 +02:00
Anas Rashid
49f9fe9f38 Divan-owned content (#30): works edited in Divan take precedence over Wikisource
Some checks failed
Wikisource sync / sync (push) Has been cancelled
divan/<work url>.dtx (readable source) and .json (generated by the Divan app) override the
Wikisource text in the export; such works are marked DivanOwned with who edited them and when.
Radif, matla and maqta are computed from Divan's verses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 00:22:33 +02:00
Anas Rashid
b46fdb5ca9 Ghazal marks: radif, matla, maqta (takhallus sign) and radif letter for divan contents
Some checks are pending
Wikisource sync / sync (push) Waiting to run
Grouping and order now read the radif from the first couplet's second line, which carries it
even when the source lacks the matla.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 21:27:22 +02:00
Anas Rashid
8cf14ad1ff Export Gregorian (عیسوی) birth/death years alongside Hijri (BirthYearCE, DeathYearCE)
Some checks are pending
Wikisource sync / sync (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 20:53:21 +02:00
Anas Rashid
7ad39cd96a Treat works in poetry sections as poetry even without <poem> markup
Some checks are pending
Wikisource sync / sync (push) Waiting to run
Six Mir ghazals were stored as prose, so their couplets were merged into paragraphs.
Classification now also uses the section (غزل، نظم، رباعی…); a fix-up pass reclassifies
stored works on every sync.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 20:51:41 +02:00
Anas Rashid
256800c577 Published order for books and poems; divan (radif letter) order for ghazals
Some checks are pending
Wikisource sync / sync (push) Waiting to run
- wikisource.py: record each work's position in the author page list (ord), refreshed on
  every sync; children of index pages keep their parent's position
- export: walk works by ord; books in order of first appearance (Iqbal: Bang-e-Dra,
  Bal-e-Jibril, Zarb-e-Kalim, Armaghan-e-Hijaz)
- ghazal sections in divan order: last letter of the radif (opening line), alif..ye;
  ties keep source order; Iqbal keeps his books' published order

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 20:45:45 +02:00
Anas Rashid
406e7c910b Rename to Divan (Roman script): divan.db, export_divan.py, divan_ids, repo links
Ids unchanged (export identical). Urdu دیوان unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 20:02:06 +02:00
Anas Rashid
120e278054 Merge duplicate author pages via resolved Wikipedia article (#7)
- author pages linking the same article (after redirects) become one poet; aliases kept in
  poet_aliases so later syncs map new works to the canonical poet
- normalise ':ur:X' Wikipedia links
- result: مرزا اسد اللہ خان غالب merged into مرزا غالب (316 works); 383 poets

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 00:32:32 +02:00
Anas Rashid
eb4e74f0a1 Rename export_ganjoor.py -> export_divan.py, ganjoor_ids -> divan_ids; Language ur-PK
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 23:51:03 +02:00
Anas Rashid
b9c03d7f85 Ganjoor export: Hijri years, Urdu (Eastern Arabic) digits in titles/text
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 23:14:58 +02:00
Anas Rashid
47a5e454e4 Ganjoor-compatible export (manifest.json, poets/, index/)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 23:05:14 +02:00
Anas Rashid
f7463757fd CI: also run sync when sync code changes (Gitea 1.22 has no dispatch button)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 22:56:57 +02:00
Anas Rashid
ebc73d0d53 Urdu only: drop English Wikipedia intros (intro_ur -> intro)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 22:52:15 +02:00
Anas Rashid
81ab6a3331 Divan: classical Urdu poetry & prose from Urdu Wikisource
384 authors, 11,087 works (10,446 poetry, 641 prose), FTS5 search,
JSONL export, daily Gitea Actions sync.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 22:48:40 +02:00