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).
Please sign by entering four tildes (~~~~) or by clicking on the signature icon ; this will automatically produce your name and the date.
Pdf-Extension/ Upload
editGood 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)
Getting "Other review tools" in Recent Changes page to default to be visible?
editAt 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
editI'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)
Wikipedia articles with Content Translation
editIs 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
editHello,
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
edittrying 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)
Request for Assistance: Phabricator Account Disabled
editI would like to request assistance regarding my Phabricator account, which appears to be disabled. I am still able to access my Wikipedia account without issue, but when I attempt to log into Phabricator, I receive the following message: “User is Disabled. You cannot send an email login link to this email address because the associated user account is disabled.”
To the best of my knowledge, I have not violated any of Wikimedia’s policies, and I am unsure why my account was disabled. I would greatly appreciate it if you could provide further clarification or guidance on the matter. If my account was disabled due to inactivity or any other reason, I would like to request its reactivation so that I can continue contributing to Wikimedia projects.
Here are my account details for reference:
Phabricator Username: TeiteiPara
Wikipedia Username: Teitei para
Lai Tei (Teitei) (talk) 19:37, 6 October 2024 (UTC)
- @Teitei para Hi, best to bring up Phabricator issues on the Phabricator talk page which is linked from the Phabricator front page. I had disabled your account because of phab:T244280 which looked like non-constructive activity at that time. I now re-enabled your Phabricator account. AKlapper (WMF) (talk) 19:59, 6 October 2024 (UTC)
- @AKlapper (WMF) Thank you for re-enabling my Phabricator account and for clarifying the reason behind its previous disablement.
- I wanted to mention that I was relatively new to Phabricator at the time of the activity related to phab.
I appreciate your understanding, and I am learning more about how to contribute constructively within the platform. I will be sure to follow the guidelines more closely moving forward. - If there’s any additional advice or resources you could recommend for newcomers to better navigate Phabricator, I would greatly appreciate it.
- Thank you again for your support! Lai Tei (Teitei) (talk) 20:19, 6 October 2024 (UTC)
- @AKlapper (WMF) Thank you for re-enabling my Phabricator account and for clarifying the reason behind its previous disablement.
Searching redirects from mainspace to categoryspace
editI want to search redirects from mainspace to categoryspace in Wikimedia Commons, but can't find one. Same for Bangla Wikipedia and other Wikimedia projects I'm active in. Sbb1413 (he) (talk • contribs) 12:18, 7 October 2024 (UTC)
- What do you mean by "can't find"? There are 43095 in Commons, 40 in Bengali Wikipedia and 0 in English Wikivoyage. IKhitron (talk) 13:45, 7 October 2024 (UTC)
- @IKhitron: I used Special:Search to find such redirects, and I wasn't aware that there was a tool for them. Sbb1413 (he) (talk • contribs) 14:29, 7 October 2024 (UTC)