Tech
Tech-related questions about third-party wikis should be asked at mw:Project:Support desk. |
A place to talk about tech related to a Wikimedia wiki.
Have a technical wiki question? Ask here. This can include, for example:
- requests for new tools, scripts, and bots;
- help with CSS or JavaScript;
- API help;
- and data collection help (including database queries).
If you are not using the "New topic tool", such as the "Ask a question" button above, please sign manually using four tildes (~~~~
), or by clicking on the signature icon ; this will automatically generate your name and the current timestamp when you publish your changes.
Problem with {{sfn}}
template
[edit]Hello,
I’m encountering a technical issue on Uzbek Wikiquote (uz.wikiquote.org) regarding the use of {{sfn}}
.
When I use a citation like:
{{sfn|Xomidiy|Hasaniy|1997|p=200}}
.
It correctly displays a reference in the “References” (Manbalar) section, but it does not link to the corresponding entry in the “Bibliography” (Adabiyotlar) section, even though I’ve added (See example: „Qoʻrqut ota kitobi“).
This setup works perfectly on Uzbek Wikipedia, but not on Uzbek Wikiquote. I have already imported all related templates and modules, including Module:Citation/CS1, Module:Citation/CS1/SfnRef, Template:sfn, Template:sfnref, and others. CSS includes li:target highlighting, and the jump effect does happen when you click the link — but there’s no visual indicator (like blue background or proper anchor linking behavior).
Could someone please help troubleshoot this or let me know what I might be missing? BEKIPEDIYA #talk 17:18, 3 June 2025 (UTC)
- @Bekipediya: It’s not
li:target
, butspan.citation:target
. —Tacsipacsi (talk) 21:57, 17 June 2025 (UTC)- Thank you. It turned out great. I had been trying to fix this for a long time. Thank you very much once again. BEKIPEDIYA #talk 05:30, 18 June 2025 (UTC)
Broken ogg files
[edit]Hi! b:he:מיוחד:רשימת_קבצים/Idanrm1 have uploaded a large number of ogg files. For example b:he:File:F Recemment.ogg. To me the files seem to be broken but they are in use so my guess ins they worked at some point so I wonder if its the wiki software that changed. Can anyone confirm that the files are broken? And can they be fixed? They do not have a copyright template but if it is just a single word it may be PD-ineligible. (Ping User:Xnet1234 as info) MGA73 (talk) 14:16, 8 June 2025 (UTC)
- @MGA73 The file you linked here gave the following error: Cannot decode Ogg file: Invalid page at offset 23094. – Phương Linh (T · C · CA · L · B) 14:20, 8 June 2025 (UTC)
- Thank you for the ping. There are many files like that, is there any chance to fix them? Xnet1234 (talk) 14:24, 8 June 2025 (UTC)
- @Xnet1234: In fact it's just some bug. I will describe it later. – Phương Linh (T · C · CA · L · B) 14:27, 8 June 2025 (UTC)
- They work for me, at least many that I checked. IKhitron (talk) 20:11, 9 June 2025 (UTC)
- User:Hide on Rosé it is strange if they work for some and not for other. Can you tell what the bug is about? --MGA73 (talk) 06:53, 15 June 2025 (UTC)
- They work for me, at least many that I checked. IKhitron (talk) 20:11, 9 June 2025 (UTC)
- @Xnet1234: In fact it's just some bug. I will describe it later. – Phương Linh (T · C · CA · L · B) 14:27, 8 June 2025 (UTC)
- Thank you for the ping. There are many files like that, is there any chance to fix them? Xnet1234 (talk) 14:24, 8 June 2025 (UTC)
Table sorter question
[edit]I’m wondering if there’s a way to add some kind of coding (e.g. some special value in data-sort-value, or some special attribute) in sortable wikitables so that a column can have a set of values where certain values (let’s call them “not applicable for this column”) that are always sorted at the bottom if we press the sorter arrows for that column. I read the documentation for the sorter but I couldn’t tell if I’m trying to do something that’s not possible. Thank you in advance! Alıƨsi (talk) 18:25, 20 June 2025 (UTC)
Loss of summary input
[edit]In editing in Commons, there is the Edit summary field at the bottom left of the panel that formerly listed previous summaries that I have used. I could then choose one string and use it or choose one and modify it. I put my cursor over the first position of the Edit summary field and click the left button of my mouse to retrieve the list. Such a list still appears in English Wikipedia and also in Commons when renaming a category. It only fails when editing a Commons category. Also, when I key a text into this field, it no longer spell checks that text. Any help fixing this is appreciated. Hmains (talk) 18:21, 4 July 2025 (UTC)