In English Wiktionary, the Chinese characters are displayed in a strange way, as shown in the screenshots. All other wiktionary projects do not have this problem.--Leiem (talk) 02:02, 1 August 2018 (UTC)
I would like a tool (on the toolserver, I assume) that allows me to specify a language and enter a text, where the tool then splits the text into words, counts the frequency (number of occurrences), and looks up each word in Wiktionary to see whether it has an entry in the given language and possibly whether that entry is a form entry. For example, I specify English and the text "tools on a toolserver". Output: a (1 occurrence, entry exists), on (1, exists), tools (1, form entry exists, plural of tool), toolserver (1, does not exist). If the output can be sorted by frequency, this would provide a means to identify which words (e.g. in a chapter by Mark Twain) are in most dire need of entries. Note that the entry should exist for that language; this is not the same as a page existing.
Is this the right place to ask for such a tool? Maybe such a tool already exists? (Maybe what I want is instead the Dicompte tool for French Wiktionary? It lists words that occur in books in Wikisource but are missing from Wiktionary, unfortunately only for French.)
To find out whether a word has an entry for a certain language, I assume categories such as the category:English lemmas must be used? Is there any easy way for a tool to determine whether an entry is a form entry or a real one? --LA2 (talk) 14:26, 1 August 2018 (UTC)
Hi there. Would it be possible for someone to create a {{it-IPA}}
template, along the lines of {{es-IPA}}
? Italian pronunciation is very regular, and can be inferred directly from the spelling - we have the details in the pronunciation section of Wiktionary:About Italian. SemperBlotto (talk) 09:18, 2 August 2018 (UTC)
@GianWiki, SemperBlotto: I've created {{it-IPA}}
. It only generates a phonemic transcription right now. — Eru·tuon 05:54, 1 September 2018 (UTC)
Donnanz sent me a "thanks" notification for fashion show. When I clicked it to see which edit was being "thanked", I was taken here , which gives an error message: "One revision of this difference (5274261) was not found. This is usually caused by following an outdated diff link to a page that has been deleted. Details can be found in the deletion log." However, the page does not seem to have been deleted at any point. Is this a bug? Equinox ◑ 20:05, 2 August 2018 (UTC)
If we're not already, we should be thinking of a replacement for the no-longer-running bot by the no-longer-present user who previously created subpages like Wiktionary:Grease pit/2019/January with {{discussion month}}
, and more importantly briefly moved each subpage over top of an existing subpage (which in turn had initially been moved over top of the central page) so new pages were "automatically" in the watchlists of everyone who watched the (main) Grease pit (Beer parlour, etc). The "Click here to start a new discussion" links will presumably keep linking to the right subpages (whether they are blue or red links) indefinitely, and we could probably make redlinked monthly subpages preload with {{discussion month}}
, but a system which (like the current one) doesn't require people to start manually watchlisting each new month's subpage in order to notice in one's watchlist that discussions are happening would be preferable. - -sche (discuss) 01:23, 3 August 2018 (UTC)
#!/usr/bin/env python3
#coding: utf-8
import blib, pywikibot
discussion_pages =
months =
year = 2018
for discussion_page in discussion_pages:
current = pywikibot.Page(blib.site, "Wiktionary:" + discussion_page + "/" + str(year - 1) + "/December")
current.move("Wiktionary:" + discussion_page + "/" + str(year) + "/January", "Creating new monthly discussion pages")
current = pywikibot.Page(blib.site, "Wiktionary:" + discussion_page + "/" + str(year) + "/January")
current.move("Wiktionary:" + discussion_page + "/" + str(year - 1) + "/December", "Creating new monthly discussion pages")
for i in range(len(months) - 1):
current = pywikibot.Page(blib.site, "Wiktionary:" + discussion_page + "/" + str(year) + "/" + months)
current.move("Wiktionary:" + discussion_page + "/" + str(year) + "/" + months, "Creating new monthly discussion pages")
for i in range(len(months)):
current = pywikibot.Page(blib.site, "Wiktionary:" + discussion_page + "/" + str(year) + "/" + months)
current.text = "{{discussion month}}"
current.save(comment = "Creating new monthly discussion pages")
—Rua (mew) 16:50, 21 August 2018 (UTC)
I renamed a pronunciation sound file to "File:En-us-insouciant.flac" to correct a spelling mistake. However, at insouciant the {{audio}}
template no longer displays properly. What is causing the problem? — SGconlaw (talk) 13:52, 4 August 2018 (UTC)
I figured out that I need to reset the transcodes at the Wikimedia Commons. — SGconlaw (talk) 17:21, 5 August 2018 (UTC)
When I tried to add a Pazend Middle Persian translation in diff, I got "ERROR:TypeError: thiz.elements.lang.update is not a function" and, even though the preview and automated edit showed the translation working just fine, it did not add. Perhaps in this specific case the Pazend alt form should just be consigned to the lemma page anyway, but the issue still seemed worth reporting. - -sche (discuss) 19:23, 4 August 2018 (UTC)
On many pages using the Perso-Arabic script, there are "see also" suggestions for related words. While this is often helpful (especially because of various graphical differences between languages), it is often overused or rather superfluously suggesting something that is completely unrelated. E.g.: بردن; I was looking up the Persian word بردن (brdn) and noticed that there are "see also" suggestions for the unrelated words تردن (trdn) and تزدن (tzdn) with the format:
This is reciprocated for تردن and تزدن.
These suggestions are helpful for words like دليل (Arabic dalīl) and دلیل (Persian dalil) which look the same and are hand-written the same way, but the first one using the unicode letter 064A ARABIC LETTER YEH (ي) for the 3rd letter, and the second one using the letter 06CC ARABIC LETTER FARSI YEH (ی) for the 3rd letter. This is the same as تازه (Persian tâze) and تازە (Kurdish taze), the first using 0647 ARABIC LETTER HEH for the final letter and the second using 06D5 ARABIC LETTER AE for the final letter.
This is also helpful for related words like بهلوان (Arabic bahlawān) and پهلوان (Persian pahlavân), where Arabic doesn't have a "p" and so use a "b" when adopting the word from Persian.
It is helpful for closely related dialectal and etymological variations like ذئب (Arabic ḏiʾb), ديب (Egyptian Arabic dīb), and ذيب (Malay zib), all of which have the same meaning and are closely related. Another example of this that incorporates the first example is موسيقى (Arabic mūsīqā), موسيقي (Arabic mūsīqī), and موسیقی (Persian musiqi).
To people studying Middle Eastern languages (depending on experience and exposure) will readily recognize the relations between these words and the suggestions are pleasant and helpful. However, to the untrained eye, بردن and تردن and تزدن look as much like each other as دئب and ديب and ذیب, even though the first set are unrelated and should not be suggested to each other. This can be especially problematic with a set such as زن (Persian zan), ژن (Kurdish jin), and رن (Arabic rin), where زن and ژن are related etymologically, but رن is completely unrelated.
To make sure this is in perspective to users who don't deal with Arabic script, this is like the entry for dad, which has these suggestions (edited to
wherein "Dad", "dåd", "bað", etc. may be very helpful to a user because each one is a variant of the initial word "dad"; but if the suggestions included unrelated variants based on superficial letter appearances, the "see also" would likewise include: "bad", "pad", "dab", "daq", etc.
Is there a way to keep helpful suggestions and select out the misleading suggestions? Or would such a task have to be done to each entry, one by one? Would it be more feasible to only allow related groupings of letters (for the letters that differ between entries)? e.g.: ا,أ,إ,آ and ي,ئ,ې,ى,ی,ێ and ب/پ and ه,ة,ہ,ۀ,ھ and ط/ت but not ت/ب and پ/ت and ث/ب and ر/ژ.
Binya2021 (talk) 10:10, 5 August 2018 (UTC)
{{also}}
entries are generally completely bot-added, in case you haven’t noticed. Also regard if you are of the same opinion when you consider rasm. Fay Freak (talk) 21:44, 7 August 2018 (UTC)
Add these related terms to C:
-Lamanapa (talk) 23:25, 10 August 2018 (UTC)
Requesting help with updating {{az-latin-verb-conj}}
. Thanks in advance.
Example:
Formation of future uncertain | |
---|---|
1SG indicative present simple | 1SG indicative future uncertain |
oluram | olaram |
qorxuduram | qorxudaram |
oxuyuram | oxuyaram |
deyirəm | deyərəm |
böyüdürəm | böyüdərəm |
üşüyürəm | üşüyərəm |
görürəm | görərəm |
alıram | alaram |
sarsıdıram | sarsıdaram |
anlayıram | anlayaram |
verirəm | verərəm |
edirəm | edərəm |
çatıram | çataram |
Allahverdi Verdizade (talk) 10:55, 11 August 2018 (UTC)
When I click on the "Add audio pronunciation" link, I get the error message "Error: NotFoundError: The object can not be found here". — SGconlaw (talk) 13:30, 12 August 2018 (UTC)
Anyone can help? — SGconlaw (talk) 12:21, 16 August 2018 (UTC)
I figured out what the problem was. The error message appears when a microphone is not present (my computer does not come with a built-in one). Perhaps the error message can be made clearer. Anyone know how to edit this tool? — SGconlaw (talk) 09:56, 28 August 2018 (UTC)
{{attention}}
templateThe {{attention}}
template can be used to request help from a user with knowledge of a particular language.
It would be good if we could also use it to get help in a specific knowledge area, For instance, I would like a mathematician to improve the definition of quasicyclic. Is this possible? SemperBlotto (talk) 14:45, 14 August 2018 (UTC)
{{xlit}}
templateCan someone add an optional parameter to this template to write first letter in uppercase? For example check here, there is no way to write "Mukriyanî" (instead of "mukriyanî"). Thanks.--Calak (talk) 15:21, 15 August 2018 (UTC)
{{ucfirst:}}
to do that. — Eru·tuon 04:00, 16 August 2018 (UTC)
{{ucfirst:}}
seems sufficient in this case, unless you want to do something else. — Eru·tuon 18:51, 16 August 2018 (UTC)
{{ja-r}}
and {{zh-x}}
, that have a way of doing this. They use ^
to trigger capitalization. The complication is that ^
has to be removed from the displayed text or entry name. Using that method, {{xlit|ckb|^موکرْیانی}}
would result in Mukriyanî. — Eru·tuon 03:32, 21 August 2018 (UTC)
When I copied and pasted a definition that included quotations into the "Tea Room" page, in order to illustrate a layout problem, the quotations were automatically expanded, rather than appearing as a "quotations" dropdown list as on the original page. The lines in question were:
As you can see, it happens here too. Does anyone know whether this is by design (and if so, why), or whether there is a glitch somewhere? Mihia (talk) 18:05, 15 August 2018 (UTC)
My sandbox right now has some new stuff: Special:Permalink/50144302; more precisely a template showing off a modified version of Module:fi-nominals with added support for term with multiple inflections, such as for multiword terms. There are also possessive form tables, and that module too heavily relies on fi-nominals, where it could possibly be merged into fi-nominals. Would it be worth it to implement either of these two and integrate one or both into fi-nominals? SURJECTION ·talk·contr·log· 18:19, 16 August 2018 (UTC)
(If anyone wants to look at and improve the code, feel free to) SURJECTION ·talk·contr·log· 18:19, 16 August 2018 (UTC)
Some files seem to have gone into emergency mode, first noticed yesterday.
Does anyone else experience problems using Chrome in the edit mode? The edit page seems just blank (as if there is no memory) and it happens on different PC's with different versions of Windows. I've switched to MS Edge temporarily. --Anatoli T. (обсудить/вклад) 12:21, 21 August 2018 (UTC)
Instead of creating new pages with a single entry in one language as described on this post: <https://en.wiktionary.orghttps://dictious.com/en/Wiktionary:Per-language_pages_proposal>, I have another suggestion (from a non-coder here).
I notice that when I go to the German entry for a word, the URL tacks on #German at the end. Would it be possible to have a function (possibly at the top of the page, or on the sidebar) where users can click the language they want to see results in, so when we enter a new search it will jump directly to that section? And the target language can be changed at will (for those of us who research more than one language at different times.)
It seems like a much simpler solution and seems to bypass the difficulties of the single-language entry proposal. And it would be such an added convenience for, I assume, most users who just want to browse definitions in a single language at a time. Thoughts? — This unsigned comment was added by Vaugue (talk • contribs) at 04:50, 26 August 2018 (UTC).
importScript('User:V111P/PrefLangs.js');
You should now have a new input box below the search box. You have to type the name(s) of the language(s) into it. You can enter several languages separated by a comma, for example: German, French
. If there is a section for the first language, the page will be scrolled to it, if not, to the second, etc. (It won't work when clicking a link from the "Search results" or another page, only on the first page that opens after searching from the search box at the top right.) --V111P (talk) 10:13, 6 September 2018 (UTC)Please replace MediaWiki:Gadget-AcceleratedFormCreation.js with User:Rua/Gadget-AcceleratedFormCreation.js, which contains a few small fixes. —Rua (mew) 22:45, 28 August 2018 (UTC)
Why is this a pitiful mess, when I copied it from a wiki user manual: User:Equinox/LuaTest. Given that I've programmed for years and I can count backwards in binary and I know how a CPU works, anyone want to teach me how to do some shit on here? I promise I won't mess with templates, I just feel like it would be nice to know how the wiki does it. Equinox ◑ 02:30, 30 August 2018 (UTC)
Module:
namespace: . —Suzukaze-c◇◇ 02:31, 30 August 2018 (UTC)require
a module, it just calls that function and returns it. The thing about returning tables is so that modules can return multiple functions and have them be called later. Also, the Lua-to-template interface requires that modules return tables containing functions. But we often return other things when modules don't need to be called from templates. Our language data modules return the data directly, without functions. —Rua (mew) 22:13, 6 September 2018 (UTC)error
to print debug things temporarily, and then preview a page with it. —Rua (mew) 22:30, 6 September 2018 (UTC)frame
(though in theory you can call it anything you like) to access any arguments that are given in an invocation ({{#invoke:whatever|somefunction|param1|param2}}
), or to a template that then invokes the module. It also contains other things like what the name of the current page is, it lets you transclude other templates (necessary because templates also have to have the current page name, and for tracking transclusions and such), etc. Simply said, it contains all the information about the context in which the module was called. On the other hand, you can always retrieve the frame with mw.getCurrentFrame
, so the parameter is technically unnecessary. —Rua (mew) 22:38, 6 September 2018 (UTC)nil
, and handling numbered parameters that should be grouped together in a sequence, like {{en-noun}}
's pl2=
, pl3=
etc. —Rua (mew) 22:44, 6 September 2018 (UTC)Regarding the debug console, it provides the module as p
, so if the module table contains a function called hello
, you can call it in the console with p.hello()
, and you can see what it returns by doing = p.hello()
. (I wish it was like Lua 5.3 where you don't have to type the equals sign.) — Eru·tuon 22:45, 6 September 2018 (UTC)
Ahhh this wasn't so hard. Setting shit up is always much more of a pain than using it. (One lecturer said "once you know one language, any other language is merely a matter of syntax". Hawwhhj! Really: once you know one language, any other language is merely a matter of maybe OOP, maybe functional-ness/side-effects, maybe interop, and a lot of configuration fun. But bless his heart, professors don't live in the real world.) Now I just need to think of something worth doing with Lua. "Hi, what's your name? Hello, (null), welcome to my Wiktionary page!" Equinox ◑ 22:57, 6 September 2018 (UTC)
nil
to a string, you get an error when you try to concatenate it. —Rua (mew) 22:58, 6 September 2018 (UTC)mw.title.new("duck"):getContent()
. — Eru·tuon 23:44, 6 September 2018 (UTC)<ref>
). So to parse the rest of the stuff you can do frame:preprocess(content_of_duck)
. (See above if you don't have access to the frame
object.) — Eru·tuon 00:04, 7 September 2018 (UTC)this
is. (JavaScript is pretty much my only reference point for object orientation.) Any time the function needs access to the object (usually table) that it's stored as a field in, the object has to actually be supplied as a parameter, either explicitly or through the syntactic sugar of colon syntax. So for instance the function frame.getParent
requires frame
, so you have to call it as frame.getParent(frame)
or frame:getParent()
. Otherwise, frame.getParent
has no way to gain access to frame
, unless it is a global variable, or a local variable that is accessible at the point where frame.getParent
is defined. But mw.getCurrentFrame()
doesn't use the table mw
, so it is called without colons or any parameters. In this way Lua is sort of like the GObject style of object orientation: the object is always the first parameter. — Eru·tuon 01:29, 7 September 2018 (UTC)Since I can't see it mentioned here: you can print using mw.log()
when previewing pages using the module. The output appears in the parser profiling data below the edit box. --Njardarlogar (talk) 09:00, 7 September 2018 (UTC)
I think the way {{der4}}
and other variants sort has been changed by somebody, and the result is not terribly user-friendly in my opinion. A good example is at low#Derived terms, where, for example, low side is sorted miles away from low-sided. DonnanZ (talk) 10:59, 30 August 2018 (UTC)
{{der4-u}}
instead (but you shouldn't have to). DonnanZ (talk) 22:33, 30 August 2018 (UTC)@Erutuon: There has been no reply from User:Urhixidur, and this is still annoying me so much, not only at low but everywhere else. I would revert it myself if I was allowed and knew how to. If nothing is done I will be forced to use {{der3-u}}
and {{der4-u}}
instead, despite the manual sorting. DonnanZ (talk) 10:49, 8 September 2018 (UTC)
The "Planned, running and recent votes" box, which appears (at least) in the Watchlist header seems to insist of being centered (or nearly so) on that page in Chrome (at least). I would have thought it should be on the far right. The only thing that appears on the far right of the header is the control "Edit your list of watched pages". We do have two interface admins who presumably have the powers to edit the relevant pages. DCDuring (talk) 17:18, 30 August 2018 (UTC)
Translation adder is stuffed. Can't use the "assisted" method. --Anatoli T. (обсудить/вклад) 02:30, 31 August 2018 (UTC)
wiktprefix: "ku"
. (See the discussion about this edit on my talk page.) — Eru·tuon 04:50, 31 August 2018 (UTC)