Wiktionary:Grease pit/2018/March

Tabbed languages + MediaWiki update
Has anyone else problems with tabbed languages and MediaWiki edit urls? When I save a page  is still part of the URL and messes up the tabs. I have to remove the "edit" part and reload the page (just reloading the page will go back into edit mode). I suspect this behaviour was introduced with a recent MW upgrade. – Jberkel 09:10, 1 March 2018 (UTC)

Empty arguments to
I'd like to be able to give an empty argument (or -) to together with a corresponding argN parameter to produce an effect similar to  in order to discuss hypothetical suffixes. Could someone make this happen? Crom daba (talk) 00:05, 2 March 2018 (UTC)
 * I enabled that in the suffix template (though not the other affix templates yet): &rarr; . You leave parameter N + 1 empty and put in the corresponding alt N parameter instead. — Eru·tuon 00:24, 2 March 2018 (UTC)

Terms by script
I noticed we don't have Category:Terms needing native script by script or Category:Cyrillic terms needing native script. Any chance someone might be able to put that together? --Victar (talk) 00:40, 2 March 2018 (UTC)

Template:hot word throws error for lang=mul
Translingual once more gets no respect. See [[Tupanvirus]] for example of module error resulting from use of lang=mul. But it's a more general problem than just one template. DCDuring (talk) 17:52, 3 March 2018 (UTC)
 * You have to use lang as an explicit named parameter. DTLHS (talk) 18:00, 3 March 2018 (UTC)
 * Indeed, there's no secret conspiracy against Translingual. But we should try to switch over this kind of template to using the langcode as the first positional parameter, in line with many other templates. —Μετάknowledge discuss/deeds 18:50, 3 March 2018 (UTC)
 * It wouldn't be a shock if "mul" were unintentionally neglected. I thought I had tried lang=. Sorry. DCDuring (talk) 21:51, 3 March 2018 (UTC)

Have edit summaries got longer?
When I add to an entry I'm in the habit of pasting my additions into the edit summary box, to show exactly what I did. The box would cut them off short. Now it's allowing far more characters, and I might be clogging up the Recent Changes a bit. See e.g.. Does anyone know why this changed? Equinox ◑ 17:53, 3 March 2018 (UTC)
 * See here. I think that such copy-pasting is a waste of time, to be honest; if someone cares, they can check the diff very quickly (almost instantaneously if they're a logged-in user who's got the proper gadget). —Μετάknowledge discuss/deeds 18:53, 3 March 2018 (UTC)

Help in installing the gadget
All are a good day! I'm a sysop of the Belarusian Wiktionary please help me with installation on my wiki this gadget. --OlegCinema (talk) 14:50, 4 March 2018 (UTC)
 * Прывітанне. You mean the Belarusian wiktionary? The translation adder is not meant to be used on Wikipedia (indeed, I don't see how it could). --Per utramque cavernam (talk) 20:24, 4 March 2018 (UTC)
 * Да, wiktionary. Я перепутал. Не Википедия --188.162.228.5
 * Sorry, I confused. Not Wikipedia. --OlegCinema (talk) 09:03, 5 March 2018 (UTC)

Template:user-rights
This template, which invokes Module:linkbar, is used at WT:WL, where it pings the user whose name is linked to. It seems undesirable, or at best unnecessary, to bring this process to the attention of the person under deliberation. Can we prevent the ping from occurring? —Μετάknowledge discuss/deeds 20:20, 4 March 2018 (UTC)
 * FWIW, I don't remember getting pinged when the suggestion was made, but only when my user rights were changed. --Per utramque cavernam (talk) 20:27, 4 March 2018 (UTC)
 * I might be mistaken, then! Want to do a quick test? —Μετάknowledge discuss/deeds 20:34, 4 March 2018 (UTC)
 * Yes, go ahead. --Per utramque cavernam (talk) 20:37, 4 March 2018 (UTC)
 * Well, I did get pinged. I'm gonna check my ping history because I'm curious now. --Per utramque cavernam (talk) 20:40, 4 March 2018 (UTC)
 * I got pinged every time. I must be senile... --Per utramque cavernam (talk) 20:46, 4 March 2018 (UTC)


 * Any ideas? ? —Μετάknowledge discuss/deeds 18:42, 7 March 2018 (UTC)
 * A user will be pinged when their username is linked to. If you don't want the pings you need to remove the link. DTLHS (talk) 19:15, 7 March 2018 (UTC)


 * , there was apparently a  parameter in the module all along. Can I try a test on you again? —Μετάknowledge discuss/deeds 03:10, 13 March 2018 (UTC)
 * Go ahead. --Per utramque cavernam (talk) 08:49, 13 March 2018 (UTC)
 * , is this your only ping from me? —Μετάknowledge discuss/deeds 17:49, 13 March 2018 (UTC)
 * Yes. --Per utramque cavernam (talk) 18:13, 13 March 2018 (UTC)

A more drastic Lua memory solution
So, we've significantly reduced the number of pages with memory errors now, but and  still are overflowing, despite now being in the memory-intensive entry list. I was wondering whether another solution might alleviate our difficulties. It is often the pages that contain many translations that cause a problem and as the project grows, the number of these pages will only increase. For these giant pages, I was thinking that we could move there translations to a subpage and leave the translation box as a redirect. Unfortunately, this feels like a kludge to me. A more powerful solution might be to make a "Translation" namespace with an associated tab like we have for Citations. With this system, we could remodel MediaWiki:Gadget-TranslationAdder.js to edit this Translation namespace (if that is actually possible. ?). Then you have the translation boxes call a Lua module that checks the size of the Translation page. If it is above a certain threshold, you don't render the contents but instead leave a link. Some details would need to be worked out, like how to represent the data on the Translation page to be parse back to the mainspace, but this would lower the amount of memory, as it would not actually load all the linking and language data if the translation section is deemed too large. Of course, we'd also have to get a new namespace, etc. and the programming changes would not be insubstantial. Unless we do something, however, we're steadily going to run out of memory in all the most semantically or orthographically common entries. . —*i̯óh₁n̥C[5] 12:21, 5 March 2018 (UTC)


 * Another, less extreme option would be to just have the translations be flat wiki markup instead of calling modules (without much benefit, really). I am not sure why we have to look up a language code for every translation which exists on the site. The transliteration magic is nice, but that only needs to happen once, and after that it could easily by "flattened" by a bot so that it doesn't need to make module calls again afterward.
 * Re translation namespace, there are a lot of problems which would need to be solved before this would work. Many terms have lots of senses to be translated, so figuring out which portion to transclude, and keeping it in sync, is one major hurdle. We should also test whether the memory usage of a transcluded page is counted against the total for the page, otherwise this may actually increase Lua memory usage. - TheDaveRoss  12:29, 5 March 2018 (UTC)


 * I imagine the memory usage of fetching a page's data (lua) is comparable to having the bytes in the entry itself. The issue would be parsing through the data to find the appropriate bit to render. For my money, the most effective long-term solution would be to move all the translations to a Translations namespace and then leave redirects in the mainspace. This keeps the memory out of the entry and gives you all of your fancy rendering. The problem would then be having to go to a different page to look at the translations. —*i̯óh₁n̥C[5] 12:42, 5 March 2018 (UTC)
 * I missed the portion where you said we would not transclude very large pages, which would certainly reduce resource usage. - TheDaveRoss  13:53, 5 March 2018 (UTC)


 * There's an easy way to check the basic principle: edit this subpage and look at the memory usage, then edit the main Grease pit page and compare its memory usage. The main Grease pit page uses about three times the memory of this one, so I suspect the entire memory usage of the transcluded page is included in the transcluding page. Chuck Entz (talk) 13:22, 5 March 2018 (UTC)


 * Our biggest translations tables currently include under 3000 languages. We have codes for roughly 8000 languages. Your idea is interesting, and might even have other utility — it reminds me of the proposed Collocations namespace, which would've allowed, as this also theoretically could, collecting translations of common collocations of words that are SOP but that translation dictionaries often include. However, I suspect that, even if in a separate namespace, translations tables will eventually run out of memory. (I suppose this could be tested by generating a translation table with some nonsense string written in each language in each of the scripts that the language has. That last part is important.) I also think that, conceptually, something more like what The Dave Ross proposes might be more desirable. In particular, my (testable/falsifiable) understanding has been that subst:ing in transliterations, and just accepting them and ceasing to compare manual to automatic transliterations, might significantly reduce memory usage; subst:ing in language names would also seem useful. - -sche (discuss) 15:17, 5 March 2018 (UTC)

Audio playback cut off too early
See Talk:Plymouth. I can reproduce the problem in current Google Chrome. Equinox ◑ 18:15, 6 March 2018 (UTC)
 * I have the same problems, and in following it upstream it appears that it is not a local problem. My guess is that MW has versions of the file for downloading and versions of the file for playing in browser, and the in-browser versions are somehow broken. The recording is also not very good, maybe someone can replace it. - TheDaveRoss  13:39, 7 March 2018 (UTC)

Inputbox (or something similar) passing text input to a module for processing ― possible?
Something similar to mw:Extension:InputBox: could be a string or paragraph box, that passes the text input to a backend module for processing upon button-clicking, and returns a processed output. Is this possible? Any guide on how to write this would be greatly appreciated. Thanks! Wyang (talk) 10:33, 7 March 2018 (UTC)
 * I did it to test a module: ca:Module:ca-general. The output of a wiki inputbox can only be obtained as a page name, so it edits a subpage of a sandbox showing the result in the editintro. --Vriullop (talk) 17:10, 7 March 2018 (UTC)
 * Hmm, thanks. I think I was expecting more than the MediaWiki preloader, as in whatever is written in the inputboxes (e.g. 'язык') can be passed to a module, to produce an output like 'jazyk'.
 * I remember (sorry to disturb your wikibreak!) mentioned that this may be possible (?) at Grease pit/2016/November. It would be very useful if it is indeed feasible.
 * I'd like to learn a bit of coding for this, although not quite sure where to start. Wyang (talk) 22:42, 7 March 2018 (UTC)
 * I'm curious: would it be something of this kind, or of this one? --Per utramque cavernam (talk) 22:56, 7 March 2018 (UTC)
 * Yes, something similar. It doesn't have to be limited to transliterations; could also be IPA, script conversion, text segmentation, translation, etc. Wyang (talk) 23:10, 7 March 2018 (UTC)

Something that I'd find invaluable would be a small search engine for "language name > language code" and the reverse. I suppose it would use Module:languages/code to canonical name and Module:languages/canonical name to code. I think that's a similar tool from a conceptual point of view. --Per utramque cavernam (talk) 23:07, 7 March 2018 (UTC)
 * The xte gadget does that already. —Μετάknowledge discuss/deeds 03:20, 8 March 2018 (UTC)
 * Indeed! Thanks. --Per utramque cavernam (talk) 13:30, 8 March 2018 (UTC)
 * This seems relevant. —suzukaze (t・c) 23:09, 7 March 2018 (UTC)
 * Thanks ! I will very slowly investigate... Wyang (talk) 23:12, 7 March 2018 (UTC)
 * : Sorry, I forgot to answer. I'm confused :3 How should I use this? --Per utramque cavernam (talk) 23:58, 13 March 2018 (UTC)
 * doesn't do anything, right? (did you get my second ping, btw?) --Per utramque cavernam (talk) 00:00, 14 March 2018 (UTC)
 * Ah, I was replying to Wyang's original post. (；・∀・) (I don't know what you mean by "second ping"...) —suzukaze (t・c) 00:07, 14 March 2018 (UTC)
 * The search results are for scripts that seem to have the ability to render wikitext. I don't know what CodeLinks specifically does. —suzukaze (t・c) 00:13, 14 March 2018 (UTC)
 * I'm trying to ping you from the edit summary. That shit doesn't work! --Per utramque cavernam (talk) 00:15, 14 March 2018 (UTC)
 * says you have to wait a few more hours. —suzukaze (t・c) 00:58, 14 March 2018 (UTC)
 * And templates on edit summary are not expanded, you should use a real link. --Vriullop (talk) 09:02, 14 March 2018 (UTC)
 * Oh, ok, thanks and thanks! --Per utramque cavernam (talk) 10:31, 14 March 2018 (UTC)

Linking to parts of speech sections with
Would it be possible to have (for example) link to the verb section of  rather than to the top of the entry page? — SGconlaw (talk) 23:06, 7 March 2018 (UTC)
 * And what if there are multiple verb sections (like with different etymologies)? -84.161.32.90 23:37, 9 March 2018 (UTC)
 * Good point. Perhaps there should be some way to specify which section (e.g., "verb 2"). — SGconlaw (talk) 04:31, 13 March 2018 (UTC)
 * Use . —Μετάknowledge discuss/deeds 04:39, 13 March 2018 (UTC)
 * Ah. But that would entail having to create all the sense-ids ... It would be nice to have at least link by default to the first appropriate part-of-speech section. — SGconlaw (talk) 06:24, 13 March 2018 (UTC)
 * The problem is that POS headers are just headers as far as the system is concerned. If you look at the links in the table of contents at the top of any page with lots of headers (wind, for example) you'll see that the system sticks a number at the end of each header name that's a duplicate, but doesn't distinguish between language sections, and also bases it strictly on order. That means your "Noun_2" becomes "Noun_3" if someone adds a new noun section before it. Chuck Entz (talk) 14:12, 13 March 2018 (UTC)

feminine of
Hey. How easy would it be to categorise, or make a list of, all Spanish nouns that use "feminine of"? Things like comercializadora is what I'm after. Ideally, of course, we would have all of them as lemmas, and make a link to the masculine form. It's all about equality of the genders, obviously. Even though Spanish is inherently sexist. --Otra cuenta105 (talk) 23:13, 7 March 2018 (UTC)
 * Running a search for  should yield a complete list. — Vorziblix (talk · contribs) 03:13, 8 March 2018 (UTC)
 * Personally, I think is a good compromise. —Μετάknowledge discuss/deeds 03:18, 8 March 2018 (UTC)

Font creation
Does anyone have any experience creating fonts? I'm having trouble getting the .fina lookups to work using FontForge. --Victar (talk) 13:20, 8 March 2018 (UTC)

Albanian, Irish and Old Irish cognates
Is there any way I can pull out Wiktionary etymologies which contain references to Albanian, Irish and/or Old Irish words?
 * User:DTLHS/Irish-Albanian DTLHS (talk) 02:54, 9 March 2018 (UTC)

Please test pings in edit summary
1. Read this:
 * "You can notify users in edit summaries. They will get a ping just as if they had been mentioned on a wiki page. phab:T32750"-- meta:Tech/News/2018/10

2. Sign up at https://en.wiktionary.beta.wmflabs.org/ using a different user name and password (not the one you use here). You may create multiple accounts if you like, just put a note on their user pages.

3. Edit a page and put a username link in edit summary. Confirm that you are receiving the notification correctly.

4. Test at different pages and in different ways.

5. Report bugs to Phabricator.

6. Share this comment with other people on other wikis, in different languages.

--Gryllida (talk) 23:54, 8 March 2018 (UTC)

Sound laws app
Hello. I've just had this idea I wanted to put out there: a sound law application. It would apply all known sound laws leading from one language to another (say Proto-Germanic to Swedish) to any given word, in an algorithmic fashion.

The first step would be to list all the relevant sound laws (chronologically whenever possible). These would have to be confirmed by an appropriate set of words. Implementing the reverse functions as well would be nice:
 * 1) inputting the etymon and the descendant and seeing if they're a match or not.
 * 🇨🇬 + 🇨🇬 → [[Image:Yes_check.svg|15px]]
 * 🇨🇬 + 🇨🇬 → [[Image:X mark.svg|15px]] [differs from regular reflex ]
 * 2) inputting the descendant and outputting the etymon (or the different possible etyma, if there's been a sound merger at some point).

It would help tremendously in seeing how strong and prevalent analogy can be.

Does something of the sort already exist? --Per utramque cavernam (talk) 17:00, 9 March 2018 (UTC)
 * Here's something: . —AryamanA (मुझसे बात करें • योगदान) 17:18, 9 March 2018 (UTC)
 * Here’s a more general sound change application, if you want to input your own set of sound laws and words and see what comes out. — Vorziblix (talk · contribs) 17:55, 9 March 2018 (UTC)

Request: categorize names when both 'male' and 'female' are set
and, i.e. any use of the "or=" parameter, should categorize into "Category:(language) unisex given names". (This would resolve some of the entries which are categorized as both male and female given names, but not as unisex). Probably the template should even display "unisex" rather than "male or female" in such cases, although it's fine if only the categorization request can be fulfilled. (I also wonder whether "gender-neutral" might be better than "unisex"; Ngram results are inconclusive.) Reposting from January because unisex given names came up again at RFDO. - -sche (discuss) 17:42, 9 March 2018 (UTC)

Converting Wiktionary dumps to a Kindle dictionary file
Hello all,

Here is a project of mine that will download and parse a Wiktionary dump, and then generate a MOBI dictionary file that Kindles can use for in-book word look-up. My work has been mostly to "glue" different already existing softwares together: JWTKL to parse the Wiktionary dump, tab2opf to convert text files to OPF and HTML ones, and KindleGen to create the MOBI file.

It is far from perfect as JWKTL does not handle templates (I implemented some code that does, but only a few of them are supported). Inflected word forms are also not supported, etc. Entries are also very basic, only definitions and examples will make it to the dictionary file.

This is more of a proof of concept than anything else, but as I could not find any Greek-English dictionary from Amazon or elsewhere I wanted to see what could be done with Wiktionary. The project is on GitHub and you'll find download links for three dictionaries I just generated (EN-EN, FR-EN, EL-EN). Please feel free to comment and suggest. — nyg gh (talk) 23:07, 9 March 2018 (UTC)
 * Nice! I worked on something similar a while back, also using JWKTL. We'll soon have dumps in HTML format, I think those are better suited for parsing than XML (or maybe a combination of both). – Jberkel 23:22, 9 March 2018 (UTC)
 * Thanks :). I've looked at the dumps mailing lists but have seen no mention of these HTML dumps. Do you have more info? — nyg gh (talk) 18:56, 10 March 2018 (UTC)
 * related phabricator tickets: T133547, T182351 – Jberkel 19:02, 10 March 2018 (UTC)

Cascading protection of User:DerekWinters
Cascading protection of the user page User:DerekWinters is preventing me from editing Module:parameters. What on earth??? It's so bizarre it's hilarious, but I'd appreciate it if an admin could fix this, so I can look into a bug in Module:headword/templates that may reside in Module:parameters. , it looks like you added the protection; was it meant to be cascading? — Eru·tuon 04:41, 12 March 2018 (UTC)
 * Removed the cascading protection. DTLHS (talk) 04:45, 12 March 2018 (UTC)
 * That's really weird, sorry for the trouble. I meant to protect his subpages. —AryamanA (मुझसे बात करें • योगदान) 10:10, 12 March 2018 (UTC)

Notification from edit summary
Greetings,

The ability to notify other users in edit summaries will be available later this week, on 15 March 2018. Other users can be notified if a link to their user page is provided in an edit summary. Some user-made gadgets and scripts that automatically put user names in edit summaries may need to be changed to put a colon in the link, such as User:Example. You can change how you receive these mention notifications in your preferences. This feature was highly requested in the 2017 Community Wishlist survey, and feedback is welcome.

Thanks, happy editing to you. -Keegan (WMF) (talk) 21:09, 12 March 2018 (UTC)


 * The only script I can think of that mentions a user page is the rollback one, and the rolled-back user will already get a ping by dint of having been reverted. I guess this means they'll get a double ping? If so, we should edit the script to prevent that. —Μετάknowledge discuss/deeds 04:45, 13 March 2018 (UTC)

Add curly braces around ISBNs in QQ
Can someone find a way to safely make this edit work? ISBNs should be templatized (like this) so as not to end up in Category:Pages using ISBN magic links (magic links will be removed at some point). - -sche (discuss) 05:06, 13 March 2018 (UTC)

Austronesian etymology
Can anyone tell me how I can pull out all entries with references in their etymology sections to Proto-Austronesian, Proto-Polynesian, Proto-Nuclear Polynesian and/or Proto-Malayo-Polynesian, please?

Ugh why do they ruin everything?
Some change has messed up a keyboard shortcut that's important to me. Go to delete a page and the "reason" box is focused. I usually hit Shift+Tab to focus back to the preceding list of reasons, then e.g. "V" to choose "vandalism", then tab back and type the sub-reason. Now the list can't be tabbed into, because it's apparently become some IDIOTIC custom element, not a real HTML list, that won't respond to input properly. Where can I complain? I really don't want yet another login/signup so if anyone can help/post on my behalf that would be wonderful. Equinox ◑ 17:18, 14 March 2018 (UTC)


 * Poking around in the Delete interface in Chrome, it appears that the main deletion reason dropdown is still selectable using Shift-Tab, when starting from the "Other/additional reason" textbox -- if you hit Shift-Tab 54 times. If you hit just Tab to cycle forward, you have to hit it 13 times.
 * It appears that someone screwed up the  value somehow.  Both are shown in the CSS inspector with the default value of , FWIW.  ‑‑ Eiríkr Útlendi │Tala við mig 18:45, 14 March 2018 (UTC)


 * Thanks for investigating. Is anyone able to report this bug? I am really unwilling to create an extra account. (Also ask them to let registered wiki users write bug reports. w00t!) Equinox ◑ 15:41, 16 March 2018 (UTC)


 * For that matter, where does one report bugs? ‑‑ Eiríkr Útlendi │Tala við mig 16:54, 16 March 2018 (UTC)
 * On Phabricator. I've had the pleasure of using it once before. -Stelio (talk) 17:18, 16 March 2018 (UTC)

Display of current votes in watchlist
I remember the Template:votes appearing in my watchlist, but it's been missing now for a small handful of months. I'm guessing I've changed a preference that has removed it, but I don't see which setting it is. Any thoughts on how I can add it back in to my watchlist? Thanks, Stelio (talk) 11:05, 16 March 2018 (UTC)
 * That's strange, it still appears in mine, as it always has. --WikiTiki89 15:46, 16 March 2018 (UTC)
 * It was removed from some people's watchlist as a test, following this conversation. --Per utramque cavernam (talk) 16:07, 16 March 2018 (UTC)
 * Without telling them? DonnanZ (talk) 16:25, 16 March 2018 (UTC)
 * This is a bad change and should have been voted on. --Victar (talk) 17:01, 16 March 2018 (UTC)


 * Who did this, ? I agree that it is very inappropriate to take action, especially selective action, after a discussion like that. —Μετάknowledge discuss/deeds 17:24, 16 March 2018 (UTC)
 * , I initially removed the votes, then immediately reverted and started the discussion you linked. If that edit and revert somehow removed it from a bunch of people's watchlists permanently then something is broken somewhere, and it wasn't my intent. - TheDaveRoss  14:20, 20 March 2018 (UTC)

Wait no, I'm definitely confusing this with something else. --Per utramque cavernam (talk) 17:25, 16 March 2018 (UTC)
 * What happens if you restore the default settings? --Per utramque cavernam (talk) 17:28, 16 March 2018 (UTC)
 * Fascinating. Restoring to the default preferences does indeed put the votes back on my watchlist. I then tried editing settings one at a time and checking the watchlist. First thing I did was change language from "en - English" to "en-GB British English". Bam! No votes on my watchlist. So there's the culprit identified.
 * This also explains why a change to a special message didn't actually work for me (it was changed for en but not en-GB).
 * So in the short term I'll revert to using "en". Longer term, I'll look at a way to synchronise the various en* language pages for special messages. -Stelio (talk) 20:17, 18 March 2018 (UTC)
 * Or rather for all languages. --WikiTiki89 14:52, 20 March 2018 (UTC)
 * , of course we (the site as a whole) should synchronise messages in all languages. I personally don't have the language knowledge to do that, so I would like to (at some point) look at the en* languages only. If, when I spend that time, it turns out to be a straightforward job then perhaps I can extend it. At least I can report back for others to do that work. But note that this involves more than just copying template use from one language's messages to another. For example the proper job would include translating the header row from Template:votes (stored in Template:votes/layout) to each user language as well, by making that text into a system message itself and translating appropriately. Confining my own personal scope to just the types of English avoids that particular hurdle. As it is, editing the system messages is restricted to a higher level of user rights than I have &mdash; sysop, I believe &mdash; so I can merely investigate what changes should be made rather than actually implementing them. -Stelio (talk) 22:15, 20 March 2018 (UTC)
 * What I mean is that it should appear no matter what for all languages, even if we haven't translated it to that language, in which case it should appear in English. --WikiTiki89 23:10, 20 March 2018 (UTC)

eq= in
Can someone link this parameter to English sections? That's its sole purpose, and it creates a bunch of black links on pages where the form is the same as the English name. See Teresa. Ultimateria (talk) 21:27, 16 March 2018 (UTC)

Polish m-pr declension template
I get an error message when using for proper nouns with certain endings (-ła, -la, -ka, -sa, -wa, -za, -zia, -cia, -nia, -na). For example, see https://en.wiktionary.org/w/index.php?title=Bary%C5%82a&oldid=49175834

Am I the only person who can't get the template to work for these endings? I can type out the declension manually but this does take more time. Hergilei (talk) 20:49, 17 March 2018 (UTC)

ab
Why is ab a different format in the namespace? (larger sans serif font vs. smaller serif font) Is it just me or is it like this for everyone? Are there other pages like this? – Gormflaith (talk) 00:47, 21 March 2018 (UTC)
 * That's the page title; a namespace is a different sort of thing (like Main vs Talk vs User).
 * As for why: it's because the modules think Äynu should be in Arabic script, and its being on a Latin-script page is messing with the fonts. Perhaps can assess whether we should move the entry or add Latn as a valid script. —Μετάknowledge discuss/deeds 00:58, 21 March 2018 (UTC)
 * It's tricky, because the language is secret and documentation is sparse. All that I can get ahold of is either in Latin script (but old), or phonetic (complete with square brackets), or phonetic-like but using e.g. š not ʃ and no brackets. The two "big" references known to Glottolog are the one cited in the entry, which cites words phonetically in square brackets, and Hayasi's Šäyxil Vocabulary, which I haven't been able to get ahold of, but Hayasi's piece in Copies Versus Cognates in Bound Morphology, and other works which cite the Šäyxil Vocabulary for the Eynu words they give, use (phonetic-like but bracket-less) Latin script spellings. Given the current paucity of documentation in the Arabic script, my inclination would be to add Latn as another script for the language. - -sche (discuss) 01:26, 21 March 2018 (UTC)
 * Pardon my ignorance, but why should the page title be affected by the inclusion of a particular language. If there is anything in the content of a page which affects presentation outside of its context we should fix that. If we need to account for the page-title script we should do so in the global .js or .css, not within the page content and certainly not within modules. - TheDaveRoss  15:03, 21 March 2018 (UTC)
 * I suspect that what was probably happening was that Module:headword was adding a display title for Arabic script. Arabic is one of the scripts for which this is done, listed in Module:headword/data. Arabic was detected by, which returned what was the only script listed for Aynu: Arabic. I introduced the display title feature a while back during a discussion about vertical scripts here. Script classes can be added with JavaScript (see scriptTitles.js), but there isn't yet a script that does everything that Module:script utilities does, like replacing spaces with newlines in vertical scripts, and there may be some users who don't have JavaScript enabled. On the other hand, adding display titles with Lua is inefficient, because it's done multiple times on a page if there are multiple headwords. — Eru·tuon 20:20, 21 March 2018 (UTC)

A passage-converting script
For anyone who knows how to code, I've always dreamed of having a personal Wiktionary script that converts passages of text into organized lists of links for each word in the text. For example:

"I really love to eat sugar."

would turn into

I wouldn't put these lists in the dictionary namespace obviously though; only in my personal userspace pages. I want to do it so I can automatically generate lists of blue links/redlinks/yellowlinks for Danish words from specific passages of text (since there are a LOT of red/yellow links for Danish that need attention) instead of having to do it manually. Also, in the cases where there's a capitalized word after a period, exclamation point, or question mark, the letter that follows will be automatically lowercased, since the script will detect this.

Is anyone willing to make a script like this just for me? It might actually do good for other users too in their situations. Thanks! PseudoSkull (talk) 16:27, 23 March 2018 (UTC)
 * See for a mockup version. It's not entirely functional yet though. — Eru·tuon 18:19, 23 March 2018 (UTC)
 * I do this manually for Irish in User:Mahagaja/Sandbox. One thing to keep in mind is multiword phrases: if the script takes the words out of their natural order and puts them in alphabetical order, how will you keep the words of multiword phrases together? —Mahāgaja (formerly Angr) · talk 18:25, 23 March 2018 (UTC)


 * This is approximately what User:Equinox/code/ExtractBookWords does. Equinox ◑ 18:34, 23 March 2018 (UTC)
 * I do it with a regex (that also allows me to get rid of common words so there's less to scan through). But I would welcome something more efficient. —Μετάknowledge discuss/deeds 19:06, 23 March 2018 (UTC)


 * My quickie low-tech method: in a text editor like TextEdit or Notepad, use cmd-f or ctrl-h find-and-replace to convert all punctuation to spaces, then get rid of extra spaces, then convert all spaces to . You can then copypaste it into the edit window. If you don't want to sort it by hand, convert the spaces to newlines so you can copypaste it into a spreadsheet (first set the format in the column(s) to text so it won't choke on things like leading hyphens), then copypaste it back to the text file to finish the formatting. It works well enough that I haven't bothered to find a more elegant way to do it. Chuck Entz (talk) 22:09, 23 March 2018 (UTC)
 * Thanks, it works well indeed. Per utramque cavernam 11:08, 2 August 2018 (UTC)

Module:category tree/poscatboiler/data/lemmas
I wanted to add a new label but was not allowed to edit (it says only registered users can edit which I am). Can someone please add the following:

labels[“general pronouns"] = {	description = " pronouns that refer to all nouns and their characteristics.",	fundamental = "Lemmas subcategories by language",	parents = {"pronouns", {name = “general pro-forms", sort = "pronouns"}}, }

Thanks. --Panda10 (talk) 17:01, 25 March 2018 (UTC)
 * If you're logged in, you'll still see the message, "Note: This page has been locked so that only registered users can edit it. See the protection log." But you should find that you can still edit the page yourself (because you are indeed a registered user). -Stelio (talk) 12:03, 26 March 2018 (UTC)
 * I tried again. First it behaved the same, but then I figured out what was wrong: I used incorrect double quotes in two places (“ instead of "), as you can see in the above text. Thanks. --Panda10 (talk) 13:29, 26 March 2018 (UTC)

Lua error in Category:Hungarian general pronouns
I created this new category after adding a new label to Module:category tree/poscatboiler/data/lemmas and there is a red Lua error on top of the category: "Lua error in Module:category_tree/poscatboiler/data at line 38: attempt to index field '?' (a nil value)". Sorry but I have no idea how to fix it. --Panda10 (talk) 13:39, 26 March 2018 (UTC)
 * , you need to create a label for general pro-forms before you can use it as a parent category. — Ungoliant (falai) 13:47, 26 March 2018 (UTC)
 * Thanks. HastaLaVi2 fixed it by adding the text correctly. I think "general pro-forms" is no longer there. --Panda10 (talk) 13:51, 26 March 2018 (UTC)

We need your feedback to improve Lua functions
Hello,

If you’re regularly using Lua modules, creating and improving some of them, we need your feedback!

The Wikidata development team would like to provide more Lua functions, in order to improve the experience of people who write Lua scripts to reuse Wikidata's data on the Wikimedia projects. Our goals are to help harmonizing the existing modules across the Wikimedia projects, to make coding in Lua easier for the communities, and to improve the performance of the modules.

We would like to know more about your habits, your needs, and what could help you. We have a few questions for you on this page.

Thanks a lot for your help, Lea Lacroix (WMDE) (talk) 08:49, 27 March 2018 (UTC)
 * . —*i̯óh₁n̥C[5] 08:59, 27 March 2018 (UTC)


 * "Did you run into performance problems?" 😂 —suzukaze (t・c) 01:47, 29 March 2018 (UTC)

Image caption of narrow image getting cut off
On quilisma the caption gets cut off on the sides: image, presumably because the image is narrower than the longest word. Is there any way to adjust this? DTLHS (talk) 01:31, 29 March 2018 (UTC)
 * Increase the image size. — SGconlaw (talk) 01:41, 29 March 2018 (UTC)
 * The image is already at full size. —Mahāgaja (formerly Angr) · talk 12:02, 29 March 2018 (UTC)
 * I've fixed it by putting the image into a gallery that's floating right. —Mahāgaja (formerly Angr) · talk 12:15, 29 March 2018 (UTC)

Category:Spanish male given names from Latin
Should categories like this be categorizing into Category:Spanish given names from Latin? It's a red link that doesn't work with auto cat, so I wonder if someone changed it without removing the child category. Ultimateria (talk) 18:40, 29 March 2018 (UTC)
 * It doesn't work with auto cat, but it does work with this: . --Per utramque cavernam (talk) 18:45, 29 March 2018 (UTC)

Inaccessible text on talk page
A 4-hyphen "language separator" was added near the end of User talk:Saltmarsh/Sandbox, after deletion a section of text has become inaccessible - other than the heading the three numbered paras disappear when attempting to edit the section or page. I hope that someone can suggest a remedy. TIA — Salt  marsh. 05:52, 30 March 2018 (UTC)
 * That is coming from the tag earlier in the page. DTLHS (talk) 05:55, 30 March 2018 (UTC)


 * (edit conflict) The text is generated from the &lt;ref&gt; tags on the page, no?
 * I suppose you could move the text from the bottom of the page by using &lt;references/&gt;. —suzukaze (t・c) 05:56, 30 March 2018 (UTC)


 * Sorted - thanks very much - someone else had placed the refs there, almost unnoticed by me :) — Salt  marsh . 10:31, 30 March 2018 (UTC)


 * Another solution would have been to place an actual &lt;references/&gt; tag in the proper section. --WikiTiki89 14:18, 30 March 2018 (UTC)

Help removing items from "Speedy Deletion"
Could some kind soul, preferable someone with a bot, please help me removing 202 Azerbaijani verbs from Speedy Deletion category, added there by one user. Thank you. Allahverdi Verdizade (talk) 22:25, 30 March 2018 (UTC)
 * Do you mean by deleting the pages, or by removing the template? DTLHS (talk) 22:36, 30 March 2018 (UTC)
 * I guess the pages haven't been marked for deletion- just the conjugation templates which transclude the category. DTLHS (talk) 22:38, 30 March 2018 (UTC)
 * The plain reading is that the pages are to be deleted. On the one page I looked at, the first use of the template focused on the conjugation table. When that was changed the "speedy" comment was that the term might be unattested, but that the speedy deletion could be removed and replaced with an rfd. That seems like a bit of 'shoot first and ask questions later'. DCDuring (talk) 00:29, 31 March 2018 (UTC)
 * It was a simple case of putting the d on the wrong side of the   in two of a number of Azeri conjugation templates tagged. I fixed the immediate problem by moving the noinclude before the deletion template. If anyone wants to remove all the conjugation templates, they can just do Special:WhatLinksHere/ for all of the templates that are in Category:Candidates for speedy deletion. Chuck Entz (talk) 04:16, 31 March 2018 (UTC)
 * Thanks a lot. This solved the issue. Allahverdi Verdizade (talk) 09:35, 31 March 2018 (UTC)

Query content by section
It strikes me that it would really beneficial if Lua could query the content of an entry on a section-by-section basis, something like. That would virtually eliminate the need to do regex searches on full page scrapes, like in desctree, which are very resource heavy. Is something like this even possible in Lua? --Victar (talk) 02:32, 31 March 2018 (UTC)
 * There was some discussion around accessing section data programmatically in T114072. In summary: it's currently not possible. There's a new shiny parser which has a notion of section data but it cannot be deployed because it doesn't yet support all the warts features of MediaWiki. – Jberkel 08:06, 31 March 2018 (UTC)
 * Should we mention this along with our memory errors in the feedback request? We've been waiting on this fancy new parser for a long time now. Do you happen to know which "features" are still outstanding? —*i̯óh₁n̥C[5] 08:17, 31 March 2018 (UTC)
 * Some of it is listed in T55784: audio/video support, redlinks, custom tags (e.g. ) and I'd also suspect compatibility with existing MW extensions. For the feedback, I think they are looking specifically for Wikidata related things, and the section/memory problems are more general Lua problems, so I'm not sure it would fit in there. (A more general Lua feedback session might be a good idea). From our perspective we'll need good Lua-WD support for the upcoming lexical properties. And Lua access to interwiki links (I'll add the last one as request).  – Jberkel 08:44, 31 March 2018 (UTC)
 * Thanks for the details. Yeah, Wikidata is not my primary interest. If they ever get this new parser up and running and give Lua access to the structural information like it already has for the pagename and namespace, we'll be able to enforce in which sections templates are used. I feel like a supervillain imagining the number of errors we'll throw for misplaced templates. It'll be great —*i̯óh₁n̥C[5] 09:03, 31 March 2018 (UTC)
 * Small note: &action=edit&section=36 does extract in a more-scrapable fashion the text of (currently) this section. There may be other action-api methods to do what you want. - Amgine/t &middot; e 21:53, 31 March 2018 (UTC)
 * Getting content by section order is useless. We'd still then have to scrape the whole page to find the correct section number. --Victar (talk) 02:15, 2 April 2018 (UTC)
 * If this functionality is efficient and usable via Lua, we could query things by language, as in title=potestas&action=raw&section=Latin, which would allow us to significantly narrow our searches. —*i̯óh₁n̥C[5] 02:59, 2 April 2018 (UTC)
 * Though, to be fair, you can get the sections of a page like this: . So if these two calls could be made from Lua (which I doubt), and they were fairly inexpensive (which I also doubt), you could find the section you wanted. —*i̯óh₁n̥C[5] 03:16, 2 April 2018 (UTC)
 * Well, that's the thing, currently we can only retrieve a section by its order, so, as is,  is out of the cards.
 * That is an interesting idea though, to query the TOC and then get the order of the section you need from that. --Victar (talk) 03:31, 2 April 2018 (UTC)
 * It might be worth re-exploring the value of normalizing our data structure, at least ever so slightly.
 * One option would be to move each language section into a separate subpage of the headword. I'd knocked up a test of this concept years ago, now located at [[User:Eirikr/Sandbox3/ni]] and subpages.
 * Taking that approach one step further, each language's individual pieces (etymology, pronunciation, etc.) could be moved into subpages of the language's page. I've done that for the Albanian entry at [[User:Eirikr/Sandbox3/ni]]; the entry structure was simple (only one etym), but for a multi-etym term, details specific to a given etym would go under that etym -- as subpages, not locations on a single page.  Splitting things out like this would conceivably make it possible to protect 1) just a specific language, and even 2) just a specific subsection of an entry.  It also makes querying much more straightforward -- you can test for page existence to tell whether or not a given spelling has an entry in a given language, or even whether a given language's entry has any noun senses.
 * Hopefully food for thought. ‑‑ Eiríkr Útlendi │Tala við mig 22:32, 4 April 2018 (UTC)
 * As I have said every time this comes up, I continue to strongly oppose this idea, which would make editing much more time-consuming in general and discourage multilingual edits. —Μετάknowledge discuss/deeds 23:37, 4 April 2018 (UTC)
 * I'm curious -- how many people make multilingual edits by opening an entire headword page from the Edit link at the top, instead of editing subsections of a page? ‑‑ Eiríkr Útlendi │Tala við mig 00:07, 5 April 2018 (UTC)
 * Perhaps as much as a few times a week I might do that, but it's exceptional. DCDuring (talk) 00:48, 5 April 2018 (UTC)

Polynesian etymology
Can anyone tell me how I can pull out all entries with references in their etymology sections to Proto-Malayo-Polynesian, please?
 * Is Category:Terms derived from Proto-Malayo-Polynesian sufficient for your purposes? —Mahāgaja (formerly Angr) · talk 13:49, 1 April 2018 (UTC)
 * Not really. What I had in mind was the kind of reply I got to my posting re Albanian, Irish and Old Irish cognates (posting no 14, Mar 2018) or the second reply to my posting re Arabic etymology (posting no 26, Feb 2018)