Longchenpa Project
Part of User:Eric/Report 2026-11-22. The Longchenpa material reachable from User:Eric is now organised the way the Jonang Project organises Dolpopa and Tāranātha: one page per edition, per volume and per text; lists built by Semantic MediaWiki from the text pages; and a person page, a hub, thematic pages and an About page. Start at Longchenpa Collected Works. How the pages were made, and what is still missing, is on Longchenpa Collected Works/About.
What is on the wiki
| Group | Pages | What each text page has |
|---|---|---|
| Klong chen rab 'byams kyi gsung 'bum (Beijing 2009) (26 volumes, BDRC MW1KG4884) | the edition page, 472 text pages (LONGCHENPA-PECIN-VV-L-NNN), 26 volume pages, 26 volume tables of contents (dkar chag), 6 front-matter pages |
The Tibetan e-text, cleaned of the leftovers of the 2020 Word conversion, for 452 texts. 14 short texts are printed inside another text's page and link to it. The 2 Theg mchog mdzod parts in an old font encoding link to a readable Unicode copy. 4 texts have no e-text yet. |
| Klong chen rab 'byams kyi gsung 'bum (sde dge par ma) (5 volumes, BDRC MW00EGS1016299) | the edition page, 124 text pages, 5 volume pages | Titles, BDRC page numbers and a link to the scan on this wiki |
| Mdzod bdun (a 'dzom par ma) (7 volumes, BDRC MW1PD8; added 22 Nov 03:29–04:01) | the edition page, 19 text pages, 7 volume pages | OCR of the scans (not proofread) with the BDRC scan pages. The Adzom Chögar edition is the standard edition of Longchenpa's writings. |
| Mdzod bdun (karma legs bshad gling e-texts) | the edition page, 19 text pages | The e-text. The colophons show 13 are by Longchenpa, 4 by Mipham and 2 by Patrul, and the pages say so. |
| Longchenpa, Longchenpa Collected Works and its About page, Seven Treasuries (Longchenpa), Trilogy of Rest (Longchenpa), Snying thig ya bzhi (Longchenpa Collected Works) | 6 | The person, the hub, the living record of the project, and the editions side by side for each work |
| Templates, properties and categories | 11 + 15 + 11 | Template:Text, Template:VolumePage, Template:Collection and helpers;
|
In all, 724 pages at 01:42: 723 new pages, and the existing 10-byte page Longchenpa filled in. Since the Adzom edition was added, 752 pages. No other existing page was changed. The older pages (Klong chen rab byams gsung 'bum/volume …, the Seven Treasuries pages, the PDFs) are all still there, and the new pages link to them.
How it was imported (22 Nov 2026, 01:32–01:42 UTC)
- Done after the security work, on MediaWiki 1.43.12, with Eric's approval.
- Rollback point first: a fresh dump of the whole database (284 MB compressed), kept on the server at
/home/ec2-user/lcp/backup/db_before_longchenpa_2026-11-22_0132.sql.gz. importDump --no-updates: 724 revisions credited to Eric. They carry the generation date, 21 November 2026 12:00.- Then, all run directly by script rather than through the job queue:
- links and categories refreshed for the new pages;
- two passes of the SMW data rebuild, so that pages whose lists depend on other new pages fill in. These passes also refreshed the SMW data of some existing pages, which is harmless;
- search indexing;
- cache purge.
- Checks afterwards:
- all 724 live pages are identical to the generated package (SHA-1 of each revision);
- the volume, edition and Lekshey Ling lists fill (e.g. 30 rows for Beijing vol. 1, 22 for sde dge vol. 4);
- no parser errors;
- the category holds 687 pages and 10 subcategories.
Later the same night
- 02:18–02:22: font. The Tibetan is set in the wiki's own web font TibetanMachineUni; in the Beijing e-texts the «…» notes are shown in small print, with the marks hidden.
- 02:56–03:08: Theg mchog mdzod. The Beijing e-text was in an old font encoding. It was converted to Unicode on its two source pages, and its text pages now carry it.
- 03:11–03:29: study page. Theg mchog mdzod (Longchenpa): the Treasury of the Supreme Vehicle in ten editions (Adzom first), a critical edition, the English translation (machine translation, labelled) and a bilingual version, in 54 pages.
- 03:29–04:01: Adzom edition and Tibetan sizes. Mdzod bdun (a 'dzom par ma) (28 new pages). An Adzom edition tab on the other editions' pages of the same works (44 pages). An Adzom column on Seven Treasuries (Longchenpa). The Tibetan beside English sized relative to the English (1.3× in text, 1.45× for titles).
- Next morning, 15:28–15:30: e-text size. The e-texts, and the Tibetan text of the study page, are now 1.3 times the English with wider line spacing, like the Tibetan beside English (before, a fixed 16 points). The hidden figure markers of the Beijing Theg mchog mdzod no longer show as text.
- Afternoon, 17:33–17:51: speed and Unicode. The glossary extension that made the largest Longchenpa and Theg mchog pages take up to 2½ minutes to display (so that some visits ended in an error, and search kept their old text) was turned off. They now display in 1–2 seconds, and search has their current text. 15 Longchenpa text pages got the same Unicode repairs as their source pages (vowel signs put back on their letters).
- 18:06–18:10: the study page enriched. Theg mchog mdzod (Longchenpa) now has the table of contents and the detailed outline of the work with a summary of each section (2,273 divisions), the sources of its 1,339 quotations (163 works), a colour-coded bilingual version, and the notes and summaries as tooltips, as on the Jonang wiki. Made by AI, not checked by a scholar.
- Evening, 20:15–21:06: a login-only area. Material of the project that is not for public view can now go in the namespace Restricted, which only logged-in Tsadra accounts can read or search; a monthly test checks that nothing leaks. Details: Changes.
- Each step was checked page by page against the package after the import, and a database dump was taken before it.
- Details: Longchenpa Collected Works/About (section Changes).
Rollback
- Preferred: delete the 723 new pages (
deleteBatch, as Eric, from/home/ec2-user/lcp/rollback_longchenpa_host.sh), then undo the one edit to Longchenpa. - Last resort: restore the dump above. This also loses every edit made after 01:32 UTC on 22 November.
Notes
- SMW's
Authorproperty is reserved on this wiki, so the text pages useTextauthor. - The page titled
གནས་ལུགས་རིན་པོ་ཆེའི་མཛོད།contained the Lung gi gter mdzod; since 22 Nov 17:40 it redirects to the root text. The new pages link to the correct text. - On User:Eric, the English titles of bsam gtan ngal gso and sgyu ma ngal gso are swapped. The new pages use the correct ones.
- For the Derge volumes 2 and 4, the scans on this wiki have many more pages than BDRC's Derge volumes, so they may be a different print. Only the start pages listed on User:Eric are linked for them.