Jump to content

User talk:Benwing2

Page contents not supported in other languages.
Add topic
From Wiktionary, the free dictionary
Latest comment: 2 days ago by Exarchus in topic bot request for Sanskrit quotations

Archive

[edit]

Regarding less than signs for hypernymy and holonymy

[edit]

Hi Benwing — thanks for your efforts. Sorry to trouble you by it. My development of using the less than signs (<) was a nice idea, something that it would be nice if any wordnet-capable type of dictionary (such as WordNet exports or Wiktionary) could helpfully do for its users, to show wherever invariable "levels" of hypernymy or holonymy exist (for example, that a neutron is a type of baryon and a baryon is a type of subatomic particle). It has good teaching and learning value in tying vocabulary to semantic concepts clearly, showing clearly how things relate. The idea is that it would only be done in the strict/true class of invariably hierarchical relation. So the one where I accidentally did it for orange < fruit < food was imperfect and would have needed correction because not all fruits are foods. But it's still a cool and useful idea when applied to the "strictly/truly" class, though (like the neutron example). However, if there is some issue of template performance being hurt by it, then unfortunately I guess I have no choice but to abandon it for Wiktionary's purposes, as a good idea whose implementation can't happen here. Alas, R.I.P. good idea. I tried using a character entity instead (<), but it doesn't work. If you or someone else who is good at editing templates ever were willing to build a capability for this feature into the templates, I hearily endorse it, but I'm probably not the one who can or will achieve it, alas. Maybe someday. Quercus solaris (talk) 15:22, 8 January 2025 (UTC)Reply

@Quercus solaris I see. As a short-term fix maybe I can work around this syntax. In the longer term we'd need a better way of showing this. Benwing2 (talk) 15:27, 8 January 2025 (UTC)Reply
@Quercus solaris I fixed things in a way I think is pretty good, which is to allow < to be a separator in its own parameter. See junk DNA or rapeseed oil for examples. We should redo the ones where I or someone else removed the < sign. Benwing2 (talk) 16:27, 8 January 2025 (UTC)Reply
Wow, that's amazingly productive and rapid of you. My hat is off to you. Many thanks! Quercus solaris (talk) 16:37, 8 January 2025 (UTC)Reply
@Quercus solaris You're welcome. Here is the list of places where a < sign occurred with {{hyper}} as of Jan 1: User:Benwing2/hyper-less-than-2025-01-01-dump. Benwing2 (talk) 16:50, 8 January 2025 (UTC)Reply

Regarding your reverts on my Old English edits

[edit]

Hello Benwing2,

I hope this message finds you well and that you've had a lovely holiday season.

I saw that you have reverted many of my edits and calling them questionable.

Well, I am happy to inform you that these edits are attested in the Anglo-Saxon gospels published by Walter Skeat. They are specifically from the M. S. V Hatton manuscript.

Have a nice day.

Leornendeealdenglisc (talk) 07:03, 9 January 2025 (UTC)Reply

Can you give me an example? You need to indicate the source of alternative forms and such rather than just randomly sticking them in. Benwing2 (talk) 00:21, 10 January 2025 (UTC)Reply

Templates like pl-adjective

[edit]

Hello

I noticed this template like many others is incompatible with Dark Mode, due to having hardcoded colors. I can do the refactoring to make it at least accept foreground and background colors as constants; that'd be a start. Alternatively, default coloring could be reassumed.

Please advise

Regards Petros Adamopoulos (talk) 17:52, 9 January 2025 (UTC)Reply

Column templates

[edit]

I think that JS code is ready to be translated to Lua. I just tested it on a random selection of pages using col and colN templates (in Vector 2022) and it produces acceptable results on all of them except 頗為, where it makes the columns slightly wider than necessary.

Two comments:

  • There's a bug in the JS when used on a list with <= 8 entries - it tries to read one past the end of the array - but I'm sure you would have noticed that anyway when translating to Lua!
  • We have to be careful in the following cases:
  • So I think we should set CSS column-count to 3 when there are <= 9 items and 4 when there are <= 16 items, noting that when both column-count and column-width are specified, column-count enforces a maximum possible number of columns. (This assumes that no items break over multiple lines, which is the usual case.)

This, that and the other (talk) 07:08, 13 January 2025 (UTC)Reply

Thanks! Will implement. Benwing2 (talk) 07:11, 13 January 2025 (UTC)Reply

bot request for Sanskrit quotations

[edit]

I'd like to do a very basic bot request (for WingerBot) and I apologise if this is not the right place. What should happen is that sequences of Vedic accent (either ॑ U0951 or ॒ U0952) + colon (U003A) should be changed to visarga (U0903) + the respective Vedic accent. This to correct wrongly formatted text that was copy-pasted from a site like wisdomlib.org. Exarchus (talk) 10:44, 15 January 2025 (UTC)Reply

Can you give me an example or two where you've made the change? And does the visarga go before the accent or after? Benwing2 (talk) 10:54, 15 January 2025 (UTC)Reply
Here and here are examples (I also added a space before the danda's but let's ignore that for now).
The visarga should go before the accent. Exarchus (talk) 11:30, 15 January 2025 (UTC)Reply
@Exarchus Sorry for the delay. I made the changes offline but I'm not sure they are correct; can you tell me if the following diff is correct?
@@ -199,7 +199,7 @@
 # [[bright]], [[resplendent]]
 #* {{Q|sa||RV}}
 # [[clear]], [[pure]], [[spotless]]
-#* {{Q|sa||RV|4|51|9|quote=ता इन्न्वे॒३॒॑व स॑म॒ना स॑मा॒नीरमी॑तवर्णा उ॒षस॑श्चरन्ति।<br> गूह॑न्ती॒रभ्व॒मसि॑तं॒ रुश॑द्भिः '''शु॒क्रा'''स्त॒नूभि॒: शुच॑यो रुचा॒नाः॥|t=Thus they go forth with undiminished colours, these Mornings similar in self-same fashion, concealing the gigantic might of darkness with radiant bodies bright, '''pure''', and shining.}}
+#* {{Q|sa||RV|4|51|9|quote=ता इन्न्वे॒३॒॑व स॑म॒ना स॑मा॒नीरमी॑तवर्णा उ॒षस॑श्चरन्ति।<br> गूह॑न्ती॒रभ्व॒मसि॑तं॒ रुश॑द्भिः '''शु॒क्रा'''स्त॒नूभिः॒ शुच॑यो रुचा॒नाः॥|t=Thus they go forth with undiminished colours, these Mornings similar in self-same fashion, concealing the gigantic might of darkness with radiant bodies bright, '''pure''', and shining.}}
 # light-coloured, [[white]]
 
 ====Declension====
The line preceded by - is the existing line and the line preceded by + is what it will change to. The difference is in the third-to-last word in the Devanagari. Benwing2 (talk) 10:36, 21 January 2025 (UTC)Reply
Yes, this is correct. Exarchus (talk) 10:48, 21 January 2025 (UTC)Reply

caps

[edit]

Hi. Could you fix the caps of the last 4 letters at [Template:list:Greek script letters/aat]? I can't move pages w/o a rd, plus I don't want to get into an argument about 'vandalism' again. kwami (talk) 02:05, 20 January 2025 (UTC)Reply

I'll respond to this and your other post tomorrow, going to bed now. Benwing2 (talk) 10:47, 20 January 2025 (UTC)Reply

errors with WingerBot

[edit]

FYI, you've used this with topics and not just glosses, so eg at ◌̯ we said,

(antonym(s) of “IPA”): ◌̩
(antonym(s) of “NAPA”): ◌̣

I changed those back to the 'sense' template. kwami (talk) 03:41, 20 January 2025 (UTC)Reply