Interwiki links edit

The current draft version of this template creates an interwiki link to the non-English Wiktionary entry if the named parameter {{{lang}}} is given. This matches the style used by {{t}}, but is a divergence from conventions, which restrict interwiki links to the translation section and to the page housing the English Wiktionary entry. Since bots usually populate entry pages with interwiki links, this feature will be of limited use whenever the English Wiktionary already has an entry for the linked term. So, should I remove that nonstandard interwiki link feature? Rod (A. Smith) 06:34, 27 August 2007 (UTC)Reply

I don’t like them. They are distracting. H. (talk) 12:34, 6 September 2007 (UTC)Reply
It does seem like overkill. And there is a difference between here and {t}: an English-speaking user seeing a {term} reference will want to look at the en.wikt entry; and will usually not find the FL.wikt entry useful. A user looking at translations is interested in the FL word for a specific language, and may very well find the FL.wikt entry comprehensible and useable. I'd drop the FL.wikt links from {term}. Robert Ullmann 12:58, 6 September 2007 (UTC)Reply
Removed. Rod (A. Smith) 16:10, 6 September 2007 (UTC)Reply

Requirements analysis: Types of mention edit

Below is a list of various types of mention in English Wiktionary. I will use this list to ensure that the forthcoming proposal covers our needs. (Thanks to DAVilla for compiling the original list.)

Paul G also notes the following types of mention that may need special treatment (in summary, embolden English terms, italicise those in other languages that use the Latin alphabet, and leave words in other scripts unchanged):

English vs. non-English: Italicising referenced non-English words also distinguishes them from both surrounding text and from English words; a possible case against the need to make the latter distinction is that Wiktionary defines non-English words too.
Latin script vs. non-Latin script: It is important that terms in scripts other than the Latin alphabet are not emboldened or italicised as fine detail can be obscured by doing this. In any case, the fact that the terms are in another script is sufficient to distinguish them from any surrounding text.
  • First recorded in the Yongbi eocheonga, 1447, as .
  • First recorded in the Yongbi eocheonga, 1447, as (mal).
non-words: Hypothetical etymons (such as those in Proto-Indo-European) should be are treated like other non-English terms, but not italicised wikified, as Wiktionary does not define them (they are non-words).

The above lists are my scratch pad used to outline the requirementsbelow. Rod (A. Smith) 21:26, 7 September 2007 (UTC)Reply

Mentions by type edit

Following is a condensed version of the scratch pad above, showing each distinct type of mention required.

Some readers may want English mentions to display in a different style from non-English mentions. {{term|lang=en}} allows that distinction. Readers can choose between several styles through WT:PREFS, including italics, double-quoted, single-quoted, or bold (default pending discussion and vote). As User:Paul G notes, a possible case against the need to make the English/non-English distinction is that Wiktionary defines non-English words too. Thus, {{term|lang=en}} may be abandoned if the community so chooses.

  • Simple English mentions:
    From {{term|word|lang=en}} + ...
    From word + ...
  • English mentions with alternate text:
    From {{term|inflect|inflected|lang=en}} + ...
    From inflected + ...
  • English mentions with a sense-refining gloss:
    From {{term|gloss|glossing|becoming shiny|lang=en}} + ...
    From glossing (becoming shiny) + ...
    From {{term|gloss||extensive commentary on some text|lang=en}} + ...
    From gloss (extensive commentary on some text) + ...
  • Non-CFI, stop words, and other unlinked mentions:
    Common short words such as {{term|the|lang=en}}, {{term|and|lang=en}}, {{term|where|lang=en}}, ....
    Common short words such as the, and, where, ....

Readers can also customize how {{term}} displays Latin (Roman) script (e.g. English, French, German, etc., not just Latin-language) mentions through WT:PREFS. Per the straw poll Wiktionary:Votes/2007-08/style for mentioned terms, the preliminary default is for italics.

  • Simple Latin (Roman) script mentions:
    From {{term|verbum}} + ...
    From (deprecated template usage) verbum + ...
  • Latin (Roman) script mentiones with alternate text:
    From {{term|verbo|verbō}} + ...
    From (deprecated template usage) verbō + ...
  • Latin (Roman) script mentions with alternate text and English gloss translation:
    From {{term|verbo|verbō|for the word}} + ...
    From (deprecated template usage) verbō + ...
  • Latin (Roman) script mentions with just a gloss:
    From {{term|verbum||word}} + ...
    From (deprecated template usage) verbum + ...
  • Non-CFI or otherwise unlinked mentions (e.g. hypothetical etymons such as those in Proto-Indo-European):
    {{OE.}} {{term|word}} < Proto-Germanic *{{term||wurða-}} < Proto-Indo-European base *{{term||werə-|to speak}}.
    Old English (deprecated template usage) word < Proto-Germanic *(deprecated template usage) wurða- < Proto-Indo-European base *(deprecated template usage) werə-.
  • Mentions that link to a language-specific-section:
    The preposition {{term|in|lang=de}} is used with accusative case if...
    The preposition in is used with accusative case if...
  • Mentions that require special formatting (leave {{{1}}} blank to customize wikilinks):
    {{term||[[à]] '''le'''|to the}} is never used: contracted into {{term|au}}.
    (deprecated template usage) à le is never used: contracted into (deprecated template usage) au.

Mentions in non-Latin (non-Roman) scripts follow different style guidelines. As many people have noted, using bold or italics for terms in scripts other than Latin (Roman) can obscure fine detail (e.g. with Chinese characters) or significantly alter the term's appearance (e.g. with Cyrillic). The fact that the terms are in another script is usually sufficient to distinguish them from any surrounding text. (Exceptions such as кот are duly noted but seem negligible.)

  • Simple alternate script mentions:
    From {{term|sc=Grek|λόγος|tr=lógos||word}} + ...
    From (deprecated template usage) λόγος (lógos) + ...
    In many cases, this character is exchangeable with {{term|sc=Hant|辭||tr=chi4|speech}}.
    In many cases, this character is exchangeable with (deprecated template usage) (chi4).
  • Unlinked alternate script mentions:
    From colloquial Arabic {{term|lang=ar||عالمة|tr=‘ālima}}, originally..., from {{term|lang=ar|علم||tr=‘alima|to know}}.
    From colloquial Arabic عالمة (‘ālima), originally..., from علم (‘alima, to know).
    First recorded in the ''Yongbi eocheonga'', 1447, as {{term||말|tr=mal|lang=ko}}.
    First recorded in the Yongbi eocheonga, 1447, as (mal).
  • Mixed Latin (Roman) script and alternate script mentions:
    {{L.}} {{term|buxus}} < {{G.}} {{term|sc=Grek|πύξος|tr=pyxos||box tree}}
    Latin (deprecated template usage) buxus < Greek (deprecated template usage) πύξος (pyxos)

Rod (A. Smith) 05:28, 8 September 2007 (UTC)Reply

Greek script edit

Can we have this template edited to use {{polytonic}} for Greek script sc=Grek ? This would match what we currently do for Etymologies etc.--Williamsayers79 07:32, 3 September 2007 (UTC)Reply

I would think you would just use sc=polytonic? Robert Ullmann 09:21, 3 September 2007 (UTC)Reply
Or look at the font support in polytonic and in Grek (ex ELchar) and see what Template:Grek should be doing. (I haven't looked) Robert Ullmann 09:25, 3 September 2007 (UTC)Reply
{{Grek}} uses {{Greek fonts}}. Should {{Greek fonts}} be changed to match {{polytonic fonts}}? Is there clear consensus on which set of fonts is better for Greek script? Rod (A. Smith) 17:35, 4 September 2007 (UTC)Reply

Language sections edit

If lang is given, I'd suggest using {{t-sect|(lang)}} (and not "L"), so it doesn't require the lang:xx template if the xx template isn't linked, and catches the other optimizations. (understanding that this is brand new) Robert Ullmann 09:34, 3 September 2007 (UTC)Reply

And you don't need #if:lang if not desired, [[word#{{t-sect|{{{lang|}}}|word]] will work just fine. (It will always call t-sect, but that isn't an extra template if {{t}} is also used in the entry. If not desirable, it takes a bit more magic anyway; the existing code references {{lang:}} every time ;-) Robert Ullmann 09:56, 3 September 2007 (UTC)Reply

At WT:GP#Format for mentioned terms, DAVilla suggested supporting {{{L}}}, so let's have him chime in about the suggestion to remove it. DAVilla? Rod (A. Smith) 17:43, 4 September 2007 (UTC)Reply
I thought we were doing away with {{language}}, but if Robert supports it then {{{L}}} isn't necessary. The one thing I would suggest, though, is moving the special code at {{t-sect}} to {{language}} if it's really more efficient, and the code at {{language}} to a subtemplate, so that all functions that call {{language}} can take advantage of this. DAVilla 23:35, 4 September 2007 (UTC)Reply
It is more efficient iff there are a number of calls (10-hundreds). It is just extra overhead if there are 2-5 or so. Here, {term} should be calling {language} or {t-sect}, not referencing the lang: templates (so it is easier to make them go away). As it is now, {language} is fine until we decide to unlink all of the plain templates (no hurry at this point, we'll get to it, probably take a vote but there is enough going on now that I wouldn't start it for the present). Robert Ullmann 12:52, 6 September 2007 (UTC)Reply
OK. The code is now using {{t-sect}}. I will let the two of you sort out any moves between {{language}} and {{t-sect}}. If {{t-sect}} is eventually deprecated, I'm sure somebody will update {{term}} as necessary. Rod (A. Smith) 16:32, 6 September 2007 (UTC)Reply

section links? edit

How does one include a link to another language section in the same page with this template? For some reason, using #Language or term#Language in the first field will add an extra "#" at the end... see e.g. acharnement or fermata. Circeus 16:46, 13 September 2007 (UTC)Reply

Use the {{{lang}}} parameter. I have added that parameter in acharnement as an example. Rod (A. Smith) 18:11, 13 September 2007 (UTC)Reply
Oh, it works with the abbreviations only. Circeus 21:49, 13 September 2007 (UTC)Reply
Yes, that's right. Currently, the parameters that accept languages as their arguments (e.g. the first parameter of {{t}}) only accept ISO codes. If you feel strongly that it should also accept the English name for the language, say so. Perhaps the folks in WT:GP can shed some light on the issue. Rod (A. Smith) 22:04, 13 September 2007 (UTC)Reply
No, it's okay. I could swear I hit a template or two that used full names at some point, though... Circeus 22:17, 13 September 2007 (UTC)Reply
FYI, the template now supports ad hoc section links, so if you want, you can use syntax like {{term|word#Verb|word}}, {{term|-ing#Etymology 2|-ing}}, or even {{term|mot#French|mot}}, although in the last case the {{{lang}}} parameter is perhaps preferable. Rod (A. Smith) 00:16, 29 September 2007 (UTC)Reply

Separate styles for English and non-English mentions edit

The following discussion, up to 05:03, 29 September 2007 (UTC), moved here from WT:BP#Consistent format for mentioned terms. Rod (A. Smith) 05:03, 29 September 2007 (UTC)Reply
Note: Category:Form of templates is now at Category:Form-of templates. - dcljr (talk) 02:48, 8 February 2016 (UTC)Reply

We have no standard format for mentioned terms. Mentioned terms be in any language, may be written in roman or non-roman scripts, and may display with alternate text, transliterations, and/or English translation glosses. Some editors use bold to mention terms.[1] Others use italics [2] or just wikilink them. Some editors italicize transliterations and some just enclose in parentheses. Some editors designate English translation glosses with single quotes, some with double quotes, some with italics, some with parentheses, and some with no marking at all.

The most conclusive agreement about formatting mentioned terms was the vote about formatting “form of” definitions. I believe a significant component to the agreement was that readers can customize the format of “form of” definitions so they don't have to live with the default.

For consistency, I hope to propose one or more templates for mentioning terms, especially terms that require special scripts, transliterations, or gloss translations. The templates will allow each reader to customize their output format. For example the simplest use of {{term}} displays the linked term using whatever format the user has chosen for the “form of” templates, e.g. “From {{term|word}} + ...”:

From (deprecated template usage) word + ...

Common formatting options match the “form of” options in WT:CUSTOM:

Customize the output of {{term}} by adding any of the following to Special:Mypage/monobook.css:
  • For plain mentions (i.e., to mention word), use this:
    .mention { font-style: normal; }
  • For bold mentions (i.e., to mention word), use this:
    .mention { font-weight: bold; }
  • For italic mentions (i.e., to mention word), use this:
    .mention { font-style: italic; }

are exposed through WT:PREFS and explained at WT:CUSTOM#Mentions. 19:34, 11 September 2007 (UTC)

Additional benefit comes with non-English and non-roman script terms, e.g. in an ===Etymology=== section, one might use “From {{term|sc=Hang|말|tr=mal}} + ...”, which produces this:

From (mal, word) + ...

Using one or more templates like {{term}} can help us standardize the format of mentions while allowing each reader to choose the style he or she prefers. In order to determine the number of templates, their names, their default styles, and their options, I need to know what conditions guide your choice of formatting for mentioned terms. The conditions I know about are these:

  • In ===Etymology===, terms that meet WT:CFI
  • In ===Etymology===, terms that do not meet WT:CFI (different because they are not linked)
  • In ====Usage notes====
  • In definitions that don't use the “form of” templates
  • In ====Synonyms====, ====Derived terms====, and similar lists
  • In templates that perform their own formatting (e.g. “{{see|word}}”, “{{context|preceded by “the”}}”, and “{{t|es|palabra}}” )
  • Mentions of individual IPA characters (added 00:37, 23 August 2007 (UTC) per User:EncycloPetey in WT:GP#Format for mentioned terms)

Are there others? Rod (A. Smith) 04:12, 22 August 2007 (UTC)Reply

Commented in Wiktionary:Grease pit#Format for mentioned terms. Synopsis of my view:
  1. I have no opinion about mentions in Usage notes, and probably have not been consistent there in the past.
  2. I use no special formatting for synonyms, etc.; the only issue there is transliteration format within the Translations tables.
  3. Definition formats should follow the "form of" templates, which style we voted on.
  4. Putting mentioned words in italics is frought with peril since it can radically alter the appearance of scripts like Cyrillic, as Stephen and I both argued when the "form of" vote occured.
  5. I see Etymology format as special and separate from all the others.
--EncycloPetey 04:49, 22 August 2007 (UTC)Reply
The italic Cyrillic issue will not be a problem because mentioned terms of roman script (ISO code “Latn”, which would be the default) will be formatted differently from mentioned terms in other scripts (e.g. Cyrillic). For non-roman script mentions, the appropriate script template will be used. For roman script mentions, whether to italicize will be based on user preferences. Rod (A. Smith) 05:06, 22 August 2007 (UTC)Reply
I'm pro-italics but anti-italicized-Hebrew-lettering. The solution? {{HEchar}} automatically de-italicizes its contents using CSS. {{Cyrl}} can do the same thing. —RuakhTALK 05:30, 22 August 2007 (UTC)Reply

{{term}} and {{onym}} now meet the requirements I have received so far. {{term}} is intended for use in running text outside of “form of” definitions (e.g. in ===Etymology=== and ====Usage notes==== sections). It allows readers to choose the format for mentions of Latin script terms. {{onym}} is intended for non-Latin script entries and gloss-accompanied entries in ====Synonyms====, ====Antonyms====, ====Related terms==== (“paronyms”), and other simple lists. To give a full demonstration, I first need to know the correct default format for Latin script mentions in ===Etymology=== and ====Usage notes==== sections. DAVilla points out that the draft policy Wiktionary:Etymology formats non-English Latin script mentions with italics:

Following copied from User talk:DAVilla#Orthography of mentioned words:
If you look at Wiktionary:Etymology you will see italicized Roman text. While it's unclear what style should apply to English words in the etymology, and while usage notes are even less clear, in practice italics is used almost universally for at least foreign words in Roman script in the etymology. As you know, Roman roots in definitions should be boldfaced by default. Therefore there are already at least two conventions for mention. DAVilla 01:42, 22 August 2007 (UTC)Reply
I assume the primary reason this is done is that such works are primarily in one language and are citing "foreign" words. On Wiktionary, that doesn't apply because we include all languages. It would also be confusing to sometimes have the mentioned term in italics and sometimes to have a transcription in italics. We already have confusion over whether transcriptions get their own entries, and I forsee inconsistent italicization int he Etymology section leading to more of that. --EncycloPetey 18:35, 26 August 2007 (UTC)Reply

However, EncycloPetey points out that bold has advantages even for Latin script mentions in etymologies. So, should we vote on the default style for mentions in ===Etymology=== and ====Usage notes==== sections or should I assume either format for this demonstration? Rod (A. Smith) 06:51, 26 August 2007 (UTC)Reply

I'm not sure what you mean; could you elaborate a bit on what you're asking? --EncycloPetey 18:35, 26 August 2007 (UTC)Reply
I meant that the draft Wiktionary:Etymology guideline says to use italics, but a vote about a closely related style decision (and the actions of many editors) chose bold. I would be quite happy to change the draft Wiktionary:Etymology guideline and use bold as the consistent default, but hesitate to do so without clear community consensus. You actually answered my question above, stating your preference for consistent use of bold (“It would also be confusing to sometimes have the mentioned term in italics and sometimes to have a transcription in italics”). So far, DAVilla is the only person who has stated that the community may actually agree with maintaining two separate format styles for mentioned words in Latin script that appear in running text (one format for mentions in etymologies, per Wiktionary:Etymology, and one for “form of” definitions, per the vote). If DAVilla acknowledges that it would be OK to update Wiktionary:Etymology to make bold the Latin script default (keeping in mind that individual readers can override that default with whatever style he or she prefers), I will be able to proceed. If DAVilla does not so acknowledge, we may need a vote to determine the default style for mentions of Latin script terms and phrases within etymologies. Rod (A. Smith) 18:56, 26 August 2007 (UTC)Reply
Personally, I also prefer that mentioned terms be italicized, not bolded, in etymologies and usage notes. I have no idea where the community consensus might lie. —RuakhTALK 19:27, 26 August 2007 (UTC)Reply
Perhaps a short (one week) straw poll would be useful to get a feel for community opinion. --EncycloPetey 19:52, 26 August 2007 (UTC)Reply
Done: Wiktionary:Votes/2007-08/Formatting of mentioned terms. —RuakhTALK 21:34, 26 August 2007 (UTC)Reply
Redone: Wiktionary:Votes/2007-08/style for mentioned terms. (Not meant to be dismissive. It will just be much easier for me to turn feedback from this straw poll into a proposal than it would be from Ruakh's.) Rod (A. Smith) 22:15, 27 August 2007 (UTC)Reply
The straw poll closed with weak support for the default as italics. Italics will be used for demonstration purposes, and an official vote will be held before promoting {{term}} or italics for general use. Assistance would be much appreciated in better structuring such a vote to allow for meaningful abstain votes. Rod (A. Smith) 18:23, 13 September 2007 (UTC)Reply
I've read quite a few archives and understand that this whole thing was set in motion long ago. I just feel that having mentioned terms in the Latin script differ from those of other scripts is confusing and seems to lend credence to a difference in value between these writing systems; something that should be discouraged. I'd like to see a consistent form across all words shown. BTW, I chose single quotes for mention out of respect for the traditions that do follow this usage and because it sidesteps the issue of italicized Cyrillic, Greek, Hebrew, etc. or emboldened Han characters, Hangeul, metric terms conflated, etc. The following is only an example and, given the weight of precedence here, probably cannot be considered for implementation, but the overarching theme is what I'm getting at. What do you people think of such a theme for every visible word for users that have no preferences set, regardless of the writing sytem?
Actually (use):
When writing up railways, the vibration can spill your ink.
Conceptually (mention):
When writing up 'railways', their history should be noted.
Grammatically:
When writing up "railways", inflect your verbs to reflect its plural nature.
Emphatically:
When writing up 'railways', try not to use "railroad".
Orthographically:
When writing up railways, dot the "i".
Sorry, pro-italic people, for the last one being so weak. I couldn't think of a better type of printed word that would be orthogonal to the others. Thecurran 23:19, 2 September 2007 (UTC)Reply
Those are nice distinctions that could be made with writing elsewhere, Thecurran, but for the purposes of this project, such a diverse set of distinctions would likely confuse readers and contributors more than it would clarify. So, your list would probably be simpler as this:
As you can see, if we only distinguish use from mention, there appears to be no loss of clarity. Rod (A. Smith) 18:56, 4 September 2007 (UTC)Reply

To simplify this discussion, I have restricted the proposal to mentions of terms and phrases withing running text, e.g. etymologies and usage notes, but not -onyms. User:Paul G suggests that some readers may want English running text mentions to appear in a different format from non-English, Latin (Roman) script running text mentions. As he and User:EncycloPetey note, however, English Wiktionary has entries for all languages, so there may be no need to make the English/non-English distinction. {{term|lang=en}} allows some readers to choose to see such a distinction while other readers can choose not to have any such distinction. Readers can choose between several styles through WT:PREFS, including italics, double-quoted, single-quoted, or bold. To illustrate the difference, I have the preliminary default format for {{term|lang=en}} showing as bold, to distinguish it from the default format for non-English {{term}}:

Readers can customize the format of mentions, so the only problem with {{term|lang=en}} is that, if we keep it, editors would need to distinguish between English and non-English mentions, as above.

Should we have one mention template or two (one for English, the other for non-English)? Rod (A. Smith) 19:34, 11 September 2007 (UTC)Reply

It seems like this is already quite complex, and it seems like its only saving grace is the potential for bots to do it automatically and correct any errors. (There are limitations even to that — for example, editors will need to specify KUchar if they wish to prevent bots from assuming Arab for Kurdish words in Arabic script — but overall I think it should work.) I don't think the same can be said for a {{term}}{{term|lang=en}} distinction; I think it's too much to expect editors to do this consistently, and too much to expect a bot to correct mistakes by determining whether a Latin-script term is in English or not. —RuakhTALK 19:56, 11 September 2007 (UTC)Reply
Thank you for that feedback. So far, one editor favors a single mention template; zero favor two mention templates. Rod (A. Smith) 18:23, 13 September 2007 (UTC)Reply
Oh, do I hear the call of the cat-herder?  ;-) For my part, I think the standard {{term}} style looks very weird for English terms. I can live with it, but it's definitely not how I'd prefer to see this handled. -- Visviva 15:56, 30 September 2007 (UTC)Reply
Do you use bold for English mentions but italics for non-English Latin (roman) script mentions? Rod (A. Smith) 16:21, 30 September 2007 (UTC)Reply
I prefer to just keep English terms in plain text. But actually, I don't feel strongly either way. -- Visviva 16:25, 30 September 2007 (UTC)Reply

Parentheses edit

I’d really appreciate if at least there also was a possibility to switch of the parentheses, just like the double quotes. I think they are completely redundant around glosses. H. (talk) 09:20, 11 October 2007 (UTC)Reply

OK. First, let me be sure I understand what you want. Taking three examples from above:
From {{term|λόγος|tr=lógos|lang=grc}} + ...
{{term||[[à]] '''le'''|to the}} is never used: contracted into {{term|au}}.
From colloquial Arabic {{term|lang=ar|عالمة|tr=‘ālima||singer}}, originally a feminine adjective meaning ‘learned, knowledgeable’, from {{term|lang=ar|علم|tr=‘alima||to know}}.
The transliteration and gloss are parenthetical reiterations of the mentioned term, so the above displays as follows:
From λόγος (lógos) + ...
(deprecated template usage) à le is never used: contracted into (deprecated template usage) au.
From colloquial Arabic عالمة (‘ālima, singer), originally a feminine adjective meaning ‘learned, knowledgeable’, from علم (‘alima, to know).
If I simply create an option to strip the parentheses, they would appear something like this:
From λόγος (lógos) lógos + ...
à le “to the” is never used: contracted into au.
From colloquial Arabic عالمة ‘ālima, “singer”, originally a feminine adjective meaning ‘learned, knowledgeable’, from علم ‘alima, “to know”.
To me, that seems non-grammatical because, for example, the preposition "from" in the first and last example appear to govern multiple objects instead of one object with a parenthetical reiteration and the second example appears to have two subjects. If there were a way for the template to know whether it appears at the end of a sentence, I could have it replace the parentheses with commas or with an em dash for you. Should I look into that? Rod (A. Smith) 16:22, 11 October 2007 (UTC)Reply
Well, Connel requested maximal removal of parentheses at WT:GP#Colon missing. With two editors requesting parenthecide, it's desirable whether I can understand it or not.  :-) So, I implemented the ability to hide parentheses around transliterations and glosses. See “Hide parentheses around transliterations and glosses” in WT:PREFS or “The parentheses around transliterations and glosses can be hidden” in WT:CUSTOM#Mentions. If my assumption was wrong and you just want to hide parentheses around glosses but not around transliterations, please let me know. To allow that will require additional tags in {{term}}, but adding them will not be difficult. Rod (A. Smith) 08:22, 12 October 2007 (UTC)Reply
Indeed, the latter is correct: I want them for transliterations, but not for glosses, since I think the quotes signs around the glosses distinguish them clearly enough already. So what I’d like it to look like:
From λόγος (lógos) (lógos) + …
à le ‘to the’ is never used: contracted into au.
From colloquial Arabic عالمة (‘ālima) ‘singer’, originally a feminine adjective meaning ‘learned, knowledgeable’, from علم (‘alima) ‘to know’.
Note that I did not simply add brackets again: I want transliterations non-italic, and I removed some comma’s as well: if there are parentheses, they are not needed. I’m sorry I’m making life so difficult on you, but hey, if the technology is there, why not, right? Thanks for your efforts! H. (talk) 09:54, 12 October 2007 (UTC)Reply
OK. I have the changes ready. The tricky new piece is the closing parenthesis between a transliteration and a gloss, which must be hidden by default. It thus required a change to MediaWiki:Common.css. Browser caches of that style sheet last up to 31 days:
@import "/w/index.php?title=MediaWiki:Common.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=2678400";
So, I need to wait 31 days before adding the internal parenthesis to {{term}}. Otherwise some readers will see an extra parenthesis between transliterations and glosses. In 31 days, I'll change {{term}} to support the parenthesized non-italic transliterations with non-parenthesized glosses. (Feel free to remind me.) In the meantime, {{term}} shows the pending changes. Too see pending effect, add the following to Special:Mypage/monobook.css:
.mention-tr-paren, .mention-tr {font-style:normal}, .mention-tr-gloss-separator-paren {display:inline} .mention-gloss-paren, .mention-tr-gloss-separator-comma {display:none}
Then, refresh your browser cache and view the following:
(deprecated template usage) à le is never used: contracted into (deprecated template usage) au.
From colloquial Arabic عالمة (‘ālima, singer), originally a feminine adjective meaning ‘learned, knowledgeable’, from علم (‘alima, to know).
Coolio? Rod (A. Smith) 18:18, 12 October 2007 (UTC)Reply

Done. Rod (A. Smith) 03:57, 24 November 2007 (UTC)Reply

... and implemented in WT:PREFS. Select "Hide parentheses around glosses" and "Show parenthesized plain (non-italic) transliterations". Rod (A. Smith) 07:18, 27 November 2007 (UTC)Reply
Perfect, thanks. H. (talk) 17:23, 25 February 2008 (UTC)Reply

Non-links? edit

Sometimes I want to format a word {{term}}-style, but without a link; for example, part of the etymology of mithridatism is Mithridates, which probably doesn't meet CFI. Or, for a more common example, usage notes very often refer back to the current headword. So, it seems to me that {{term}} should support a nolink boolean parameter; and, if this isn't too complex to be a good idea, I think it should automatically not link the headword unless lang is specified. Thoughts? —RuakhTALK 16:50, 30 October 2007 (UTC)Reply

Wait, never mind, that's already supported, and quite cleverly! —RuakhTALK 16:53, 30 October 2007 (UTC)Reply

Transliterations beginning or ending with apostrophes. edit

Things like these:

work inconsistently, because the template works by wrapping {{{tr}}} in pairs of single-quotes, so transliterations that begin or end with apostrophes produce trios of single-quotes, which can cause bolding instead of italicizing if there's something else on the line to match.

This is easy to fix by using HTML-style tags instead (<i> and </i>), but I thought I'd comment to make sure no one preferred a different way of doing it (like inserting <nowiki></nowiki> or <!-- --> or something — though I haven't tested these and can't vouch that they'd work), or perhaps preferred creating a new class for a CSS file somewhere so readers can present them differently if they want. And also, to make sure there's no other change that should be implemented at the same time, since this is by now quite a widely transcluded template.

RuakhTALK 08:25, 22 November 2007 (UTC)Reply

The version Rod is going to replace in uses a CSS class, so this will be fixed. Robert Ullmann 08:56, 22 November 2007 (UTC)Reply
Yes. Thanks for the reminder, Robert.  :-) The new version (supporting #Parentheses above) is now in place. Ruakh, does that address your concerns? Rod (A. Smith) 03:59, 24 November 2007 (UTC)Reply
Looks like it, yes. Thanks. :-) —RuakhTALK 07:50, 24 November 2007 (UTC)Reply
The proper way is (would have been) to use a proper quote sign, instead of a single quote: ’, available from the misc menu under the edit box, or Right Alt+0 on US-intl keyboards. H. (talk) 14:19, 26 November 2007 (UTC)Reply

Multiple-element terms edit

This template is not equipped to link to mentioned terms with a space in the middle, such as Dark Ages or et cetera. --EncycloPetey 04:01, 24 November 2007 (UTC)Reply

I don't understand the problem. Are you trying to write something like (deprecated template usage) Dark Ages, (deprecated template usage) Dark Ages, or something else? Rod (A. Smith) 04:05, 24 November 2007 (UTC)Reply
Ah! So the secret is to bump everything into the display slot and leave parameter 1 blank, like this: Cor Carolī (Charles' heart). I recommend adding such an example to the documentation above, as this is not intuitive. There are situations where a whole phrase will not merit an entry, but linking the components and giving a translation in an etymology is important. --EncycloPetey 04:10, 24 November 2007 (UTC)Reply
I agree with you. I think the way demonstrated above is the most compact syntax we can accomplish without MediaWiki string functions, but you're right that it's far from intuitive. I'll just borrow your example. Rod (A. Smith) 04:15, 24 November 2007 (UTC)Reply

Including <ref>(s) edit

See colloquy. The <ref> tags used inside the {{term}} transclusion do not display — is there any way to make them show?  (u):Raifʻhār (t):Doremítzwr﴿ 06:14, 11 December 2007 (UTC)Reply

This edit shows the two tricks required. One key is to use explicit parameter numbers. The other is to omit parameter 1 and use explicit wikilinks in order to separate the linked term from its linked superscripts. Rod (A. Smith) 20:25, 12 December 2007 (UTC)Reply
Return to "term/archives/2007" page.