Jump to content

Tech

Add topic
From Meta, a Wikimedia project coordination wiki
This is an archived version of this page, as edited by Gryllida (talk | contribs) at 13:30, 1 October 2024 (Shared hosting - Function phpinfo() is not available: Reply). It may differ significantly from the current version.

numbers in Wikidata

Screenshot meta2
Screenshot commons
Screenshot wikidata
Screenshot meta

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)Reply

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)Reply
@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)Reply
latest changes, some features What changes? What features? --Matěj Suchánek (talk) 17:00, 23 August 2024 (UTC)Reply
@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)Reply
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)Reply
@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)Reply
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)Reply
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)Reply
@Matěj Suchánek Is there a solution to this problem? Mohammed Qays (talk) 08:06, 31 August 2024 (UTC)Reply
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)Reply
‏Maybe @Michel Bakni can explain the idea to you better. Mohammed Qays (talk) 17:58, 1 September 2024 (UTC)Reply
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)Reply
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)Reply
@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)Reply
  • 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)Reply
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)Reply
@Mohammed Abdulai (WMDE) Screenshots at the top you can see them. Mohammed Qays (talk) 12:51, 5 September 2024 (UTC)Reply

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)Reply

OOUI icons currently not loading or appearing in projects

Tracked in Phabricator:
Task T374180

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)Reply

@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)Reply
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)Reply
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)Reply
Thanks for the report! task T374180 Jon (WMF) (talk) 23:48, 5 September 2024 (UTC)Reply
Should now be fixed. Jon (WMF) (talk) 00:29, 10 September 2024 (UTC)Reply

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)Reply

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)Reply

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)Reply

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)Reply

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) (talkcontribs) 17:02, 30 September 2024 (UTC)Reply

Articles translated with the tool are automatically tagged. So you can use tagfilter to get them: https://w.wiki/BNJ3 and https://w.wiki/BNJ5Ammarpad (talk) 17:59, 30 September 2024 (UTC)Reply

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)Reply

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)Reply