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.
In the most recent version of MediaWiki, I noticed that the space between lines got reduced. I tried to search for the logs but could not find it. Is there something that has been fixed? Note that I am on mobile browsing using the desktop interface. This only affect Vector 2022 with Small font size set in the "appearance" menu. ToadetteEdit (talk) 08:51, 15 May 2025 (UTC)
- I believe this was related to the bug phab:T394305 and it should now be fixed. Quiddity (WMF) (talk) 19:30, 16 May 2025 (UTC)
TranslateTagger: Adds a toolbar button above the edit form to automatically insert <translate> tags around any untranslated text using the TranslateTagger API hosted on Toolforge.
This is already available as a gadget on MediaWiki.org, and the request is to enable it as a gadget on Meta-Wiki as well.
Reference: Gadget list on MediaWiki.org
Script used: Gadget-TranslateTagger.js
Tool: https://translatetagger.toolforge.org/ Gopavasanth (talk) 07:57, 16 May 2025 (UTC)
Hi. 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)
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)
it'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)
Stephen 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)
I 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)