Tech/Archives/2024
Please do not post any new comments on this page. This is a discussion archive first created in 2024, although the comments contained were likely posted before and after this date. See current discussion or the archives index. |
Lua equivalent of mw:API:Categorymembers?
I'm working on commons:Module:Tricolor, and it would be useful if I could generate a list of all the direct subcategories of commons:Category:Combinations of 3 colors. It seems like the categorymembers API does something in this vein for JavaScript, PHP and Python. Is there a way to access this information from a Lua module? —CalendulaAsteraceae (talk • contribs) 09:18, 25 December 2023 (UTC)
- @CalendulaAsteraceae: I don’t think there is. Due to the complexity invalidating the right caches, it’s not that easy to implement a such function – a problem that doesn’t exist when using the action API. —Tacsipacsi (talk) 21:22, 25 December 2023 (UTC)
- Thank you, that's good to know! —CalendulaAsteraceae (talk • contribs) 07:52, 2 January 2024 (UTC)
CSS help for this page
I've made Tech/Header use CSS (Tech/Header/styles.css), which makes the page code look nicer and fixes the appearance of the "Ask a question" button. Based on the note at the top of the header page which says "this page contains changes which are not marked for translation" I assume I need to do something to make the changes propagate to this page; what is it? —CalendulaAsteraceae (talk • contribs) 08:41, 2 January 2024 (UTC)
- Thanks for the improvements! The interface message is referring to an action that only Meta:Translation administrators can do, and one of them has done so. Thanks again. Quiddity (WMF) (talk) 23:46, 5 January 2024 (UTC)
HotCat gadget not working on hy.wikipedia
Hi! On Armenian wikipedia (hywiki) HotCat gadget is not working since January 5, 2024.
Please can you help to solve this problem!
Thank you in advance! Kareyac (talk) 16:59, 5 January 2024 (UTC)
- @Kareyac: See mw:Help:Locating broken scripts for how you can investigate the problem yourself. Or maybe phab:T354416 is related. --AKlapper (WMF) (talk) 07:36, 6 January 2024 (UTC)
- AKlapper (WMF), thank yu again. - Kareyac (talk) 07:45, 6 January 2024 (UTC)
search problems at Wk-kbd
Hi. On Kabardian wiktionary the palochka is causing problems with search. The problem is that they use the Unicode characters for cap and l.c. palochka, but people using the search engine will generally use the digit '1' or a capital Latin 'I' (occasionally Ukrainian Cyrillic 'I' or Latin l.c. el). These are not treated as equivalent by the engine, so no search results are returned. I assume the solution would be similar to how straight/curly quotes are treated, or apostrophe for Hawaiian okina. Where would be the proper place to go for this?
Thanks, Kwamikagami (talk) 23:54, 6 January 2024 (UTC)
- @Kwamikagami: Following mw:How to report a bug and filing a feature request against CirrusSearch. --AKlapper (WMF) (talk) 08:18, 7 January 2024 (UTC)
- Thank you! Kwamikagami (talk) 08:24, 7 January 2024 (UTC)
Admin Access Request
Hello,
IT sent me over here to request admin access for http://lists.wikimedia.org/. As part of the onboarding process, Ops adds new hires to that site. Please advise.
Thank you,
Ally Stariha AStariha-WMF (talk) 20:29, 19 January 2024 (UTC)
- @AStariha-WMF Hi, I do some maintenance on lists.wikimedia.org. To my knowledge, a super admin account can't create new users. We don't have admin accounts for the whole site (only superadmin which has a pretty large access). If you want to add emails for new hires to some mailing lists (and remove them in case of offboarding), you don't even need to create an account for them, you can just add the email address directly. You just need to be admin in some mailing lists (like wmfreqs-l, etc.) and I can take care of that.
- TLDR: What is your specific usecase and I can help you get it done. ASarabadani (WMF) (talk) 15:05, 22 January 2024 (UTC)
I cannot vote
I have been trying to hit the vote button for Turkmen's Steward campaign, but the message will not show up. Is my account not actually eligible to vote or is it something else? GoutComplex (talk) 15:11, 6 February 2024 (UTC)
- @GoutComplex: You could try to manually cast a voce clicking on "Edit" if you're not able to see the script (maybe your javascript is disabled) :) --Superpes15 (talk) 15:14, 6 February 2024 (UTC)
- @GoutComplex: Ah, just noticed, the right page is this one :) Superpes15 (talk) 15:16, 6 February 2024 (UTC)
- Some users had such problems last year as well. The peculiarity is that all these users had few or 0 local edits. I think this happening because users are not autoconfirmed. In this case, need to add vote manually, through "Edit", yes. ❄️Mykola❄️ 15:21, 6 February 2024 (UTC)
Adding comments and quotes by the visual editor
I don't have the button to add comments and quotes. I really need this, and I'm pretty new to using mediaWiki. Would appreciate help. Nchmn (talk) 21:43, 12 February 2024 (UTC)
Question about using the MediaWiki API to edit pages
I want to use the MediaWiki API to edit pages. And when:
- My query parameters include "token" (CSRF token), it told me "The following parameter was found in the query string, but must be in the POST body: token."
- When I move it to the body of the POST, 'The "token" parameter must be set.'
- No matter how I use it, it responds with a 301 error.
Is it something wrong with the server? Or my code... The content below is my code(in Dart):
final headers = { 'User-Agent': 'WikiApp/1.0 contact: [email]', 'Authorization': 'Bearer $credentials', }; final code = await http.post( Uri( scheme: 'https', host: fullServerName, path: '${wgScriptPath}api.php', queryParameters: { 'action': 'query', 'meta': 'tokens', 'format': 'json', }), ); var data = code.body; final Map wikiTOC = jsonDecode(data); String token = wikiTOC['query']['tokens']['csrftoken']; final apiUrl = Uri( scheme: 'https', host: wgServer, path: '${wgScriptPath}api.php', queryParameters: { 'action': 'edit', 'format': 'json', 'title': PageName, 'summary': 'Edited via MyApp', 'text': textContent, 'token': token, },); final response = await http.post( apiUrl, headers: headers, );
--Creamycd (talk) 06:44, 17 February 2024 (UTC)
- By the way, the full code has been MITed to GitHub--Creamycd (talk) 08:58, 17 February 2024 (UTC)
Sorry, wrong place --Creamycd (talk) 09:01, 17 February 2024 (UTC)
Getting Details Of Videos and Audio From the API
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
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
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)
en.wikt: Request for list of pages by time usage
Please see [1]. Here on Wiktionary we have the problem that some pages occasionally runs out of time for a while, usually until someone performs a null edit on the page. So I thought a list of pages that use a lot of time would be helpful. I figured that there are some Special Pages that generate lists of entries, so perhaps my requested information could be generated similarly. --Kc kennylau (talk) 21:29, 30 March 2024 (UTC)
- There is a slow parse log but im not sure its public. Maybe someone with access can give you a list filtered to enwikt. Bawolff (talk) 21:44, 7 April 2024 (UTC)
Disable hiding the sidebar for anonymous users in Vector 2022
Hi,
I want to change default Vector 2022 behavior for anonymous users and make is the same as for logged in users. By default, wiki hides the sidebar with every new page load, and displays the TOC. We want to achieve the following: - Keep the sidebar open by default - Keep the table of contents hidden by default
Failing that, is there any way to maybe move the table of contents back inline (into main content area, as it was in the previous version of Vector) or maybe push the table of contents under the sidebar? We created custom navigation for our wiki content and placed in the sidebar, but we need to keep the sidebar open for users. What can we do to keep the sidebar and do something to move the TOC out of the way? 193.77.83.38 08:34, 9 April 2024 (UTC)
- Hi, see the page header: Tech-related questions about third-party wikis should be asked at mw:Project:Support desk. Thanks, --AKlapper (WMF) (talk) 09:00, 9 April 2024 (UTC)
- Sorry, missed that. I moved the question, thank you. 193.77.83.38 12:36, 9 April 2024 (UTC)
Search Results Metadata Issue on Wikimedia or Infobox
I conducted a search for "Solar eclipse of 2024 April 8" in English on Wikimedia, expecting an accurate page description.
Here are the search results for the page and search results for the Category.
However, the metadata provided was in languages such as Spanish, Hungarian, Basque (I think), and German. Additionally, no image was displayed for the page with the metadata. Both instances show strange metadata in unrelated languages, alongside the presence of code like "<nowiki> 2024ko 8ko," which is counterintuitive and requires attention.
Results for other pages appear normal; it's just these two pages that are affected.
Metadata:
Solar eclipse of 2024 April 8
<nowiki>eclipse solar del 8 de abril de 2024; 2024. április 8-i napfogyatkozás; 2024ko apirilaren 8ko eguzki eklipsea; eclipse solar del 8 d'abril de 2024; Sonnenfinsternis...
The page seems to be using {Wikidata Infobox}. The description on the page appears to be the names of the corresponding page as listed on Wikidata at d:Q2620078. It's unclear why this template is pulling in data in this manner.
I suspect the issue might not be caused by a software malfunction but rather by an error in the infobox code or user-provided data.
Can you please address this issue? Thank you. AceSeeker (talk) 17:44, 14 April 2024 (UTC)
Renderization of symbol "not greater than"
Depending on the browser, the LaTeX alternative is the only one which correctly overlays the slash over the angle bracket:
- Poor-man's: 1≯ 2
- Unicode: 1≯2
- HTML: 1≯2
- LaTex:
On Windows, it works in Firefox but it doesn't work in Chrome.
- Would it be possible to make it work in any browser? Otherwise, fellow editors are suggesting rewriting everything in LaTeX. Previous discussions:
Thanks! Fgnievinski (talk) 18:02, 10 April 2024 (UTC)
- FTR, the first three techniques are all effectively the same, just using U+226F. Beland (talk) 01:44, 12 April 2024 (UTC)
- Just for the record, the input text is different: Fgnievinski (talk) 12:55, 12 April 2024 (UTC)
- It seems to me that this is due to incomplete support of these characters in one or more of the fonts of Windows (which happens to be used by Chrome). I don't have Windows, but there is no guaranteed way of fixing this, other than outputting images. It should be noted however that latex input is switching to mathml (non-image) output, so switching everything over to latex does not seem like a good idea. Better is to complain with Microsoft to fix their fonts, or problems like these will never be fixed. —TheDJ (talk • contribs) 09:25, 15 April 2024 (UTC)
- It works in Firefox for Windows. Fgnievinski (talk) 02:12, 16 April 2024 (UTC)
- The best way to fix it would probably be for Wikipedia to ship a font including all of the necessary math glyphs, and list it first in CSS. Jacobolus (talk) 03:42, 20 April 2024 (UTC)
┌─────────────────────────────────┘
Escalated here: en:Wikipedia talk:Manual of Style/Mathematics#Not-greater-than rendering problems. Fgnievinski (talk) 04:40, 18 April 2024 (UTC)
Broken century format - Occitan Wikipedia
Hi,
So the Occitan Wikipedia has started using Modèl:Infobox Persona, pulling information from Wikidata. When only the century of a person's birth is known on Wikidata, such as Aliç de Montmorencí, we want it to say "sègle XII" and link to the twelfth century. Yet somehow it instead says "sègle de 12", and links to the YEAR TWELVE! I've been poking and prodding the code and Translatewiki and can't figure this out. Can someone please help me?
Best, Briantin de Montrei (talk) 07:29, 24 April 2024 (UTC)
- It's since been fixed. All good! Briantin de Montrei (talk) 07:23, 25 April 2024 (UTC)
Spaces in Lua
Hello. Is there a way to throw an error in Lua with consequent spaces? I want to do something like
error('The name "New York" is not correct, please use "New York" instead')
but none of regular tricks I try do not help. Thank you. IKhitron (talk) 12:48, 24 April 2024 (UTC)
- @IKhitron: I guess what you want is not "make this code work", but "make the error render with multiple spaces" (since multiple spaces in HTML are always reduced to one).
- For example, you could replace multiple spaces with underscores or non-breaking spaces (but these will probably be escaped on render) with code like
mw.ustring.gsub(str, string.rep(' ', 2) .. '+', function (m) return string.rep('_', #m) end)
- Isn't it possible to just make the code sanitize the input and accept multiple spaces? --Matěj Suchánek (talk) 16:25, 28 April 2024 (UTC)
- Thanks for your answer. This is fine, but not enough, unfortunately. For now, I've replaced them by "<multiple spaces>", and it's not enough either.
I could sanitize it, of course, but in this particular case I prefer a non-ambiguous input. IKhitron (talk) 16:51, 28 April 2024 (UTC)
- Thanks for your answer. This is fine, but not enough, unfortunately. For now, I've replaced them by "<multiple spaces>", and it's not enough either.
Search bar disappeared
There used to be a search bar where I could search for whatever I want. However, the search bar is no longer present in any wiki, and the search button is also non-functional. I have to go to Special:SpecialPages to search. Sbb1413 (he) (talk • contribs) 05:44, 1 May 2024 (UTC)
osm4wiki - new version in progress
My tool osm4wiki shows coordinates on an OpenStreetMap map and is used by
- Vorlage:All Coordinates
- Vorlage:Hinweis Seiten-Koordinaten
- Vorlage:CoordinatesPage
I started to write this tool in 2011 and it is time to update it.
- if too many locations are close together, the markers shall be replaced by an ellipse which shows the number of replaced markers.
- I replace the tool "kmlexport" and include its functions into my tool.
- The tool "kmlexport" is able to search for coordinates up to three levels, that means it is able to search for coordinates in an articel which was linked by another article which was linked by another article which was linked by the article where "kmlexport" was invoked. If I understand correctly, the actual versions of the above mentioned templates have only the option "linked = 1" which means that there is only one level available. I agree with this limitation totally!
- The old version of my tool had to wait until "kmlexport" had collected all coordinates from linked pages before it could start working, and this may take long time. The new version shall show the coordinates from the first linked page, then it adds the coordinates from the second linked page and so on. Perhaps this takes a little bit longer than before, but the user can see that something is happening!
- New markers with shadow :)
The new version is under development on my own server. There are only a few articles linked as example but you can get an idea how it works: Test links
Have fun! --Plenz (talk) 20:05, 2 May 2024 (UTC)
Custom local buttons in WikiEditor panel get inserted in random unpredictable order in Chechen Wikipedia
Buttons of connected gadgets, for example, a Wikificator after renewal. Pages are mixed in the middle and back to the right. In Russian, all the gadget buttons on the left. Mozilla Firefox browser. Can't you make them stay in its place? 195.19.124.253 20:41, 8 May 2024 (UTC)
- I wrote this! Takhirgeran Umar (talk) 20:51, 8 May 2024 (UTC)
Email: $wgSMTP not working
Hello With $wgSMTP i have a problem, it ist not working. I don't know from which update- status this happens. For sure this was working in march 2024.
I get this error-message if i wnat sent a email: Failed to connect to tls://smtp-mail.outlook.com:587 [SMTP: Failed to connect socket: (code: -1, response: )]
to the History i can tell that before i use 1und1. I got a Hotmail adress taking the parameters and i got the above error message. I switched back to the old konfiguration and find out, getting the same error massage (see above)
Version: MW 1.39.7
LocalSettingsparameter. $wgSMTP = array(
'host' => 'tls://smtp-mail.outlook.com', // could also be an IP address. Where the SMTP server is located 'IDHost' => 'Sokradia von CC-Zeitlos', // Generally this will be the domain name of your website (aka mywiki.org) 'port' => 587, // Port to use when connecting to the SMTP server 'auth' => true, // Should we use SMTP authentication (true or false) 'username' => 'sokradia@hotmail.com', // Username to use for SMTP authentication (if being used) 'password' => 'XXXXX' // Password to use for SMTP authentication (if being used)
);
Can somebody help to this topic Sokradia (talk) 05:56, 11 May 2024 (UTC)
- Please see the notice at the top of this page. This page only provides support for issues related to a Wikimedia wiki. — JJMC89 (T·C) 18:54, 11 May 2024 (UTC)
- Thank you for this help.
- With this parameters it is working for Outlook/Hotmail.
- 'host' => 'smtp-mail.outlook.com', // could also be an IP address. Where the SMTP server is located
- 'IDHost' => 'Sokradia von CC-Zeitlos', // Generally this will be the domain name of your website (aka mywiki.org)
- 'port' => 587, // Port to use when connecting to the SMTP server
- 'auth' => true, // Should we use SMTP authentication (true or false)
- 'username' => 'sokradia@hotmail.com', // Username to use for SMTP authentication (if being used)
- 'password' => 'XXXXX' // Password to use for SMTP authentication (if being used)
- for Outlook there is no need take the TLS with.
- I not understand really because the port 587 is used for TLS. but it seems that for Outlook they are using STARTTLS which is not supported by the PHP-Server.
- I use PHP 8.2.xx
- Thanks a lot Sokradia (talk) 05:19, 12 May 2024 (UTC)
- This is NOT THE PLACE FOR THIRD-PARTY WIKI SUPPORT. Read the header and ask at the appropriate place. You won’t get an answer here. —Tacsipacsi (talk) 19:25, 12 May 2024 (UTC)
Registration date
Hi, I registered on EN Wikipedia at 04:24, 12 October 2007, yet CentralAuth shows Registered: 00:18, 28 February 2012 (12 years ago). I understand that the reason given is always that the account became a global account, But why does it have to be like this? A registration date is what it is, and the global account date decreases the precision of registration time. I hope it changes. Mystrixo (talk) 06:56, 10 May 2024 (UTC)
- You registered in a time before registration dates were being tracked. As you didn't have activity between 2007 and 2012, it cannot give a more accurate date for your account registration unfortunately. —TheDJ (talk • contribs) 09:40, 13 May 2024 (UTC)
Are you going to migrate to Jetpack Compose for the android app?
Maybe this is the wrong place but I think that migrating to Jetpack Compose would be a good idea for making the code more simple and "modern" because it's the new and recommended way by Android to build android apps with it. Richard5ADev (talk) 19:03, 13 May 2024 (UTC)
- I don’t know if it’s planned, but you’ll probably get an answer more quickly on mw:Talk:Wikimedia Apps. By the way, my opinion is “don’t fix it if it’s not broken”: it may make sense to write new things with Compose, or even rewriting parts that need to be touched anyway, but touching code only to rewrite it from XML to Kotlin has no real benefit, but has the potential for introducing regressions. —Tacsipacsi (talk) 20:36, 14 May 2024 (UTC)
elwiktionary problem on mobile screens, when displaying English nouns
Hello, please see https://el.wiktionary.org/wiki/farm how it looks on a mobile screen. For my phone/browser it displays the word "ουσιαστικό" (=noun) vertically. I reported this to https://phabricator.wikimedia.org/T365322 (see print screens there) and they concluded:
- in the phone that the user tried, it worked ok (while I tried two browsers on my phone and it had the same problem)
- This needs fixing on the local wiki by editing its local content
Amazingly, this happens only for English nouns ! I suppose it is due to the el:wikt:template:ουσιαστικό, which is employing el:wikt:module:PartOfSpeech. This is as far as I can help. Thank you in advance. FocalPoint (talk) 08:13, 19 May 2024 (UTC)
- I replied on Phabricator: I believe it’s a bug in the Minerva Neue skin, not in your templates. —Tacsipacsi (talk) 09:50, 19 May 2024 (UTC)
- M Tacsipacsi, thank you for your immediate response. Probem (mobile view only, reported at https://imgur.com/a/Wxbn7dp) is with all tables-floating-right (languages are irrelevant) when they are over a Level3...etc with equal.symbols whether it includes text or a template. When we reduce width of browser the table suddenly jumps to left with a 100% width border. I am so sorry, that I do not know how to make the borders properly (because I do not know how to have flexible, non restrictive width). I have tried here
- Example: https://el.m.wiktionary.org/wiki/farm or https://el.m.wiktionary.org/wiki/proper_noun with its border at https://el.m.wiktionary.org/wiki/Template:decl-sg-pl
I did the L3-titles-with-templates nobreak like at https://el.wiktionary.org/wiki/Template:ετυμολογία or at https://el.wiktionary.org/wiki/Module:PartOfSpeech (diff) but the border problem is at the table.styles. Also 2 examples at https://el.m.wiktionary.org/wiki/σοφία (2nd table's styles at https://el.wiktionary.org/wiki/Module:grc-nouns-decl#L-185 ) We do not have any interface admin, or any programmer around. If this cannot be fixed, mobile viewers could...?? zoom out? choose landscape view? Köszönöm again for your response at https://phabricator.wikimedia.org/T365322 Sarri.greek (talk) 10:34, 19 May 2024 (UTC)
- PS notifying MM AKlapper_(WMF), Jdlrobson, Tacsipacsi Concerning overall all floats at mobile (portrait) view @el.wiktionary (examples above), especially the problematic right floats discussued at https://phabricator.wikimedia.org/T365322 We have thousands of pages with such rightfloat tables. Would it be possible, to cancel right floats at all el.wiktionary for mobile view? Unfortunately our https://el.wiktionary.org/wiki/MediaWiki:Common.css is archaic, and there is no interface administrator to apply any update. We thank you very much for your concern. Sarri.greek (talk) 05:00, 21 May 2024 (UTC)
Alerte de connexion avec une nouvelle adresse IP
Hi there,
I received many alert messages about a connexion from a different ip address.
I have a question about this : 1°) Can the message language be written in the user's favorite language or bydefault in english. But not in italian.
2°) Can you attach to the message some data like date and hour of the connexion, and the IP address from the connexion.
Thank you for your attention. GPZ Anonymous (talk) 11:20, 28 May 2024 (UTC)
Instance of User, string instead
Hi, I am creating a video permissions extension for my wiki. I keep getting this error and not sure how to go about fixing it. [81e16b69894234cb8a025ff0] /wiki/Special:Upload TypeError: Argument 2 passed to VideoPermissionsHooks::onUploadVerifyUpload() must be an instance of User, string given, called in /var/www/html/w/includes/HookContainer/HookContainer.php on line 338 Timmysworld (talk) 20:45, 29 May 2024 (UTC)
- Please see the notice at the top of this page. This page only provides support for issues related to a Wikimedia wiki. — JJMC89 (T·C) 20:51, 29 May 2024 (UTC)
new account disappeared
I set up my first new account in GnuCash and I am so upset because after saving it several times, it deleted the entire account and I know have to start over. 136.175.74.84 17:09, 1 June 2024 (UTC)
- Hi. You are in the wrong place. We have nothing to do with GnuCash. AKlapper (WMF) (talk) 17:45, 1 June 2024 (UTC)
MediaWiki wiki: How do I link to non-{Github,Gitlab,SourceForge,Bitbucket} git forges?
I've (very) recently created an extension (CustomSearchProfiles), and put it up on the MediaWiki wiki. However, I use a git forge that's not Github, Gitlab, SourceForge, or Bitbucket. What template would I use to link to the source code repository? BlankEclair (talk) 08:01, 1 June 2024 (UTC)
- @BlankEclair: you should ask this at mediawiki.org's Village pump. Legoktm (talk) 14:56, 2 June 2024 (UTC)
Full path to thumbnails in text
My site is version 1.40.1 and is in /var/www/html/site. Mediawiki and the images file is in /var/www/html/mediawiki-1.40.1. I have a symbolic link wiki->/var/www/html/mediawiki-1.40.1 in /var/www/html. My site httpd conf file includes the statement "Alias "/wiki" "/var/www/html/wiki"
When I upload an image the thumbnails are created properly under the images directory. When I try to display a thumbnail, using
the url for the image is given with the full file path: "https://site.org/var/www/html/wiki/images/thumb/4/45/Mass_6_12_2020.jpg/200px-Mass_6_12_2020.jpg"
I do not see why "/var/www/html" appears in this link? Without it I get the correct thumbnail. Any suggestions? Wbean43 (talk) 21:33, 5 June 2024 (UTC)
- Please see the notice at the top of this page. This page only provides support for issues related to a Wikimedia wiki. — JJMC89 (T·C) 22:11, 5 June 2024 (UTC)
- Thanks. Didn't understand the terms. Wbean43 (talk) 23:20, 5 June 2024 (UTC)
CAPTCHA
@Franvj . Ikusmen arazoak ditut eta ezindua naiz, ezin dut ondo ikusten CAPTCHA agertzen den testua eta ezin izan ditut hainbat edizio egin. Franvj (talk) 00:51, 12 June 2024 (UTC)
Skin Vector (2010)
Hi. What has happened to Section headings: Heading 3. It looks bigger and bolder as a while ago? Too big and too bold doesn't match the orher headings, imho.-- Htm (talk) 19:32, 18 June 2024 (UTC)
- @Htm Hi, I believe this might be related to the 2nd entry in last week's Tech/News/2024/24, about heading changes. Please could you add a comment to phab:T13555 along with a specific example link? (An example will help people investigate which wiki/page you saw a problem at, and perhaps determine if the change you see is related to any local site-CSS/template-CSS that needs to be updated.) It might also help if you could check a page without any gadgets, to see if it looks the same, e.g. https://fi.wikipedia.org/wiki/Kuu?useskin=vector&safemode=1 -- Thanks, and I hope that helps. Quiddity (WMF) (talk) 21:16, 18 June 2024 (UTC)
- Okay, I'll follow your instructions. Thanks a lot!-- Htm (talk) 21:35, 18 June 2024 (UTC)
- Problem solved. Obviously local (=fiwiki) gadget "Pienoisohjelma poistaa 3.4.2014 typografiapäivityksessä tulleen kirjasintyypin muutoksen" ("gadget removes font change made in typography update 2014-04-03". Removed it. Our friendly and competent Stryn helped. -- Htm (talk) 08:12, 19 June 2024 (UTC)
Change of license on WikiNews
Hi! I'm trying to coordinate that Wikinews upgrade license from cc-by-2.5 to cc-by-4.0 (n:Wikinews:Water_cooler/policy#Sum_up_per_march_2024). However, it is not easy to get other users involved and I think one reason is noone knows how to change.
So I hope it will be easier if I can tell each wiki that all they have to do is to edit these pages (and andd a list).
On English Wikinews I identified a number of pages to possibly change: n:Wikinews_talk:Copyright#Pages_to_update_when_license_is_updated_from_2.5_to_4.0. However on Polish Wikinews it seems that the setup is different per n:pl:Wikinews:Kawiarenka#Zmiana_licencji_-_Update_of_license_to_cc-by-4.0. (At the bottom it says "Content is available under Creative Commons Attribution 2.5 unless otherwise noted." meaning it is localized via TranslateWiki.
I also asked on wmf:Policy_talk:Terms_of_Use#Does_ToU_require_that_Wikiprojects_update_license? some time ago. But since deadline is getting near I try here too. MGA73 (talk) 07:16, 8 June 2024 (UTC)
- What deadline? (This isn't quite a technical question. The technical part is rather easy, the policy/legal side less so.) Nemo 09:03, 8 June 2024 (UTC)
- Nemo The suggested deadline is currently August 1, 2024. I'm happy to hear it is easy to change. I hope it will be easier for each community to decide if I can tell them how to make the change and show them that it is quite easy. --MGA73 (talk) 12:13, 8 June 2024 (UTC)
- Nemo If you have time to explain what to edit it would be very helpful. --MGA73 (talk) 15:54, 14 June 2024 (UTC)
Does anyone know? --MGA73 (talk) 06:54, 23 June 2024 (UTC)
- @MGA73 It would require a configuration change in https://phabricator.wikimedia.org/source/mediawiki-config/browse/master/wmf-config/InitialiseSettings.php$10828 and an edit to n:MediaWiki:Copyrightwarning. AntiCompositeNumber (talk) 02:04, 25 June 2024 (UTC)
- AntiCompositeNumber Thank you very much! --MGA73 (talk) 07:03, 25 June 2024 (UTC)
remove my info
Hi, I have looked all over your site to remove personal information. There was a link and as soon as I clicked it - it disappeared. I cannot find a place to contact you. Where is your email contact or location to process opting out of having my personal info on your site. 2603:8001:9502:672C:A84E:8C2C:62D8:3D24 19:42, 7 July 2024 (UTC)
- Hi. There a few options depending on what kind of information you are talking about:
- If you are asking about a user-account, please see Right to vanish
- If you are asking about public-but-personal information within an article on a Wikipedia, for example an article about yourself as a notable individual, please see the related guidance on the specific language Wikipedia. E.g. at the English Wikipedia: w:en:Wikipedia:Contact us/Article subjects - Other languages generally have a similar "Contact us" link in the site-menu, which is either at the side of the page, or collapsed within a menu.
- If you are asking about removing non-public personal information, please see the relevant Oversight page on the specific project. E.g. at the English Wikipedia: w:en:Wikipedia:Oversight.
- For future non-technical questions, the best place to ask is usually the Help Desk of the relevant project (E.g. English Wikipedia's w:en:Wikipedia:Teahouse). I hope that information is helpful. Regards, Quiddity (WMF) (talk) 19:52, 8 July 2024 (UTC)
MinT translation suggestions
Hi, is is possible to hide these MinT translation suggestions? They are awful at least when translating from English to Finnish. There are so many errors in suggestions that it makes me feel bad when I see them. Can I hide them someway because I don't need them? Stryn (talk) 08:17, 7 July 2024 (UTC)
- Hi @Stryn. Thanks for the question. I'll ask the Language team to respond here. Quiddity (WMF) (talk) 19:32, 8 July 2024 (UTC)
- Thanks for sharing your feedback @Stryn. A simple approach to hide those suggestions could be to edit the common.css file under your user profile. There you can edit the page to add the following code:
.tm-suggestions .tm-suggestion:last-child {
display:none;
}
Pginer-WMF (talk) 13:34, 16 July 2024 (UTC)
Technical problem
Why have edit links disappeared from the Wikivoyage Derby page? 80.41.101.244 11:33, 24 July 2024 (UTC)
- Which Deby page? The English one at voy:en:Derby? See its | edit history. Malyacko (talk) 11:37, 24 July 2024 (UTC)
Mobile site showing main page title
Hello, On the mobile site of Sd Wiki, the main page's title is visible when logged out. It should be removed as it looks odd and most wikis dont have such titles now, i asked in phabricator and the refer me here, screenshot is available here, anybody will help? Arslanali (talk) 16:23, 25 July 2024 (UTC)
- As I wrote in Phabricator, see mw:Manual:FAQ#How do I hide the main page title? for a start. If something is unclear or blocking you from fixing this, please explicitly describe what is unclear/blocking and why, so someone could help. Thanks a lot!, --AKlapper (WMF) (talk) 16:30, 25 July 2024 (UTC)
- I added css as per instructions here on line 19, but it didn't work. Arslanali (talk) 16:40, 25 July 2024 (UTC)
- Please dont hide this via CSS. This is bad practice. Follow the instructions Andre gave you and modify sd:MediaWiki:mainpage-title to be empty. Jdlrobson (talk) 02:32, 28 July 2024 (UTC)
- Thanks, resolved after hiding dash in sd:MediaWiki:mainpage-title. Arslanali (talk) 20:34, 28 July 2024 (UTC)
- Please dont hide this via CSS. This is bad practice. Follow the instructions Andre gave you and modify sd:MediaWiki:mainpage-title to be empty. Jdlrobson (talk) 02:32, 28 July 2024 (UTC)
- I added css as per instructions here on line 19, but it didn't work. Arslanali (talk) 16:40, 25 July 2024 (UTC)
Created account in error and want to delete
Apologies, but I thought MediaWiki was something else and created an account. I want to delete this account as I have no intention of using MediaWiki and don't want any possible links to the platform. Is it possible to delete my account? I realize deletions can disrupt data, but I have entered nothing, published nothing, edited nothing. Thanks for your assistance and apologize for the inconvenience. MariucciAus MariucciAus (talk) 13:06, 31 July 2024 (UTC)
- You can request your username to be removed at Special:GlobalVanishRequest. Matma Rex (talk) 13:10, 31 July 2024 (UTC)
We have mediawiki 1.24.2 on CentOS 7 machine. Now we need to migrate to a Rocky 9 machine. What's the migrate steps?
We have mediawiki 1.24.2 on CentOS 7 machine. Now we need to migrate to a Rocky 9 machine. What's the migrate steps? Step2024 (talk) 16:17, 6 August 2024 (UTC)
- @Step2024: See the banner above: "Tech-related questions about third-party wikis should be asked at mw:Project:Support desk." See mw:Manual:Upgrading. --AKlapper (WMF) (talk) 17:35, 6 August 2024 (UTC)
Pending changes
Hi, is it possible to protect a page with pending changes? I’m working on https://ww2airops.miraheze.org/wiki/List_of_Air_Operations_in_September_1939 but can only semi or fully protect the page. Is pending changes an option and if so how to I do it? (The account name is different because miraheze wouldn’t let me use this one for some reason). Thanks. REDMAN 2019 (talk) 13:11, 13 August 2024 (UTC)
- @REDMAN 2019: Hi, see above: Tech-related questions about third-party wikis should be asked at mw:Project:Support desk. We do not run Miraheze wikis. --AKlapper (WMF) (talk) 13:15, 13 August 2024 (UTC)
Links to mediawiki pages redirects to main mediawiki site
Hi, we are in the process to update our mediawiki to the latest release, however when jumping to 1.35 from 1.27 we noticed that when trying to access some pages as http://servename/mediawiki/index.php/Company_GmbH_Co._KG will cause a 301 Moved Permanently redirection to http://servename/mediawiki/index.php/mainsite.
In 1.42 the same is happening.
Where is this redirection coming from and how to avoid it?
Noindicaotro (talk) 06:55, 15 August 2024 (UTC)
- @Noindicaotro: Hi, see above: Tech-related questions about third-party wikis should be asked at mw:Project:Support desk. --AKlapper (WMF) (talk) 08:25, 15 August 2024 (UTC)
- Now I am getting this message at mw:Project:Support desk: "This board is protected. Only autoconfirmed users can participate. Reason: Vandalism. High traffic page." Noindicaotro (talk) 08:55, 15 August 2024 (UTC)
Getting extra letters with javascript
Hello, I would like to know what are the limitations to get custom letter on keyboard combination, e.g. ō on alt+q or ô on ctrl+alt+1, using common.js. I tried and it works with combination alt+shift well, but somehow most another combinations, like shift+q, doesnt worked (the text field losted focus and console printed only the numbers 1 and 2).
Motivation: as administrator of a small wikipedia I would like to provide a user friendly solution to use our custom alphabet. Alternative solutions used so far are copy-pasting or usage of autohotkey, but it requires installation of external software and configuration, which makes the entry threshold to the project very high, especially for older people, which our minority language project targets.
Thank you in advance Krol111 (talk) 22:41, 15 August 2024 (UTC)
- @Krol111: In my understanding that's what the Input Method Configuration of mw:Universal Language Selector is supposed to solve, instead of fiddling with custom local JavaScript. mw:Wikimedia Language and Product Localization#Follow our work and connect with us might be able to provide some additional support. --AKlapper (WMF) (talk) 04:36, 16 August 2024 (UTC)
- @Krol111, I can make a nicely-managed Silesian keyboard for you.
- Combinations with Alt and Ctrl are not very reliable in JavaScript, so I recommend using what we successfully used in many other languages: typing a letter and then typing ~ (tilde) and a character that looks similar to the diacritic. For example:
- ŏ <- o~(
- ō <- o~-
- ô <- o~^
- õ <- o~{
- ã <- a~{
- ů <- ~u
- Comments:
- ů is simply ~u because it's the only diacritic on u, unlike o, which has several diacritics.
- The tilde on õ and ã are with { because the tilde itself is already used for something else. It's a bit weird, but I see that you don't use these letters often anyway, so I hope it's not a big deal.
- I recommended ( for ŏ, but you can choose something else.
- The code for this is on GitHub: https://github.com/wikimedia/jquery.ime
- Some time after it's merged on GitHub, it will be deployed on Wikipedia. (Usually it takes up to two weeks.)
- I also recommend reading mw:Manual:Adding_and_removing_languages#jquery.ime.
- Every new addition of an input method (also known as keyboard mapping) must include:
- The rules themselves, under rules/
- Tests, in the fixtures files under tests/
- Language and input method registration in src/jquery.ime.inputmethods.js
- Recent example: https://github.com/wikimedia/jquery.ime/pull/786/files
- Also, it would be nice if you could create a mw:Phabricator task to track this work.
- Good luck, and let me know if you need more help! Amir E. Aharoni (talk) 12:52, 16 August 2024 (UTC)
- Thank you both for your time and great instruction! Typing with tilde is a great idea. In the next days I will try to implement it. For now, I am going to write an Phabricator ticket. See you! Krol111 (talk) 15:10, 16 August 2024 (UTC)
Fehler [e9012b466b1436590a45e549 ]Wikimedia\Rdbms\DBQueryError
Guten Tag,
ich habe die Extension IC Forms Installiert, und bereits ein Formular angelegt, man kann es ausfüllen, allerdings kann dies nicht gesendet werde, in den Spezialseiten der Extension kommt der oben genannte Fehler, ich habe mich damit beschäftigt und sämtliche Datenbanken geprüft, ein Update Funktioniert nicht, auch eine neu Instalations des ganzen Systems hat nicht geklappt, hat jeman eine idee oder eine Lösung? DasSvenson (talk) 14:52, 22 August 2024 (UTC)
- Please see the notice at the top of this page. We do not provide support for non-Wikimedia wikis here. — JJMC89 (T·C) 14:54, 22 August 2024 (UTC)
- Es IST ein Wikimedia Wiki DasSvenson (talk) 15:10, 22 August 2024 (UTC)
- @DasSvenson: It isn't. Maybe you installed the MediaWiki software, but on your own server. It's not a server run by Wikimedia so it is not a Wikimedia wiki. --AKlapper (WMF) (talk) 15:25, 22 August 2024 (UTC)
- Es IST ein Wikimedia Wiki DasSvenson (talk) 15:10, 22 August 2024 (UTC)
Commons Main Page not loading with dark mode css
I pushed some dark mode fixes to c:Template:Main Page Template/styles.css. These changes were reflected in other language versions of the Main Page such as c:முதற் பக்கம் (Tamil), but not in c:Main Page itself. I tried purging, and c:User:Matrix/sandbox4 has the exact same wikitext yet it works with dark mode. I don't have any Commons/global css, and I've checked c:MediaWiki:Common.css, but I can't find a reason why.
Note: To get dark mode on Commons, first change skin to Vector 2022, then go to Settings > Beta features and turn on Accessibility features. Dark mode should be on the right sidebar. —Matrix (user page (@ commons) - talk?) 10:41, 26 August 2024 (UTC)
- @Matrix: There are some overly specific night mode styles that apply to the main page; see mw:Extension:WikimediaMessages#Disabling styles for how to get rid of them, you need to opt out of
theme-night-mainpage
. (On Commons, the situation is complicated by the fact that whether a page counts as the main page depends on the UI language. https://commons.wikimedia.org/w/index.php?title=முதற்_பக்கம்&uselang=en indeed works as you expect, but https://commons.wikimedia.org/w/index.php?title=முதற்_பக்கம்&uselang=ta doesn’t. Which is yet another reason to get rid of these styles on Commons.) —Tacsipacsi (talk) 00:00, 27 August 2024 (UTC)- Thank you, I've gone ahead and disabled the style —Matrix (user page (@ commons) - talk?) 13:46, 27 August 2024 (UTC)
Where can I view the complete list of Newcomer task articles?
A brand new editor at en-wiki (registered yesterday) has 28 article edits, 23 reverted, of which 22 are tagged Newcomer task. In order to help the newbie in optimal fashion, I need to know what articles are on the list, for each difficulty level (presumably, these were all the easiest level). Where can I view the complete list of articles that might be suggested as a Newcomer task? Ideal would be a page (or wikitable) updated daily or weekly, with the top one thousand articles for each level. Alternatively, if the information is stored in a db table somewhere, I am fine if you just link the id of a Quarry query I can run to retrieve an article list.
If these are tailored per user in some fashion, it would be great to have a tool where I could enter the id of an arbitrary user, and view the newcomer tasks that are being proposed to them. Also very useful would be a search box, where I could type in the name of one article, and it would return either boolean, or better, level number, if it was on one of the lists. (Note: the edit notice at mw:Help talk:Growth/Tools/Newcomer Tasks appears to discourage questions there, and links here for support instead; hence the choice of venue.) Thanks, Mathglot (talk) 04:26, 29 August 2024 (UTC)
- @Mathglot Sorry to hear that Newcomer tasks didn't seem to provide this new editor with the help they needed. And thanks for taking the time to look into this issue further!
- The easiest way to see Newcomer tasks is to enable the Newcomer Homepage via: Special:Preferences. Check the box next to "Display newcomer homepage", save, and then visit: Special:Homepage. From the newcomer perspective "Newcomer tasks" are called "Suggested Edits". However, this will provide you with a view of the feed of Suggested Edits, not a list of articles that may be surfaced as a Suggested Edit. The current default tasks for new editors on English Wikipedia are the "Copyedit" task and the "Add links between articles" task. So I suppose you can create an approximate list based on the maintenance templates identified here: Special:CommunityConfiguration/GrowthSuggestedEdits.
- English Wikipedia Admins can also adjust those templates and other settings as needed.
- You can also see a broad overview of Suggested Edit task counts here: Special:NewcomerTasksInfo, but I don't think that's giving you the info you are looking for.
- Also very useful would be a search box, where I could type in the name of one article, and it would return either boolean, or better, level number, if it was on one of the lists.
- I agree. I don't think this is currently possible, but perhaps this is something we should consider supporting in the future. I'll chat with engineers about this idea. KStoller-WMF (talk) 21:02, 30 August 2024 (UTC)
Android development
I would like to develop an app that, when on my wiki a notification is received, pushes the notification to my Android device. Please see the discussion in mw:Topic:Ybc3xn63mxmx7v0t. Thanks. Gryllida 05:31, 3 September 2024 (UTC)
numbers in Wikidata
When browsing Wikidata in Arabic, I find that the numbers are written in Indian numerals instead of Arabic numerals (123). Is it possible to change this option, and in other projects as well (Commons, for example)? Mohammed Qays (talk) 09:53, 23 August 2024 (UTC)
- Wikidata-specific problems can be reported to d:Wikidata:Report a technical problem. I think this one is already in the works and should be announced soon: phab:T338115. --Matěj Suchánek (talk) 14:38, 23 August 2024 (UTC)
- @Matěj Suchánek The issue is related to the latest changes, some features of WikiData, and even in Meta and MediaWiki. Mohammed Qays (talk) 14:49, 23 August 2024 (UTC)
- latest changes, some features What changes? What features? --Matěj Suchánek (talk) 17:00, 23 August 2024 (UTC)
- @Matěj Suchánek The issue is related to the latest changes, some features of WikiData, and even in Meta and MediaWiki. Mohammed Qays (talk) 14:49, 23 August 2024 (UTC)
- @Matěj Suchánek Can you see the images and the red color and why these appear with these numbers even though Arabic numbers are the default numbers for Meta and the rest of the projects? Mohammed Qays (talk) 17:28, 23 August 2024 (UTC)
- I can. In fact, I misread your original complaint. I thought you were expecting Indo-Arabic numerals when the interface is in Arabic as that is, in my opinion, the expected behavior. --Matěj Suchánek (talk) 10:10, 24 August 2024 (UTC)
- @Matěj Suchánek These are Arabic numbers (0, 1, 2, 3, 4, 5, 6, 7, 8, 9) and these are Indian (٠، ١، ٢، ٣، ٤، ٥، ٦، ٧، ٨، ٩).
- We need to change it to Arabic as it currently exists in Arabic Wikipedia. Mohammed Qays (talk) 10:17, 24 August 2024 (UTC)
- I can. In fact, I misread your original complaint. I thought you were expecting Indo-Arabic numerals when the interface is in Arabic as that is, in my opinion, the expected behavior. --Matěj Suchánek (talk) 10:10, 24 August 2024 (UTC)
- @Matěj Suchánek Can you see the images and the red color and why these appear with these numbers even though Arabic numbers are the default numbers for Meta and the rest of the projects? Mohammed Qays (talk) 17:28, 23 August 2024 (UTC)
- Hi Mohammed Qays, The only solution I know of is to change that from the MessagesAr.php file ($digitTransformTable array), This will affect all wikis that use MediaWiki, so I suggest opening a vote on this. Thanks-- Gerges (talk) 12:54, 25 August 2024 (UTC)
- Thank you @Gerges I ask the colleagues to help where I can open a vote on these amendments; @Matěj Suchánek Mohammed Qays (talk) 13:08, 25 August 2024 (UTC)
- @Matěj Suchánek Is there a solution to this problem? Mohammed Qays (talk) 08:06, 31 August 2024 (UTC)
- Gerges seems to have outlined one. I'm not sure, though. I am having trouble understanding what the actual problem is and whether it is just a matter of personal preference. --Matěj Suchánek (talk) 17:22, 1 September 2024 (UTC)
- Maybe @Michel Bakni can explain the idea to you better. Mohammed Qays (talk) 17:58, 1 September 2024 (UTC)
- Hello @Matěj Suchánek,
- This is a solution to a problem and not a personal preference. There is a large Arabic population of north Africa, who can not read numbers written with Indian characters. That is why we strictly use Arabic numbers in Arabic Wikipedia, and not because it is Arabic.
- Today in Wikidata, some numbers are shown in Indian characters, making the interface useless for many Arabic people. It is essential to unify the numbers used to writing numbers, and we can keep the door open for people to prefer Indian characters to develop their own add-ons. Michel Bakni (talk) 10:40, 2 September 2024 (UTC)
- Thank you, @Michel Bakni.
- There is a large Arabic population of north Africa, who can not read numbers written with Indian characters.
- Now this explains a lot and serves well as a description of the general problem.
- I think this general problem is already known, based on existing tasks phab:T368193, phab:T300983, phab:T268632, phab:T117215, phab:T64725 and probably more in Phabricator. The solution will likely need to be language-based, rather than project-based, since Wikidata (Commons, Meta...) is a multilingual project, and coordinated with the WMF Language team.
- we strictly use Arabic numbers in Arabic Wikipedia
- Knowing how this was achieved could help.
- --Matěj Suchánek (talk) 17:17, 2 September 2024 (UTC)
- @Matěj Suchánek: This is a common problem in Arabic Wikipedia, and the last time it was addressed was in July 2024, when the proposition was to change Arabic numbers and use Indian numbers instead. The summary was to keep using the Arabic numbers because many people from North Africa, who added {{oppose}}, complained in the discussion that they could not understand Indian numbers, you can see the discussion here. If you dig more in the Archive you can find that it is a frequent issue. Michel Bakni (talk) 19:34, 2 September 2024 (UTC)
- Maybe @Michel Bakni can explain the idea to you better. Mohammed Qays (talk) 17:58, 1 September 2024 (UTC)
- Gerges seems to have outlined one. I'm not sure, though. I am having trouble understanding what the actual problem is and whether it is just a matter of personal preference. --Matěj Suchánek (talk) 17:22, 1 September 2024 (UTC)
- @Matěj Suchánek Is there a solution to this problem? Mohammed Qays (talk) 08:06, 31 August 2024 (UTC)
- Thank you @Gerges I ask the colleagues to help where I can open a vote on these amendments; @Matěj Suchánek Mohammed Qays (talk) 13:08, 25 August 2024 (UTC)
- Hi folks. From what we understand (after reading this other conversation d:Wikidata:Report_a_technical_problem#Arabic_numbers), the problem is that when the interface is set to Arabic, numbers are being displayed in Indian numerals (٠١٢٣٤٥٦٧٨٩) instead of Arabic numerals (0123456789), whereas in the Egyptian Arabic interface, the numbers appear as expected in Arabic numerals.
- We want to investigate this further, but we need more details to understand the specifics fully. Could you please provide a screenshot of an article where the numbers are displayed incorrectly, showing the specific piece that's doing it wrong, and a link? This will help us identify where the data is coming from (whether it's generated via Lua, templates, or another source) and whether the problem is related to Wikidata or needs to be fixed somewhere else. -Mohammed Abdulai (WMDE) (talk) 08:17, 5 September 2024 (UTC)
- Hi Mohammed Abdulai (WMDE), The problem is related to the MediaWiki software. In MediaWiki, Indian numbers are defined to be used on Arabic websites by MessagesAr.php. -- Gerges (talk) 10:22, 5 September 2024 (UTC)
- @Mohammed Abdulai (WMDE) Screenshots at the top you can see them. Mohammed Qays (talk) 12:51, 5 September 2024 (UTC)
OOUI icons currently not loading or appearing in projects
I really thought that the icon's slow loading or disappearance is browser-specific or project-specific. Turns out that the issue is happening in other projects, like Commons and Meta-wiki. I don't know which Phabricator task is addressing the issue, so I'm raising it here instead. I tested other skins, and as I deduced, this issue applies primarily or solely to the (newer) Vector 2022. George Ho (talk) 20:16, 5 September 2024 (UTC)
- @George Ho They are appearing to me. Can you share any more details about where you're seeing the problem? Matma Rex (talk) 20:20, 5 September 2024 (UTC)
- Well... I'm using Chrome 109 for Windows 7, the now-unsupported OS. From what I read, MediaWiki still supports Chrome 109 for fifteen or sixteen more months, according to mw:Compatibility. All of the OOUI icons are still not appearing, but the invisible blocks (of those icons) are still appearing, like a number of notifications. George Ho (talk) 20:33, 5 September 2024 (UTC)
- Using Firefox 115, the icons do appear. I guess the issue applies to just one of older versions of Chrome, like Chrome 109. George Ho (talk) 22:44, 5 September 2024 (UTC)
- Thanks for the report! task T374180 Jon (WMF) (talk) 23:48, 5 September 2024 (UTC)
- Should now be fixed. Jon (WMF) (talk) 00:29, 10 September 2024 (UTC)
- Thanks for the report! task T374180 Jon (WMF) (talk) 23:48, 5 September 2024 (UTC)
Pdf-Extension/ Upload
Good Morning. We're trying to install pdfhandler, pdfembed, and msupload on our mediawiki. We're getting only errors and crashes. Additionally, there's no extensions-folder in our installed version (docker container). Is there anybody out there who could provide us with some basic hints? Thanks in advance <3
We're using: MediaWiki 1.42.1 PHP 8.1.29 (apache2handler) ICU 72.1 MariaDB 11.3.2-MariaDB-1:11.3.2+maria~ubu2204 Lua 5.1.5 Pygments 2.17.2 Marttyy (talk) 08:39, 15 September 2024 (UTC)
- This page is only for Wikimedia wikis. Please see the notice at the top of this page for the correct venue. — JJMC89 (T·C) 16:52, 15 September 2024 (UTC)
Wikipedia articles with Content Translation
Is there any way to know which Wikipedia article is translated with Content Translation without looking at the article's history? Since Content Translation is used extensively in Bangla Wikipedia, I want to fix articles translated with Content Translation. Sbb1413 (he) (talk • contribs) 17:02, 30 September 2024 (UTC)
- Articles translated with the tool are automatically tagged. So you can use tagfilter to get them: https://w.wiki/BNJ3 and https://w.wiki/BNJ5 – Ammarpad (talk) 17:59, 30 September 2024 (UTC)
Shared hosting - Function phpinfo() is not available
Hello,
on my shared hosting is phpinfo() disabled for security reason. Since PHP 8 function returns fatal error (previous versions only warning). It is possible to add a function existence check https://php.watch/versions/8.0/disable_functions-redeclare?
MediaWiki 1.42.x - /includes/installer/Installer.php on line 1257
Thanks Navodyc4 (talk) 12:48, 1 October 2024 (UTC)
- 1. It is not for your real question yet is there a reason to use such hosting? w:NearlyFreeSpeech, w:Prgmr are affordable and have this function enabled.
- 2. I understand this question is about your own wiki, not a Wikimedia wiki, correct? Gryllida 13:30, 1 October 2024 (UTC)
Signing in and forgotten info
trying to sign in, using recorded info for doing this with. Not allowing me to do so. 173.186.29.102 20:22, 3 October 2024 (UTC)
Getting "Other review tools" in Recent Changes page to default to be visible?
At the top of the Recent Changes page is a collapsible text named "Other review tools" which is collapsed when you load the Recent Changes. Is it possible to make a gadget so this text does not start in the collapsed state but is visible when you load the page? Dipsacus fullonum (talk) 09:05, 16 September 2024 (UTC)
- This can be done in JavaScript. Would you be interested? Gryllida 13:31, 1 October 2024 (UTC)
- Yes, thank you. I asked because some users on dawiki have requested it. What should the JavaScript do? Dipsacus fullonum (talk) 15:26, 1 October 2024 (UTC)
document.getElementsByClassName('mw-recentchanges-toplinks-collapsed')[0].children[0].click()
- This seems to work. Make it run after the page finished loading. See mw:Manual:Interface/JavaScript#Personal_scripts. Let me know if you need help? Gryllida 05:16, 6 October 2024 (UTC)
- Yes, thank you. I asked because some users on dawiki have requested it. What should the JavaScript do? Dipsacus fullonum (talk) 15:26, 1 October 2024 (UTC)
Supported, compatible accessibility softwares
I've been thinking. Well, actually, I dunno which screen readers and other accessibility softwares are supported. Neither mw:Compatibility nor mw:Accessibility tells me which accessibility softwares are supported other than specific browsers. Is this something I can raise at Phabricator? Is this something that individual projects like Wikipedia can handle by themselves? What about screen readers by major corporations like Microsoft (Narrator), Apple (VoiceOver), and Google (ChromeVox and TalkBack)? George Ho (talk) 17:41, 22 September 2024 (UTC)
- Hi @George Ho Do you have one of these applications and it does not work well? Or is this question about 'what do I recommend to end users'? Thanks. Gryllida 05:18, 6 October 2024 (UTC)
- The latter, i.e. something for end users to use. BTW, I already created Phabricator sub-tasks about whether to support certain screen readers, especially for one here that I didn't create. George Ho (talk) 06:05, 6 October 2024 (UTC)