Tech
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).
Please sign by entering four tildes (~~~~) or by clicking on the signature icon ; this will automatically produce your name and the date.
Getting Details Of Videos and Audio From the API[edit]
Dear,
I'm writing to follow up on my API call results. While I was able to successfully retrieve images and descriptions for my search keyword.
API: https://en.wikipedia.org/w/rest.php/v1/search/page?q=World&limit=2
I couldn't locate any information related to audio files & a video files.
Could you please clarify if audio & video files are included in the API response for this particular search? If not, is there another way to access audio & video files related to my search keyword on this platform using Specific API?
Thank you! UsmanKhanLodhi (talk) 07:29, 11 March 2024 (UTC)
OpenStreetMap does not work anymore[edit]
I have noticed that OpenStreetMap does not work in any wiki, including Commons, Wikipedia, Wikidata etc. Instead of showing a dynamic map from OpenStreetMap, it shows a white screen. I have noticed this thing in commons:Category:Kolkata and also in wikidata:Q1348. Sbb1413 (he) (talk • contribs) 18:41, 25 March 2024 (UTC)
- Works for me. AntiCompositeNumber (talk) 01:26, 26 March 2024 (UTC)
- I have now opened commons:Data:Lok Sabha constituencies/2019/West Bengal/Kolkata Uttar.map and it still shows a white screen without any dynamic map. Sbb1413 (he) (talk • contribs) 14:35, 26 March 2024 (UTC)
- Map works fine here. Please check for relevant errors in your web browser's developer tools (network tab and console tab), and/or try a different web browser and/or internet connection. --AKlapper (WMF) (talk) 15:10, 26 March 2024 (UTC)
- Thanks, it works! I've removed the following code in commons:User:Sbb1413/commons.js:
- Map works fine here. Please check for relevant errors in your web browser's developer tools (network tab and console tab), and/or try a different web browser and/or internet connection. --AKlapper (WMF) (talk) 15:10, 26 March 2024 (UTC)
- I have now opened commons:Data:Lok Sabha constituencies/2019/West Bengal/Kolkata Uttar.map and it still shows a white screen without any dynamic map. Sbb1413 (he) (talk • contribs) 14:35, 26 March 2024 (UTC)
importScript('User:Kanonkas/twinkle.js');
mw.loader.load('//fr.wikipedia.org/w/index.php?title=Mediawiki:Gadget-KartoEditor.js&action=raw&ctype=text/javascript');
- Sbb1413 (he) (talk • contribs) 15:17, 26 March 2024 (UTC)
- However, after refreshing the webpage, the problem comes back. Sbb1413 (he) (talk • contribs) 15:20, 26 March 2024 (UTC)
- See my previous comment: Please check for relevant errors in your web browser's developer tools (network tab and console tab), and/or try a different web browser and/or internet connection. --AKlapper (WMF) (talk) 15:53, 26 March 2024 (UTC)
- However, after refreshing the webpage, the problem comes back. Sbb1413 (he) (talk • contribs) 15:20, 26 March 2024 (UTC)
- Sbb1413 (he) (talk • contribs) 15:17, 26 March 2024 (UTC)
Mediawiki latest file download problem[edit]
Anyone can gave me the solution of mine problem, because i downloaded the mediawiki and the file is corrupted. 72.255.3.43 10:01, 26 March 2024 (UTC)
- Wrong place; see mw:Project:Support_desk instead (and provide way way more information there). --AKlapper (WMF) (talk) 15:09, 26 March 2024 (UTC)