Browsing through Category:English terms in nonstandard scripts, I noticed several that were there because one of the arguments in {{place}}
included a non-English term. For example, Macedonian Лазорополе (Lazoropole) has {{place|mk|village|r/Мијачија|a=a}}
, which links to Мијачија#English
. It would be nice if we could limit the places to ones with English names, but we have no English entry for this region, and Mijaks on WP mentions the region, but the name of it is a redlink. I would guess that there are lots of places that are similarly scarce in English.
I know that right now there are only a handful of cases and nothing is about to blow up- but we should keep this in mind the next time someone works with the module backend. It would be nice to get rid of the implicit {{l|en|...}}
, or allow other language codes. Chuck Entz (talk) 02:33, 2 September 2024 (UTC)
{{place|mk|village|r/mk:Мијачија|a=a}}
That said, I believe we should strive very hard to avoid using non-English holonyms like this. Benwing2 (talk) 08:09, 6 September 2024 (UTC)Following up on https://en.wiktionary.orghttps://dictious.com/en/Wiktionary:Grease_pit#c-Ysrael214-20240811011400-Replace_Usage_Template. Thanks! 𝄽 ysrael214 (talk) 10:25, 2 September 2024 (UTC)
Something's going wrong in the inflection table. The problem seems to be that there's a column for the 1st p dual so that every following form moves up one place in the table. 88.133.4.163 17:55, 2 September 2024 (UTC)
I played around with Wiktionary's search tool for a few minutes but didn't yet come up with a good answer. The task that I would like to see facilitated is that when senseid values *rarely* need to be revised (because of inadequacy), a way to filter for 'what links here by using a senseid specifically' would be helpful. Quercus solaris (talk) 04:26, 3 September 2024 (UTC)
insource:/\|id=moon/
. You can also look for links to a particular page: linksto:mone insource:/\|id=moon/
. However, this will return pages that link to the given page and also coincidentally use the ID on an unrelated link elsewhere on the page. Still, it's probably good enough for most uses. This, that and the other (talk) 12:20, 3 September 2024 (UTC)The {{sv-infl-noun-c-ar}}
-template is heavily utilized, and thus locked. Ultimately, it should Lua (via Module:sv-nouns). Apparently, there was a move some years ago to do this, but that was reverted in this edit. That edit, by a now dormant user, refers to pages that were "broken" by the 'Luacisation'. Anybody know more about that? Could it have something to do with nouns that end in "s" in their lemma form? I'm happy to help, if just knew which pages had to be cleaned up in order for {{sv-infl-noun-c-ar}}
to switch over to Lua. Gabbe (talk) 06:17, 3 September 2024 (UTC)
{{sv-infl-noun-c-ar}}
. Anyone care to implement that in Module:sv-nouns? Gabbe (talk) 08:42, 4 September 2024 (UTC)Click on engagingnessfoobar, which is a redlink: you get taken to an edit window to create/edit that page. Click on Citations:engagingness: you get taken to the edit window. But click on Talk:engagingness, and instead of getting taken to an edit window, you (or at least I) get taken to a page inviting you to click another button to start editing the page and "Start a discussion about engagingness". (The result is the same if you go to engagingness and click the links at the top of that page to the Talk: vs Citations: page.) Is there a gadget or something I can use to suppress this and just go directly to the edit window whenever I click a link to a nonexistent page? - -sche (discuss) 06:41, 4 September 2024 (UTC)
I am not a regular here so I don't want to mess with this myself, but there are a number of terms here that are not obsolete. Some of their uses might be obsolete, but that's way different (and there's a separate category for that "terms with obsolete uses" or something like that).
Abate, arm, baffle, battle, beaver, burnish, derelict, distract... and other non-obsolete terms.
I don't know if this is even worth worrying about, not being a regular.
If it is and if anybody wants to tackle this, I will put in a good word for you with St Peter, thanks. Herostratus (talk) 14:11, 5 September 2024 (UTC)
If anyone is tired of seeing pages with timeout errors, I've created a script to automatically fix them (for you). Ioaxxere (talk) 01:14, 6 September 2024 (UTC)
This may be a known bug, but: In Category:Proto-Sino-Tibetan_lemmas, you see links like "Reconstruction:Proto-Sino-Tibetan/t" (under D), which actually goes to Reconstruction:Proto-Sino-Tibetan/t/duŋ. For some reason, though the category includes the entire "Reconstruction:Proto-Sino-Tibetan/" prefix, it doesn't include the full (sub)pagename. (Sure, it probably takes "duŋ" to be a subpage, but why doesn't it include that in what's displayed, if only the duŋ subpage is what's in the category, not the t page?) Ideas:
Is it possible to force the category to display the whole pagename, including the part it thinks is a subpage? Or is it possible to use the same kind of thing as Unsupported Titles uses to display titles on pages themselves, but to change the names of the titles that appear in the category? (If so, we could also make the titles of the pages in Category:Unsupported titles display better.) And/or should we use a different symbol than / here, such as ⧸, and perhaps use UnsupportedTitles-style javascript to make the title look like a slash (and perhaps to make uses of / in link {{l|sit-pro}}
still work and link to ⧸)?
- -sche (discuss) 03:36, 8 September 2024 (UTC)
User:ScrewtapepatwercS/Sandbox is correctly not showing up in most categories that are present on (and only applicable to) the entries it transcludes... but, incorrectly, it is showing up in a few categories like Category:Proto-Semitic lemmas and various topic categories. The code that causes such categories to only be generated in content-namespace entries is apparently only present/working for some languages/templates and not others...? - -sche (discuss) 08:21, 8 September 2024 (UTC)
{{R:arc:Löw-Flora}}
, as سُعْد (suʕd) does. I noticed because @Surjection protected a few reference templates as highly visible, apparently more likely Arabic ones because of the homography: The inflection here is not for the plant name سُعْد (suʕd) but verbs on the same page. Fay Freak (talk) 21:59, 8 September 2024 (UTC)]
(). Theknightwho (talk) 10:49, 14 September 2024 (UTC)
/\*(?i)cat(?:egory)?+(?-i)*:*(CATEGORY NAME REGEX)*(?:\|((?:]+|\(?!]))++))?]]/U
/+/U
(i.e. an arbitrary number of Unicode space characters or an underscore). Theknightwho (talk) 21:32, 15 September 2024 (UTC)
Sometimes one must fill a CAPTCHA challenge because "your edit includes new external links", even when the edit does not include any new links, and only retains old ones (for example, when you are deleting text and not adding anything). This seems like a bug and should perhaps be reported and fixed. 2A00:23C5:FE1C:3701:7165:32DB:8256:403C 09:51, 8 September 2024 (UTC)
I'm experimenting with creating CSS variables that can be used to make templates dark mode-compatible. You can use these variables in any CSS file or inline style. For example:
<div style="background-color: var(--wikt-palette-pink)">text</div>
produces
You can see all the existing variables at MediaWiki:Gadget-Palette/table. Ioaxxere (talk) 03:15, 9 September 2024 (UTC)
Hello! First time using the Grease Pit (and wiki-public-inquiring in general) so please forgive any lack of etiquette or generally being a bit clumsy.
I'm trying to retrieve word definitions via the Wiktionary API. I can use `action: parse` and `prop: sections` to generally have an idea whether there exists a definition for the word I'm looking for; I know, for example in the case of `franskbrød`, that a Noun definition is at the 1.3 subheading of the ToC.
I'm wondering whether it is possible to use the API again to get the contents of that subheading? I understand there is a `section` parameter in the API query ("Only parse the content of the section with this identifier.") but I don't know what information to place there.
Thank you very much for any help! Paomsal (talk) 13:47, 9 September 2024 (UTC)
const actionAPI = new mw.Api();
let params = {
action: "parse",
page: "franskbrød",
prop: "text",
section: 4,
format: "json"
};
actionAPI.get(params).then(response => {
let pageHTML = response.parse.text;
console.log(pageHTML);
});
const restAPI = new mw.Rest();
let pageTitle = "franskbrød";
restAPI.get("/v1/page/" + encodeURIComponent(pageTitle) + "/html").then(responseHTML => {
console.log(responseHTML);
});
As many of you may know, the Russian language has a ton of French borrowings, grâce à sa Majesté, Pierre le Grand. Instead of using up time categorizing them one after another, it could be done much faster if somebody made a script parsing Епишкин Н. И. Исторический словарь галлицизмов русского языка. (N.I. Epishkin. Historical dictionary of Gallicisms of the Russian language.) and categorizing Wiktionary entries accordingly. It is available online here and there. متذكر (talk) 10:02, 10 September 2024 (UTC)
Relatively recently, Module:nl-verbs was updated to include the 2nd person singular in case of inversion, because it is different from the regular 2nd person singular. However, the non-lemma entries for these forms do not reflect this change yet. I have added a shortcut "2-inv" to Module:form of/lang-data/nl to make this possible.
I believe it would be very straightforward for a bot to add "2-inv" to the non-lemma forms that require it. The verb form is identical to the 1st person singular, barring two exceptions which I already took care of (zul and kun). Could someone do this? Stujul (talk) 12:43, 10 September 2024 (UTC)
# {{infl of|nl|aaien||1|s|pres|ind|;|imp}}
# {{infl of|nl|aaien||1|s|pres|ind|;|2-inv|;|imp}}
1|s|pres|ind
inside {{infl of}}
.123|s|pres|ind
should be ignored. These are (for the most part) verbs where the stem ends in -t, whereby the inversion form is identical to the normal form (for example: wachten).Page 2286 ben: Found match for regex: # {{infl of|nl|zijn||1|s|pres|ind}} Page 5064 doorboor: Found match for regex: # {{infl of|nl|doorboren||1|s|pres|ind|;|imp|;|1|s|dep|pres|ind}} Page 5142 doorloop: Found match for regex: # {{infl of|nl|doorlopen||1|s|pres|ind|t=to go through}} Page 7274 heb: Found match for regex: # {{infl of|nl|hebben||1|s|pres|ind|;|imp|;|informal|3|s}} Page 12092 omschrijf: Found match for regex: # {{infl of|nl|omschrijven||1|s|pres|ind|;|imp|;|1|s|dep|pres|ind}} Page 12218 onderga: Found match for regex: # {{infl of|nl|ondergaan||1|s|pres|ind|t=to undergo; to tolerate}}
Benwing2 (talk) 05:35, 17 September 2024 (UTC)
Maybe people haven't noticed yet, but OrangeLinks is throwing errors on every relatively long page. The issue goes back to Module:get IDs, which the gadget relies on to efficiently figure out what IDs exist on the linked page. The problem started with @Theknightwho's recent edit to the template parser which uses the expensive property title.isRedirect
. You can't do "expensive" calls more than 500 times — it's hardcoded into MediaWiki. So now the module throws Lua error: too many expensive function calls on input it could easily handle previously (e.g. {{#invoke:get IDs|show|a|de}}
). Essentially the module is crippled. So there needs to be a way to parse templates without incrementing the expensive function counter. Ioaxxere (talk) 01:31, 11 September 2024 (UTC)
title.isRedirect
was to avoid all the extra template transclusions that were showing up in the transclusion list for each page, since the alternative (title.redirectTarget
) counts as a transclusion. These were annoying, because they weren't real template uses, but were counted for purely technical reasons. However, it doesn't matter if gadgets use the old method, since anything they transclude doesn't show up in the transclusion list, so I've added a flag to enable the old method, which should only be used by gadgets. Theknightwho (talk) 13:36, 11 September 2024 (UTC)Adding |en doesn't send to WT:RFDE, something broke. Pls fix thx Denazz (talk) 16:48, 11 September 2024 (UTC)
These pages simply don't work very well.
For maintainability, it would make a lot more sense to have a gadget, MediaWiki:Gadget-Common.css, which loads everywhere no matter what. CSS gadgets are render blocking. This would remove the need to duplicate styles between Common.css and Mobile.css.
If we have a style which should *only* exist on mobile, regardless of the skin (which seems implausible), then the selector can check for body.mw-mf
. Styles associated with Minerva (whether on desktop or mobile) can use body.skin-minerva
or can be moved to MediaWiki:Minerva.css.
I'm posting this here rather than on RFDO since it's a fairly major change from a technical perspective. Ioaxxere (talk) 00:26, 12 September 2024 (UTC)
{{l}}
) is that virtually every entry uses at least one of these templates. I recall being told that it's more efficient to include such styles in a global CSS file, not TemplateStyles. So I think we either have to use global .css pages or global gadgets for much of this styling. We also have a lot of style rules that override core CSS or apply globally (e.g. our line-height change for <sup> tags).I recall being told that it's more efficient to include such styles in a global CSS file, not TemplateStyles. So I think we either have to use global .css pages or global gadgets for much of this styling.
We also have a lot of style rules that override core CSS or apply globally (e.g. our line-height change for <sup> tags).Of course, and English Wikipedia won't be moving those cases either (note our overrides of
small
and such).For example, the "romanization tables" styling is only used on a few pages in the Wiktionary namespace, but these tables don't use a template, which creates some difficulty.WMF engineers seem mixed on whether to support this use case with TemplateStyles. TemplateStyles originally rolled out with some admonition not to just have a
{{Specific kind of table style}}
the full contents of which is a TemplateStyles tag, but at least one other engineer has basically said "go for it" by endorsing uses of such templates actively when users were like "we want to do this specific thing". It is now also (finally?) being used as such on English Wikipedia. I'd encourage you to use it for that purpose as such also. (I have 0 ulterior motive of course. >:) Izno (talk) 16:32, 15 September 2024 (UTC)The content of this appendix needs to be changed to
{{#invoke:character list|show_header|block=Symbols for Legacy Computing Supplement}}
{{#invoke:character list|show|block=Symbols for Legacy Computing Supplement}}
(i.e., as in the other Unicode appendices), because this block has been added in Unicode 16.0, but I am unable to do this, as the message “The {{#invoke:}}
magic word must not be used directly in content namespaces. Please ensure that it is wrapped in a template call.” appears. J3133 (talk) 06:39, 12 September 2024 (UTC)
{{Unicode character list header}}
and {{Unicode character list}}
(and {{Unicode block list}}
for the main appendix). J3133 (talk) 09:12, 15 September 2024 (UTC)
{{#invoke:character list}}
at this point. 10:13, 15 September 2024 (UTC) Theknightwho (talk) 10:13, 15 September 2024 (UTC)I seem to have found a really annoying bug to do with the page preview feature. Links to Wikipedia project space (such as the ones on Wiktionary:Wiktionary for Wikipedians) will correctly take you to their respective pages when you click on them, but when you hover over one of these links, rather than showing a preview of the Wikipedia project page in question, it shows a preview of the page with the same title but with no namespace prefix. For example, hover over this link: w:Wikipedia:Notability—it will show you a preview of w:Notability.
I'd hope that adding proper previews for links to Wikipedia project space would be fairly straightforward, but if it's difficult for whatever reason, we could just disable previews of Wikipedia project space links. It's not a hugely important feature, given that such links are not very common on Wiktionary, but we shouldn't have previews that only half work, because that's a confusing and frustrating user experience. TTWIDEE (talk) 20:06, 12 September 2024 (UTC)
Please create these redirects:
Etisop (talk) 19:00, 13 September 2024 (UTC)
While going through WT:Todo/Lists/Template language code does not match header (sorted by language) I've been seeing a good number of instances of {{rhymes}}
with the wrong language code for the L2 section it's in. After a while, I found some where I knew the content matched the language of the template's language code rather than that of the language section it was in. Finally, I looked at the revision history, and discovered that they were added by people who certainly knew the difference between the languages in question and who would never do that kind of thing intentionally, and that the revision had the typical Rhymes adder edit summary.
After looking around a bit more, I think I know what happened: these were all pages that had entries for both languages, but only one of the entries had a Pronunciation section at the time. The Rhymes adder apparently looked for the correct L2 section, then added the rhyme to the first Pronunciation section it found after that, without verifying that the Pronunciation section was in the same L2 section.
Could someone who knows the Rhymes adder check the code to see if that could have happened, and if could have, figure out a way to fix it so it won't happen again? Chuck Entz (talk) 01:49, 14 September 2024 (UTC)
I'm looking for how to activate all projects But I don't know how to activate step by step anymore 197.244.172.47 21:52, 15 September 2024 (UTC)
WT:Todo/Lists/Entries using nonexistent templates is pretty much useless today, because there are 281,150 pages in the transclusion list for the poscatboiler template. Even if there weren't, there are 255,237 pages in the topic cat transclusion list. It certainly looks like at least one of {{auto cat}}
's modules is at least checking whether these templates exist. How hard would it be to make that stop? Chuck Entz (talk) 00:51, 16 September 2024 (UTC)
{{poscatboiler}}
template, but the hundreds of thousands of categories that used to use this template haven't all been refreshed yet. I would suggest blacklisting the three deleted templates {{poscatboiler}}
, {{topic cat}}
and {{ws topic cat}}
and rerunning. Benwing2 (talk) 02:17, 16 September 2024 (UTC)
When making an edit to {{RQ:Hume Morals}}
, a message appeared stating that there are unbalanced <noinclude>
tags and “Unbalanced template tagging filter” was tagged to the edit, although the only <noinclude>
tag in this template is closed (<noinclude>{{documentation}}</noinclude>
). J3133 (talk) 06:04, 16 September 2024 (UTC)
In May, there was briefly discussion about getting those occasional Tech News notices that go out delivered to the Grease Pit (since it's widely watchlisted and where we normally discuss technical issues) instead of to the little-watched WT:Wikimedia Tech News; TTO suggested it here and Benwing and I were down with it here, but that's just three users... Please comment if you support (or oppose) getting Tech News delivered to the Grease Pit, so we can have a clear showing of community sentiment that I—or anyone who wants to beat me to it—can link to when updating meta:Global message delivery/Targets/Tech ambassadors#Wiktionary... - -sche (discuss) 01:46, 17 September 2024 (UTC)
At the moment, Wiktionary’s main method of displaying Egyptian hieroglyphs is to directly input Manuel de Codage codes into <hiero></hiero>
tags, where they are processed by WikiHiero, a piece of software that has always been rather buggy and limited in its functionality and is by now also very outdated. In order to remedy some of these limitations in a small way, I’ve written a crude module at Module:egy-hieroglyphs and corresponding template at {{egy-h}}
with the idea of replacing calls to <hiero>
tags with calls to this template. The idea is that, for now, it does some preprocessing before feeding its input to WikiHiero, addressing a few bugs and significant issues along the way. The longer-term idea is that, eventually, whenever font support is ready, the template and module can be switched over to producing Unicode output instead of WikiHiero output, making our ultimate transition away from WikiHiero less painful.
At the moment, advantages of the new template/module over bare WikiHiero include:
{{egy-glyph}}
and {{egy-glyph-img}}
. In many cases this makes a huge difference in ease of editing and readability of the input. Compare, for instance, diff or diff.
{{egy-glyph}}
and {{egy-glyph-img}}
is subsumed into the new module, and those hacky templates will be able to be retired.
produces |
I plan on gradually transitioning all bare
Dict: protocolDo we have a server for the Curiously, if I type dict:cheese in the search bar here, I am taken to
and not to a Wiktionary page; nor a Wikidata lexeme entry. Can we get that changed?
Auto-detected personal attack on user or user talk pageSurjection blocked me for pedophilia-related edits. I was trying to post the following reply on User talk:Surjection#Gapazoid blocked for pedophilia advocacy:
76.35.75.228 23:21, 19 September 2024 (UTC)
Problem with |