I'm trying to create my user page but it keeps being identified as harmful. Could you please assist?--Alexceltare2 (talk) 13:41, 3 February 2020 (UTC)
All four external search engines in MediaWiki:Gadget-SpecialSearch.js use HTTP URLs, rather than HTTPS. This can cause a browser warning: The information you have entered on this page will be sent over an insecure connection and could be read by a third party. Are you sure you want to send this information?
Three of them support HTTPS, though (Google, Bing and Yahoo do; Wikiwix does not), so it would be better to change their template to https://...
. (Alternatively, since Wiktionary is HTTPS-only, a protocol-relative URL like //...
would also work.) --Lucas Werkmeister (talk) 17:05, 5 February 2020 (UTC)
Dear colleagues,
In French Wiktionary, we are documenting and structuring our lexicons with new templates and modules, for categories structure and in pages, on definition lines (with data).
We are discussing the pro and con of building a template similar to your Template:label or to build three distinct templates with three lists: places, domains, contexts. As your are using label for a long time here, I though you may have some feedback or tips to share about this idea of having a big template for 1.000+ labels. Is it easy to learn for newcomers? Is it easy to use for contributors? Is it easy to parse for reusers? I hope it is not a conflictual topic and thank you in advance for your help with this matter Noé 10:30, 7 February 2020 (UTC)
Can anyone explain why Lua memory is ≈ 47.3 MB when I preview it, but maxed out at 50 MB after I click "Publish changes" (null edit)? — This unsigned comment was added by Chuck Entz (talk • contribs).
Could someone please help me here? I keep getting the following error message when I try to auto-generate pinyin entries: "Lua error in Module:languages at line 453: Please enter a language code in the parameter "lang". The value "cmn-Latn-pinyin" is not valid." @Benwing2 @Erutuon ---> Tooironic (talk) 04:49, 11 February 2020 (UTC)
lang="cmn"
to lang="cmn-Latn-pinyin"
. cmn-Latn-pinyin
is an IETF language tag meant to represent Mandarin written in pinyin (though I think it should be zh-Latn-pinyin
according to the language subtag registry: zh-Latn
is listed as a prefix for the pinyin
subtag, but cmn-Latn
isn't). I noticed the edit at the time and thought it might be okay. But the change was in a HTML tag that also had acceleration information, so the language code was picked up by the accelerated form creation script (WT:ACCEL). The script uses a module (Module:accel) to generate the new entries, and sends it the language code. But the module requires the language code to be an official Wiktionary code, which cmn-Latn-pinyin
is not, so there was a module error.cmn-Latn-pinyin
(though it may be invalid) and pick out the Wiktionary language code at the beginning while ignoring the rest, though it's odd to use an IETF language tag here and almost nowhere else on Wiktionary. It is probably a good idea to use IETF language tags instead of or alongside Wiktionary language codes, because they are apparently the correct way to identify languages on the internet, but someone would have to figure out how to implement it in our module system (and hopefully avoid causing a lot more Lua memory errors). — Eru·tuon 07:05, 11 February 2020 (UTC)@Benwing2: I noticed when revising Holyhead that Anglesey is missing from Category:en:Places in Wales. Whether it should be shown as Anglesey (which is more convenient) or Isle of Anglesey is another matter: see Local government in Wales#Principal areas of Wales and Isle of Anglesey County Council. Maybe use of Anglesey in entries could redirect to Isle of Anglesey. DonnanZ (talk) 12:59, 11 February 2020 (UTC)
{{place}}
. I fixed that but also had to fix a module bug involving 'traditional county', which was wrongly failing to categorize this page under Category:en:Counties of Wales. I also added a category alias for county 'Anglesey' that maps it to 'Isle of Anglesey'; see Holyhead and its categories now. Benwing2 (talk) 03:39, 12 February 2020 (UTC)
A lot of translations to be checked aren't getting checked. In the cases where a human has added the translation to the entry, and the translation to be checked is the same translation, the checktrans can simply be removed (example diff, where Afrikaans eier is already in the first translation table). Would anyone be interested in running a bot to remove these? —Μετάknowledgediscuss/deeds 00:44, 12 February 2020 (UTC)
Please take a look at this edit. The みな entry has two etymology sections corresponding to two lexical items. ]
belongs to the first lexical item, so it should be put at the end of Etymology 1, but the bot moved it to the end of the whole Japanese section. As a result, the soft-redirect to みな1 failed to copy that category.
Possible solutions (in increasing difficulty):
@DTLHS --Dine2016 (talk) 04:26, 15 February 2020 (UTC)
@Benwing2: Use of carea/Western Isles doesn't generate a category, not even a red link. I'm not sure why. I used it for Stornoway and Benbecula. DonnanZ (talk) 15:29, 15 February 2020 (UTC)
The translation adder fails on Eastern Mari (chm), e.g. эҥыремыш (eŋyremyš, “spider”) on spider#Translations. It should be nested as follows:
* Mari: *: Eastern Mari: {{t|mhr|эҥыремыш}}
The Western Mari (mrj) should also work (it does).--Anatoli T. (обсудить/вклад) 00:32, 18 February 2020 (UTC)
Some weird shit happened at Alta California with WingerBot (talk • contribs)'s edit. Needs fixing urgently, as do, I imagine other pages --AcpoKrane (talk) 10:43, 21 February 2020 (UTC)
You get a lot of entries ending up in Category:English words following the I before E except after C rule for which it wasn't designed for - e.g. Anniesland. What can be done about it? DonnanZ (talk) 20:46, 21 February 2020 (UTC)
{{ping}}
me if replying.--Thnidu (talk) 18:08, 30 March 2020 (UTC)
Some of the overcomplicated templates used on categories can show the newest (and oldest) additions found in the category, like Category:Requests for date/Shakespeare. How can this cool gadget be added manually to a category? --AcpoKrane (talk) 17:57, 22 February 2020 (UTC)
@Erutuon, Rua I made this diff: and it caused an OOM on Albania. Without the change, the memory usage is 49.37 MB out of 50 MB. I've tracked the issue down to the following:
if display_form then for _, mod in ipairs(place) do if (mod == "pref" or mod == "Pref") and place then ps = (mod == "Pref" and m_strutils.ucfirst(place) or place) .. " of " .. ps if needs_article then ps = "the " .. ps end end end end
If I remove this clause, the memory goes back down to 49.38 MB. If I change this to if display_form and nil then
so the if-clause doesn't run, the error still occurs. You can remove individual lines and at a certain point it suddenly goes from > 50 MB to 49.37 or 49.38 MB. It's almost as if there's a threshold of code size where Lua suddenly uses significantly more memory to handle it. Benwing2 (talk) 18:58, 22 February 2020 (UTC)
{{place}}
in Albania caused garbage collection to behave differently, maybe to collect less memory at certain points in execution, so memory usage jumped by significantly more than the amount of memory used by the strings. I don't really understand how Lua garbage collection works, but I know it doesn't immediately free the memory for an object when the object isn't referenced in code, so memory usage, by whatever measurement Scribunto uses (which I haven't figured out), can't always be exactly predicted based on the total size of the objects in Lua code. — Eru·tuon 00:33, 23 February 2020 (UTC)
if display_form then
to if display_form and nil then
). Literally, the presence of unexecuted code makes the difference. So it's hard for me to chalk it up to the vagaries of GC. Benwing2 (talk) 05:55, 23 February 2020 (UTC)I am thinking of doing a bot run to remove sc=Foo params for most scripts. These are especially (but not exclusively) present in {{t}}
, {{t+}}
and the like. I'm aware this might not be safe for Chinese-character scripts (not sure about this), but it should be safe for most or all others. If there are concerns, I could start out with only certain scripts (e.g. Cyrillic), and check that the specified scripts of the lang code in question contain the script to be removed. Another possibility is to run script detection and make sure the autodetected script agrees with the script to be removed. Benwing2 (talk) 20:47, 23 February 2020 (UTC)
Kore
is autodetected but Hani
is given explicitly (which isn't one of the listed scripts for Korean). Here's an example of how they look:
Chinese:
Korean:
How do they look? On my PC, Hans
and Hant
are correctly distinguished in Chinese and Hani
is wrong in Korean, but not on my smartphone. — TAKASUGI Shinji (talk) 08:11, 26 March 2020 (UTC)
berzingue can be either masculine or feminine (source: fr.wikt). Template:fr-noun does not seem to allow for this possibility. Equinox ◑ 19:51, 24 February 2020 (UTC)
I see in the documentation that etymology templates {{inherited}}
, {{borrowed}}
, etc., are only supposed to be under an Etymology section, but there are a number used inline in senses. I was changing some of them to {{derived}}
but I just noticed that it, too is only for Etymology sections. Is there a simple replacement, or would it be better to use use ordinary links for senses (especially in surnames) for "derived from...", etc.? Uranographer (talk) 09:45, 26 February 2020 (UTC)
I just made a page for the french noun champ' and something weird is going on in the noun section where some square brackets are showing up after the word, I can't seem to see what in the code is causing this and I assume it has something to do mabe with how the word ends with an apostrophe. Does anyone know how to fix this? Thanks! 2WR1 (talk) 09:55, 28 February 2020 (UTC)
|head=
. I've used curly apostrophes on these two words cuz I'm fond of curly apostrophes, but straight ones would work as well. —Mahāgaja · talk 12:50, 28 February 2020 (UTC)
Hey. Can someone make a list of all entries containing "abbreviation of" without {{abbreviation of}}
or any redirects thereto? To put at Wiktionary:To do/Abbreviation of and not abbreviation of --AcpoKrane (talk) 13:30, 29 February 2020 (UTC)
Picture dictionary | ||
---|---|---|
|
The adjacent image is included in the article at face. For me, the labels are in the wrong places; for example, "eyebrow" is too far to the left so that I can only see the letters "ebrow", and "nostril" is also too far to the left, quite a way from her actual nostril. I thought at first that everything was just shifted left, but this is not true of "mouth", which is, if anything, too far to the right (or could be in the intended place), and "eye" seems too low too. The documentation says "The coordinates are the number of pixels from the upper-left-hand corner of the visible size of the image" but unhelpfully does not explain which part of the text the coordinates locate. Is it the top left corner of the text? If so, the text is not for me displaying in the specified locations. I wonder whether this is some local setting-dependent glitch or something. It seems unlikely that the person who created the picture could have failed to notice these problems. I don't want to "correct" it and then make it wrong for everyone else. Perhaps others could take a look and check whether the labels display in the wrong positions for them too, and what might be done about it. Mihia (talk) 18:44, 29 February 2020 (UTC)
This edit to face has introduced dozens of red "Lua error: not enough memory" errors. I see no errors in the pre-edit version of the article, and dozens in the post-edit version. Also pinging the editor concerned, @Atitarev, not that I can say that he or she has necessarily done anything wrong. Mihia (talk) 23:46, 29 February 2020 (UTC)
{{redlink category}}
, which cleared the error for now, but it needs to have some of the translations changed from {{t}}
and {{t+}}
to {{t-simple}}
to get it out of the danger zone. Either that or move the translations to a subpage. There are a number of pages with large translation sections that have similar potential for problems. The precise amount of memory used varies unpredictably. I just clicked "Edit" and "Show preview" on the English section itself and got an "out of memory" error that I don't get if I do the same for the entire entry. The memory usage for the entire entry is displayed as 49.36 MB, however, and my experience is that unexplained variance of a MB or two is to be expected. Chuck Entz (talk) 00:28, 1 March 2020 (UTC)