Jump to content

Tech

Add topic
From Meta, a Wikimedia project coordination wiki

Fehler [e9012b466b1436590a45e549 ]Wikimedia\Rdbms\DBQueryError

[edit]

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

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)Reply
Es IST ein Wikimedia Wiki DasSvenson (talk) 15:10, 22 August 2024 (UTC)Reply
@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)Reply

numbers in Wikidata

[edit]
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

Commons Main Page not loading with dark mode css

[edit]

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

@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)Reply
Thank you, I've gone ahead and disabled the style —Matrix (user page (@ commons) - talk?) 13:46, 27 August 2024 (UTC)Reply

Where can I view the complete list of Newcomer task articles?

[edit]

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

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

Android development

[edit]

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

[edit]
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

[edit]

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?

[edit]

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