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.
Watchlist
editHi. Was there any change of code right now? Saturday 19:00 UTC. Because I suddenly get a huge hole in my Watchlist, because of
client-js .mw-rcfilters-collapsed.mw-special-Watchlist .mw-rcfilters-head {
min-height: 220px;
}
I can, of course, add
mw.util.addCSS('.client-js .mw-rcfilters-collapsed.mw-special-Watchlist .mw-rcfilters-head {min-height:initial !important}')
but I'd really be glad to know from whence it came. Thank you. IKhitron (talk) 19:10, 31 May 2025 (UTC)
- Filed at phab:T395847. Quiddity (WMF) (talk) 22:05, 2 June 2025 (UTC)
Hi,
On fr.voy, the grey 'Éditer' (French for 'edit') link after each bullet point no longer works. Examples: voy:fr:Aigues-Mortes, voy:en:Biarritz... The JavaScript does not open the listing editor (the 'Éditer' at the end of each element on all pages that use this). In addition, after the section title, there is a 'Ajouter un élément de listing' (French for 'Add listing') button to add a listing element.
I don't know how long this problem has existed. This problem does not exist on en.voy or de.voy.
This is a local script issue, there is an error on console: "Uncaught TypeError: regexResult is null" from voy:fr:MediaWiki:Gadget-ListingEditor.js line 1264. This can only be fixed by interface admins.
Thank you,
Fourmidable (talk) 15:14, 2 June 2025 (UTC)
- @Fourmidable See https://fr.wikivoyage.org/wiki/Spécial:Liste_des_utilisateurs?group=interface-admin for people to contact. Thanks. AKlapper (WMF) (talk) 15:57, 2 June 2025 (UTC)
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)
Request for a "cite" feature in mos.wikipedia.org
editit's difficult for volunteers to reference due to lack of "cite" feature in mos.wikipedia.org. Volunteers have to struggle to toggle around source edit to use <re></ref> before they can get statements referenced. We request that cite feature should be added to the visual edit to improve its user friendliness. We count on the developers to install the cite and reference feature on the site so it would improve volunteers contribution, makes referencing faster, easier and saves time. Volunteers do not get frustrated when referencing. Most volunteers are not conversant with source edit. Moreso, it makes training volunteers easy and reduces errors in referencing.Hasslaebetch (talk) 20:39, 5 June 2025 (UTC)
- @Hasslaebetch the basic option to insert references (and re-use existing ones) is available on VisualEditor in every project.
- I guess you are asking for mw:VisualEditor/Citation tool and mw:Citoid/Enabling Citoid on your wiki?
- Note that both features require citation templates. It appears your wiki has a local version of template:cite web but I didn’t see other citation templates? Johannnes89 (talk) 21:08, 5 June 2025 (UTC)
- Yes sure. But we have a challenge applying it on our site on mos.wikipedia.org
- We will appreciate if we are helped out Hasslaebetch (talk) 21:19, 5 June 2025 (UTC)
- As there are no local admins on your project I'll try to set it up myself. Johannnes89 (talk) 09:21, 6 June 2025 (UTC)
- @Hasslaebetch I've imported mos:Template:Cite book and mos:Template:Cite web from English Wikipedia along with transcluded templates to make sure everything works correctly. I've created mos:MediaWiki:Cite-tool-definition.json and mos:MediaWiki:Citoid-template-type-map.json in order to set up the VE citation tool. I didn't include more citation templates because I didn't want to overcomplicate things. Let me know if you need anything else. You might want to do some clean-up work, e.g. some parts of the documentation are enwiki specific and could be removed (as long as you don't remove the en:WP:TemplateDate), other parts of the documentation could be translated to your wiki's language. Johannnes89 (talk) 10:29, 6 June 2025 (UTC)
- This has worked perfectly well. Our challenge has been solved. I have tried some referencing and it works so well. We are grateful for the swift response. Hasslaebetch (talk) 12:16, 7 June 2025 (UTC)
- @Hasslaebetch I've imported mos:Template:Cite book and mos:Template:Cite web from English Wikipedia along with transcluded templates to make sure everything works correctly. I've created mos:MediaWiki:Cite-tool-definition.json and mos:MediaWiki:Citoid-template-type-map.json in order to set up the VE citation tool. I didn't include more citation templates because I didn't want to overcomplicate things. Let me know if you need anything else. You might want to do some clean-up work, e.g. some parts of the documentation are enwiki specific and could be removed (as long as you don't remove the en:WP:TemplateDate), other parts of the documentation could be translated to your wiki's language. Johannnes89 (talk) 10:29, 6 June 2025 (UTC)
- As there are no local admins on your project I'll try to set it up myself. Johannnes89 (talk) 09:21, 6 June 2025 (UTC)
foto wijziging
editStephen Payne (scheepsarchitect) - Wikipedia ik wil de slechte foto vervangen van stephen, ik heb zelf beter foto's gemaakt. wat/hoe moet ik dat doen? Navalart (talk) 10:52, 6 June 2025 (UTC)
Keyboard shortcut issue
editI often use Alt + Shift + S to publish changes. However, It now opens Bing Visual Search in Windows 11. How to overcome this issue? Sbb1413 (he) (talk • contribs) 16:05, 6 June 2025 (UTC)
Qual é o motivo Dessa ação, e porquê? 2804:214:818C:A691:AC19:80FF:FED6:A043 16:35, 6 June 2025 (UTC)
- Não falo português. Você pode falar em inglês? Sbb1413 (he) (talk • contribs) 16:48, 6 June 2025 (UTC)
- I often want to work as efficiently as possible, and that's why I use MediaWiki shortcuts like Alt + Shift + S. However, the f-wording Windows 11 replaced that particular shortcut with Bing Visual Search, which is annoying. Sbb1413 (he) (talk • contribs) 16:52, 6 June 2025 (UTC)
Broken ogg files
editHi! 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
editI’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)