Yezur Wiki:Dictionary structure: Difference between revisions
Document Wiktionary's entry structure (ELE) and the adaptation plan for the Dictionary namespace: registry-first, minimal template kit, Cargo Lexemes table |
Record the operator's decisions: registry reuses existing codes (Module:Languages built, {{d}} built); the English frame (Engil, YXS-EN/YXS-NE); settled + still-open lists |
||
| Line 55: | Line 55: | ||
The same skeleton, sized for a dictionary starting from zero on a Cargo-first wiki: | The same skeleton, sized for a dictionary starting from zero on a Cargo-first wiki: | ||
* '''Adopt as-is:''' one page per written form; one L2 section per Yezuri language; the fixed heading order and nesting; numbered senses; glosses in the wiki's prose language ( | * '''Adopt as-is:''' one page per written form; one L2 section per Yezuri language; the fixed heading order and nesting (including ''Etymology 1 / Etymology 2'' for homographs, from the first entry); numbered senses; glosses in the wiki's prose language — in-world, Traditional English (see [[#The English frame|below]]). | ||
* '''Registry first.''' | * '''Registry first — reusing the wiki's existing code system.''' [[Module:Languages]] is the registry: it maps the same codes the language infoboxes already carry (family-prefixed: <code>YAQ-GA</code> Gaillean, <code>YAQ-HE</code> Hertic; <code>YBS-LO</code> Lonish, <code>YBS-NI</code> Nichana, <code>YBS-PJ</code> Pjany, <code>YBS-UU</code> Uu; plus <code>YXS-EN</code> / <code>YXS-NE</code> for the two forms of English) to display name and Dictionary section heading. Every dictionary template takes the code as an argument, exactly as on Wiktionary. Keep the module in step with the <code>code</code> field of [[Template:Infobox language]] / the Languages Cargo table. | ||
* '''A minimal starter kit''' of general-purpose templates (per-language headword templates can come later, once grammar exists to encode): | * '''<code><nowiki>{{d|word|code}}</nowiki></code> — built''' ([[Template:D]]): links a word to its Dictionary entry, anchored to the language's section through the registry — <code><nowiki>{{d|dog|YXS-EN}}</nowiki></code> leads to the English section of ''Dictionary:dog''. Use it wherever prose refers to a word. | ||
* '''A minimal starter kit''' of further general-purpose templates (per-language headword templates can come later, once grammar exists to encode): | |||
** <code><nowiki>{{head|code|pos}}</nowiki></code> — headword line + auto-categorization | ** <code><nowiki>{{head|code|pos}}</nowiki></code> — headword line + auto-categorization | ||
** <code><nowiki>{{l|code|word}}</nowiki></code> and <code><nowiki>{{m|code|word}}</nowiki></code> — link and mention | ** <code><nowiki>{{l|code|word}}</nowiki></code> and <code><nowiki>{{m|code|word}}</nowiki></code> — link and mention | ||
| Line 68: | Line 69: | ||
* '''No translation tables yet.''' With six languages and no lexicon, glosses carry the load; revisit the hub-language mechanism once entries exist in several languages for the same concepts. | * '''No translation tables yet.''' With six languages and no lexicon, glosses carry the load; revisit the hub-language mechanism once entries exist in several languages for the same concepts. | ||
== | == The English frame == | ||
''(Recorded from the operator, 2026-07-17; the in-world articles — Engil, the English language on Yezur — are still to be written.)'' | |||
* ''' | |||
* '''Homographs:''' | '''English is a language spoken on Yezur''': a relatively small isolate spoken in the middle of the ocean, on the island nation of '''Engil'''. Its origins are nebulous and not well researched — which obscures the large amount of influence it has been under. It has two forms: | ||
* '''Inflected-form | |||
* '''Traditional English''' (<code>YXS-EN</code>) — identical to Terran English in all ways except Yezuri semantic coinages. '''The wiki's prose is Traditional English''', as most people on Engil speak it. | |||
* '''New English''' (<code>YXS-NE</code>) — the globalized form: the same language with roughly 3% of the vocabulary swapped for Anglified Yezuri loans or words of different etymology. In Terran terms, the replaced words fall into three main categories: | |||
*# words English loaned from non-European languages after the cutoff of roughly the 1500s (''coffee'', ''zebra'', ''apartheid'' — ''beef'' is fully naturalized and stays; ''bouillon'', c. 1600s, is a little too late and goes); | |||
*# words the world typically loans ''from'' English (''computer'', ''internet'', ''hype''); | |||
*# words with distinctly Terran origins (''sandwich'', ''rugby'', ''saxophone'', ''pasteurize''). | |||
The two forms are '''not treated as separate languages''' — comparable to how Wiktionary treats British and American English. One <code>==English==</code> section serves both (both codes anchor there via the registry); a New English word such as ''tuku'' gets its own entry page, labelled as New English within its English section, and cross-referenced from its Traditional counterpart ''zebra'' — and vice versa. In article prose: "'''Zebras''' (''New English'': tuku) are equine animals…". | |||
== Settled decisions == | |||
* '''Native-script page titles''', with romanized forms as redirects. Yezur-native scripts are planned for some languages; when they arrive, the romanized redirects become mandatory (custom-script titles cannot be typed on a Terran keyboard). | |||
* '''Homographs:''' the ''Etymology 1 / Etymology 2'' pattern from the very first entry — built correctly from the get-go. | |||
* '''Inflected-form pages:''' deferred — the operator plans a conventional (non-LLM) bot for them. | |||
* '''Reconstructions:''' out of scope for now; the structure above reserves their place (<code>Dictionary:Reconstruction/Proto-A/…</code>, cited with a leading <code>*</code>), so nothing needs restructuring when they arrive. | |||
== Still open == | |||
* '''Case-sensitive titles (blocking):''' the Dictionary namespace is currently <code>first-letter</code> — page titles auto-capitalize, so <code>Dictionary:tuku</code> silently becomes <code>Dictionary:Tuku</code> and ''polish''/''Polish''-style pairs cannot exist. Wiktionary runs case-sensitive. Fix is one server-side line (<code>$wgCapitalLinkOverrides[3002] = false;</code>, and 3003 for its talk namespace) in <code>LocalSettings.php</code> — operator/server job, '''best done before the first entry'''. | |||
* '''Native scripts via Private Use Area fonts:''' feasible, but the one-time setup needs interface rights (<code>@font-face</code> is not permitted in TemplateStyles, so the font must be wired up via <code>MediaWiki:Common.css</code> or the server). See the operator notes. | |||
[[Category:Yezur Wiki]] | [[Category:Yezur Wiki]] | ||
Revision as of 08:21, 17 July 2026
How the Dictionary namespace should be structured, modelled on Earth's Wiktionary (specifically the English Wiktionary, whose "Entry layout" policy is the most developed). This page is the out-of-frame blueprint; the Dictionary entries themselves are in-character. Nothing below is built yet — it documents the target so that words can be added in a structured, precise way from the very first entry.
How Wiktionary structures an entry
One page per written form. The page title is the exact spelling, case-sensitive (polish and Polish are different pages). Every language that uses that spelling shares the single page; a {{also|…}} hatnote at the very top cross-links near-identical spellings (case or diacritic variants).
One level-2 heading per language (==English==, ==Finnish==), in alphabetical order. Everything about the word in that language nests inside its section; languages never mix below level 2. A word's entry can be a two-line stub or a monograph, but it always sits in the same skeleton.
A fixed heading order inside each language section — only the headings that apply, but always in this order and nesting:
==Language== ===Alternative forms=== ===Etymology=== ===Pronunciation=== (IPA, audio, rhymes, hyphenation) ===Noun=== (or Verb, Adjective, … — the part-of-speech heading) Headword line # Meaning 1 #* Quotations ====Usage notes==== ====Synonyms==== / ====Antonyms==== / … ====Derived terms==== ====Related terms==== ====Descendants==== ====Translations==== (English entries only) ===References=== ===Anagrams===
Where one spelling covers several unrelated origins, ===Etymology 1===, ===Etymology 2===, … each carry their own part-of-speech sections, pushed one level deeper (====Noun====). Nesting is the key principle: a heading owns everything after it until a heading of the same level.
The headword line. Directly under each part-of-speech heading, a headword template renders the word in bold with its key grammar — language-specific where one exists ({{en-noun}}, which knows English plurals), the generic {{head|<code>|<pos>}} otherwise. It also auto-categorizes the page (Category:English nouns) — editors almost never hand-categorize.
Definitions are numbered wikitext list items (#), one sense per line. Context labels — {{lb|en|nautical|slang}} — prefix a sense and categorize it too. Example sentences ({{ux|…}}) and dated quotations (#*) nest under the sense they illustrate.
Everything is language-coded. The first argument of nearly every template is a language code (en, ang, gem-pro), resolved by one central registry module (their Module:languages) that knows each language's canonical name, script, and family. That single registry is what lets templates link, label, transliterate, and categorize automatically — it is the engine of the whole system.
Linking vs. mentioning. {{l|de|Hund}} links a term in a list (synonyms, derived terms); {{m|de|Hund}} mentions it in running prose (italicized, as in etymologies). Both target the right language's section of the right page.
Etymology templates display text and categorize in one stroke:
{{inh|en|ang|hund}}— inherited from an ancestor stage{{bor|en|fr|hôtel}}— borrowed{{der|…}}— derived, when the path is less direct{{cog|de|Hund}}— a cognate in a sister language (display only){{doublet|en|canine}}— same-source pairs within the language
Non-English entries are glossed, not defined: a Finnish word gets a one-line English translation as its definition, and no Translations section. Translation tables ({{trans-top|gloss}} … {{t|de|Hund|m}} … {{trans-bottom}}, one collapsible table per sense) live only on English entries. English is the hub language — every pair of languages meets through it, which keeps the many-to-many translation problem linear.
Reconstructed terms are not mainspace. Proto-language words live in a dedicated Reconstruction: namespace (Reconstruction:Proto-Germanic/hundaz) and are always cited with a leading asterisk (*hundaz), the historical-linguistics convention for unattested forms.
Inflected forms get thin satellite pages ("hounds — plural of hound"), usually bot-created; the lemma page carries all real content.
What the Yezur Dictionary adopts
The same skeleton, sized for a dictionary starting from zero on a Cargo-first wiki:
- Adopt as-is: one page per written form; one L2 section per Yezuri language; the fixed heading order and nesting (including Etymology 1 / Etymology 2 for homographs, from the first entry); numbered senses; glosses in the wiki's prose language — in-world, Traditional English (see below).
- Registry first — reusing the wiki's existing code system. Module:Languages is the registry: it maps the same codes the language infoboxes already carry (family-prefixed:
YAQ-GAGaillean,YAQ-HEHertic;YBS-LOLonish,YBS-NINichana,YBS-PJPjany,YBS-UUUu; plusYXS-EN/YXS-NEfor the two forms of English) to display name and Dictionary section heading. Every dictionary template takes the code as an argument, exactly as on Wiktionary. Keep the module in step with thecodefield of Template:Infobox language / the Languages Cargo table. {{d|word|code}}— built (Template:D): links a word to its Dictionary entry, anchored to the language's section through the registry —{{d|dog|YXS-EN}}leads to the English section of Dictionary:dog. Use it wherever prose refers to a word.- A minimal starter kit of further general-purpose templates (per-language headword templates can come later, once grammar exists to encode):
{{head|code|pos}}— headword line + auto-categorization{{l|code|word}}and{{m|code|word}}— link and mention{{IPA|code|/…/}}— pronunciation{{lb|code|label…}}— sense labels{{inh}}/{{bor}}/{{cog}}— the etymology trio{{ux|code|example}}— usage examples
- Cargo from the first word. Where Wiktionary only categorizes, our
Dictionary structureshould also file each entry into a Lexemes Cargo table (word, language, part of speech, gloss, …). That is the interlingual payoff the Dictionary exists for: cognate sets, borrowing chains, "every Hertic noun", "all words inherited from Proto-A" — one query each, self-maintaining. - Reconstructions as
Dictionary:Reconstruction/Proto-A/…subpages for now (a dedicated namespace can come when volume justifies it), always cited with the leading*. - No translation tables yet. With six languages and no lexicon, glosses carry the load; revisit the hub-language mechanism once entries exist in several languages for the same concepts.
The English frame
(Recorded from the operator, 2026-07-17; the in-world articles — Engil, the English language on Yezur — are still to be written.)
English is a language spoken on Yezur: a relatively small isolate spoken in the middle of the ocean, on the island nation of Engil. Its origins are nebulous and not well researched — which obscures the large amount of influence it has been under. It has two forms:
- Traditional English (
YXS-EN) — identical to Terran English in all ways except Yezuri semantic coinages. The wiki's prose is Traditional English, as most people on Engil speak it. - New English (
YXS-NE) — the globalized form: the same language with roughly 3% of the vocabulary swapped for Anglified Yezuri loans or words of different etymology. In Terran terms, the replaced words fall into three main categories:- words English loaned from non-European languages after the cutoff of roughly the 1500s (coffee, zebra, apartheid — beef is fully naturalized and stays; bouillon, c. 1600s, is a little too late and goes);
- words the world typically loans from English (computer, internet, hype);
- words with distinctly Terran origins (sandwich, rugby, saxophone, pasteurize).
The two forms are not treated as separate languages — comparable to how Wiktionary treats British and American English. One ==English== section serves both (both codes anchor there via the registry); a New English word such as tuku gets its own entry page, labelled as New English within its English section, and cross-referenced from its Traditional counterpart zebra — and vice versa. In article prose: "Zebras (New English: tuku) are equine animals…".
Settled decisions
- Native-script page titles, with romanized forms as redirects. Yezur-native scripts are planned for some languages; when they arrive, the romanized redirects become mandatory (custom-script titles cannot be typed on a Terran keyboard).
- Homographs: the Etymology 1 / Etymology 2 pattern from the very first entry — built correctly from the get-go.
- Inflected-form pages: deferred — the operator plans a conventional (non-LLM) bot for them.
- Reconstructions: out of scope for now; the structure above reserves their place (
Dictionary:Reconstruction/Proto-A/…, cited with a leading*), so nothing needs restructuring when they arrive.
Still open
- Case-sensitive titles (blocking): the Dictionary namespace is currently
first-letter— page titles auto-capitalize, soDictionary:tukusilently becomesDictionary:Tukuand polish/Polish-style pairs cannot exist. Wiktionary runs case-sensitive. Fix is one server-side line ($wgCapitalLinkOverrides[3002] = false;, and 3003 for its talk namespace) inLocalSettings.php— operator/server job, best done before the first entry. - Native scripts via Private Use Area fonts: feasible, but the one-time setup needs interface rights (
@font-faceis not permitted in TemplateStyles, so the font must be wired up viaMediaWiki:Common.cssor the server). See the operator notes.