Wiktionary:Information desk/2024/July

Hello, you have come here looking for the meaning of the word Wiktionary:Information desk/2024/July. In DICTIOUS you will not only get to know all the dictionary meanings for the word Wiktionary:Information desk/2024/July, but we will also tell you about its etymology, its characteristics and you will know how to say Wiktionary:Information desk/2024/July in singular and plural. Everything you need to know about the word Wiktionary:Information desk/2024/July you have here. The definition of the word Wiktionary:Information desk/2024/July will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofWiktionary:Information desk/2024/July, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

There is a citation to a dictionary in this article, but the dictionary in question does not appear to contain the word. I'm not sure how we handle this sort of problem in WT: should I simply remove the reference, or what? (I looked for a cleanup tag like w:Template:failed verification to apply, but I didn't find one.) ColinFine (talk) 16:26, 1 July 2024 (UTC)

@ColinFine: It is in page 116. — Fenakhay (حيطي · مساهماتي) 16:52, 1 July 2024 (UTC)
Thanks. I didn't think of looking before the page that the link delivered me to, particularly since تلفيريك is on that page - I didn't notice the ya before the fa (and I'm not very familiar with Arabic alphabetical order). So the problem is with ejtaal.net's indexing then. Is there a way of fixing the link to point to the right place nevertheless? ColinFine (talk) 17:03, 1 July 2024 (UTC)

Question.

Question. Is there a category or special page where one can check entries that have no etymologies? ୨୧ 14:09, 2 July 2024 (UTC)

This will show you every page that links to or transcludes {{rfe}}, which is a start. —Justin (koavf)TCM 16:58, 2 July 2024 (UTC)
{{rfe}} also categorizes by language. Vininn126 (talk) 06:24, 7 July 2024 (UTC)

I just edited an entry, and then made an account. Can that edit be added to my contributions?

I added an etymology for the Sanskrit term चेतना#Etymology anonymously. I then created an account, because I thought I might make contributions later on. Is it possible to add to my contributions under my account?

https://en.wiktionary.orghttps://en.wiktionary.org/w/index.php?title=%E0%A4%9A%E0%A5%87%E0%A4%A4%E0%A4%A8%E0%A4%BE&oldid=80706972

https://en.wiktionary.orghttps://en.wiktionary.org/w/index.php?title=%E0%A4%9A%E0%A5%87%E0%A4%A4%E0%A4%A8%E0%A4%BE&oldid=80706977 Sophrosyne42 (talk) 22:03, 13 July 2024 (UTC)

Reassigning edits is not really (if ever?) done. —Justin (koavf)TCM 22:05, 13 July 2024 (UTC)

How to remove Japanese transliteration?

I'm trying to remove all instances of Latin transliteration appearing in brackets after Japanese words. (For myself only.)

Since I am only starting out in CSS and Javascript, could someone provide me with working code to add to my custom files?

So far, I've managed to hide the letters and dot via my custom CSS. This leaves the brackets, which I don't seem to know how to replace with whitespace in my common.js.

Arachnosuchus (talk) 16:50, 14 July 2024 (UTC)

Can you please give me some examples of pages with the transliterations you want to hide so I can see what's going on? DalsoLoonaOT12 (talk) 18:07, 29 July 2024 (UTC)

I tried it with 表外漢字 and unfortunately, as for the .headword-line, the left parenthesis seems to be a text nodes directly under it, and the right parenthesis is under its parent <p> element for some reason (that's so messy, why is it like that 😭); as text nodes, they can't be styled independently (but I've wished they were). I'm trying to hide the relevant element and then unhide the part with the Japanese, and as of now the closest I've gotten is just making the <p> with the .headword-line transparent (using :has, so I hope your browser supports that—I hope MediaWiki supports it seeing as it's just CSS) by setting its color to rgba(0,0,0,0) and then making the text another visible color. The parentheses will still be selectable and may appear when selected (depending on your browser), but it's the only way I was able to hide them without using JS.

The 表外漢字 page also had ローマ字 transliterations in the #Synonyms and #See also sections, and those were only identified in the HTML as being transliterations (<span class="tr">) (though thankfully, the parentheses this time were in classed spans (<span class="mention-gloss-paren annotation-paren">) and thus stylable). As such, I could select based on them being siblings of the linked pages, which were helpfully in <span>s with lang="ja", so I could select the transliterations as siblings within the <li> they were in, and thus not have to hide all transcriptions from all languages

Basically, this is messy and kind of cursed, and I hope it works because it would be really embarrassing if it didn't.

a:link,
a:visited
{
color: rgb(229 122 58);
}

.e-transliteration,
.headword-tr,
.headword-tr.tr.Latn,
.headword-line>a
{
display: none;
}

p:has(span.headword-line) {
color: rgba(0,0,0,0)
}

p span.headword-line span:first-of-type {
color: black;
}

li span ~ span.mention-gloss-paren.annotation-paren, li span ~ span.tr {
display: none;
}
Fun fact: it took longer to figure out how to post the code here than it took to actually write it, because each possible method was showing its own quirks that made it unusable.
  • <syntaxhighlight> added non-removable colons to the start of every non-first line for some reason. ALSO, <syntaxhighlight> did not persist over newlines (so even if the closing tag was multiple lines below, only the first line would be affected)
  • <pre> forcibly stripped newlines (even when they were manually specified with <br>, even when white-space was set to pre, and did not persist over newlines.
  • {{code}} forcibly stripped newlines.
  • Making a regular div and making it look like code with CSS did not persist over newlines somehow. I had to do this and replace every line break with a <br> for some reason.
Something is wrong with MediaWiki. Also, my browser crashed twice. DalsoLoonaOT12 (talk) 19:07, 29 July 2024 (UTC)
Unfortunately, this seems to break certain pages like ローマ字, where the <p> with the parentheses also contains additional information which gets hidden.
Note: There is no ("n") in ローマ • () . ローマ is borrowed from Portuguese. Compare however ローマン体 (“roman type”), which uses ローマン; borrowed from English.
All of the text besides the parentheses also gets hidden. It looks like you'll have to resort to JavaScript. DalsoLoonaOT12 (talk) 19:17, 29 July 2024 (UTC)

This script should remove the definition romajis (I hope).

/*This is part 1 of a set of code-things meant to remove romaji transliterations from Wiktionary pages.
This one targets romaji in definitions. Part 2 will be a .css file, and targets romaji in "See also" entries.*/

romajis = document.querySelectorAll('span');

function getNodeSiblings(node) {
return Array.from(node.parentElement.childNodes);
}

for(var i = 0; i < romajis.length; i++) {
var node = romajis;
var parent = node.parentElement;
var siblings = Array.from(parent.childNodes);
var thisNodeSiblingIndex = siblings.indexOf(node);
var siblingN_Minus_3 = siblings;
var siblingN_Minus_2 = siblings;
var siblingN_Minus_1 = siblings;
var piblings = getNodeSiblings(parent);
var parentPiblingIndex = piblings.indexOf(parent);
var nextPibling = piblings;
var spaceRightparenOrNbspRegex = RegExp(""),"g");

if((typeof(siblingN_Minus_1.textContent) === "string") && siblingN_Minus_1.textContent.endsWith("(")) {
parent.removeChild(siblingN_Minus_1);
siblingN_Minus_1 = null;
if((typeof(siblingN_Minus_2.textContent) === "string") && siblingN_Minus_2.textContent.includes("•")) {
parent.removeChild(siblingN_Minus_2);
siblingN_Minus_2 = null;
}
if(typeof(nextPibling.textContent) !== "undefined") {
nextPibling.textContent = nextPibling.textContent.replace(spaceRightparenOrNbspRegex,"");
if(nextPibling.textContent == "") {
parent.parentElement.removeChild(nextPibling);
}
}
}

parent.removeChild(node);
node = null;
}
This CSS (a portion of the previous CSS attempt) should remove the "See also" romaji (your existing change to the color of links has been preserved).
a:link,
a:visited
{
color: rgb(229 122 58);
}

li span ~ span.mention-gloss-paren.annotation-paren, li span ~ span.tr {
display: none;
}
DalsoLoonaOT12 (talk) 20:13, 29 July 2024 (UTC)
It seems to be working. Thanks a lot! Arachnosuchus (talk) 13:04, 19 August 2024 (UTC)
Hi again. Would you be so kind to code something for me that also removes transliteration from examples? Arachnosuchus (talk) 13:18, 21 August 2024 (UTC)

Proto-Indo-European noun template doesn't show gender

Template ine-noun is broken since 28 May, 2024 and does not show the word's gender. I'm new to template coding and don't know the last editor's intent. Does somebody more experienced know how to fix it? 37.79.13.111 18:56, 14 July 2024 (UTC)

I think I fixed it. When I edited the code, I left out one of the arguments. I have more experience with template coding, but not a lot. Sorry about that, and I hope others will check my code. Chuck Entz (talk) 20:51, 14 July 2024 (UTC)

Add subpage to locked page

I created this page: https://en.wiktionary.orghttps://dictious.com/en/Wiktionary:Frequency_lists/Cantonese

I want to add it to the "Frequency Lists" section of this locked page: https://en.wiktionary.orghttps://dictious.com/en/Wiktionary:Frequency_lists

Is this automatically done by the maintainer or do I need to ask somewhere (new to Wiktionary contributions)? LachyMcD (talk) 06:24, 17 July 2024 (UTC)

Deleted Page in Latin

I am new to Wiktionary procedures, so please excuse my ignorance. I looked for an entry for the Latin word "explētīvus", which is listed in LLPSI as Latin for "expletive". But there is no page for it -- it looks like there was a page, but it was deleted. Perhaps by "EncycloPetey". I tried to dig down and find out why, but the entry for that time date seemed to be something entirely different.

Why is there no entry for a normal (I think) part of speech, like the is for "participium" or "coniūnctiō"? Gpaetz (talk) 08:05, 24 July 2024 (UTC)

At the very least, I can confirm that explētīvus is not a page that we have ever had, but there was an expletivus that was in fact deleted by User:EncycloPetey. That page was just pure junk, so it's not like the term can't have an entry here. If you're familiar with Latin and how to make Latin entries, have at it. As to your question, participium and coniunctio (not coniūnctiō) do exist here. —Justin (koavf)TCM 10:31, 24 July 2024 (UTC)

How to search by pronunciation?

Since language is primarily a spoken phenomenon, of which the written forms are but an adjunct, it'd be great to be able to search entries by their IPA transcriptions. Is such a thing possible? If so, how does one do it? PaulTanenbaum (talk) 14:44, 24 July 2024 (UTC)

It’s pretty hacky, but you could run a search like incategory:"English lemmas" insource:tɜːm insource:/\/tɜːm\// to search for English entries with IPA transcription /tɜːm/. (The middle part, insource:tɜːm, isn’t strictly necessary but can make the search run faster.) Replace “English” and both “tɜːm”s above as desired to search for any other term in whatever language you like. — Vorziblix (talk · contribs) 13:07, 25 July 2024 (UTC)
Try a google search for site:en.wiktionary.org tɜːm Justin the Just (talk) 11:47, 27 July 2024 (UTC)
There's also this (replace "fu" with whatever you're searching for) although (probably as with other searching methods) it's exacting and a search for /fu.fu/ will not find /fuˌfu/ or /fufu/, nor vice versa. - -sche (discuss) 06:16, 31 July 2024 (UTC)

-이 for vowels?

Discussion moved to Wiktionary:Tea room.

Can someone explain the purpose of language-prefixed categories versus non-prefixed categories for the same things?

For example: Category:en:Incel community vs. Category:English incel slang. Everything in the first category is "incel slang" too. 2601:644:9083:5730:299E:2A94:6647:A68E 06:01, 31 July 2024 (UTC)

In the general case, the reason why such things sometimes exist is, as the category descriptions say, because one is a topical category for terms relating to a particular topic, and the other is a restricted-usage category for terms only certain people use. In some cases, such categories have very different contents, e.g. if there are lots of terms used by outsiders to refer to topic X, which members of the X community don't use in their own X jargon, and conversely members of the X community have their own slang words for lots of other topics. In other cases, however, such categories can indeed seem or be quite duplicative (sometimes even to the point that suggesting deleting one of them is worthwhile). Our categorization system unfortunately isn't great at handling that second type of situation. Due to the fact that in the general case "words from any dialect, all relating to a particular topic" and "words from a particular dialect, about any topic" are clearly very different, we have separate types of categories for those two types of things, and they all have subcategories... even when the subcategories get to the point where we're just putting the same ~50 terms in both categories. - -sche (discuss) 06:23, 31 July 2024 (UTC)