Tech/Archives/2023
Please do not post any new comments on this page. This is a discussion archive first created in 2023, although the comments contained were likely posted before and after this date. See current discussion or the archives index. |
Adding a white box to the top of the screen
How can I add a white box to the top of the page with JS? Because I've made it so that the personal links and searchbar will follow the screen when I scroll down, and it sometimes gets hard to read the links when there is writing behind it. Thanks. — L10nM4st3r / ROAR at me! 11:09, 27 December 2022 (UTC)
- Does this sound more complex than it is? Basically I want to know how to make a box using JS and add it to the very top of the page (that last bit I can figure out myself though). — L10nM4st3r / ROAR at me! 09:56, 31 December 2022 (UTC)
- Which page? Why JavaScript instead of HTML and CSS? What is the actual underlying problem you want to solve and in which skin (instead of only asking how to implement a possible solution)? --AKlapper (WMF) (talk) 12:34, 31 December 2022 (UTC)
- Ive made the personal links at the top of the page stay at the top even as I scroll down (using css), but I want to add a background so that it can be read, instead of seeing a mess with the content being below it, which makes it really hard to read. (yes, now JS works for me, before you ask) — L10nM4st3r / ROAR at me! 14:39, 31 December 2022 (UTC)
- Have you set a background color via CSS? Where is the code to look at? (For the records, personal links at the top stay when using the Vector 2022 skin.) --AKlapper (WMF) (talk) 16:57, 31 December 2022 (UTC)
- I'm using Monobook for reasons... I cant actually remember xD! When I tried setting the background-color of #p-personal, nothing happened. And there's the issue I moved the searchbar to also stay at the top, so that would need a background so it looks nice. — L10nM4st3r / ROAR at me! 22:54, 31 December 2022 (UTC)
- Yea, I'm just a stubborn lion, so I'm staying on the more familliar looks. Ive used monobook for god knows how long, why change it now? — L10nM4st3r / ROAR at me! 22:58, 31 December 2022 (UTC)
- Because some existing more maintained other default stuff may provide what you want to see. Anyway, where is your code to look at? --AKlapper (WMF) (talk) 16:56, 2 January 2023 (UTC)
- Mostly css code at User:L10nM4st3r/Scripts/MoveSearch.css, which is sorta wrongly named now, but whatever. (I am also using the Monobook skin, btw) — L10nM4st3r / ROAR at me! 22:05, 3 January 2023 (UTC)
- Because some existing more maintained other default stuff may provide what you want to see. Anyway, where is your code to look at? --AKlapper (WMF) (talk) 16:56, 2 January 2023 (UTC)
- Yea, I'm just a stubborn lion, so I'm staying on the more familliar looks. Ive used monobook for god knows how long, why change it now? — L10nM4st3r / ROAR at me! 22:58, 31 December 2022 (UTC)
- I'm using Monobook for reasons... I cant actually remember xD! When I tried setting the background-color of #p-personal, nothing happened. And there's the issue I moved the searchbar to also stay at the top, so that would need a background so it looks nice. — L10nM4st3r / ROAR at me! 22:54, 31 December 2022 (UTC)
- Have you set a background color via CSS? Where is the code to look at? (For the records, personal links at the top stay when using the Vector 2022 skin.) --AKlapper (WMF) (talk) 16:57, 31 December 2022 (UTC)
- Ive made the personal links at the top of the page stay at the top even as I scroll down (using css), but I want to add a background so that it can be read, instead of seeing a mess with the content being below it, which makes it really hard to read. (yes, now JS works for me, before you ask) — L10nM4st3r / ROAR at me! 14:39, 31 December 2022 (UTC)
- Which page? Why JavaScript instead of HTML and CSS? What is the actual underlying problem you want to solve and in which skin (instead of only asking how to implement a possible solution)? --AKlapper (WMF) (talk) 12:34, 31 December 2022 (UTC)
Add pywikibot to API examples?
All (?) of the API pages give examples in mw js, js, php, and python. Would it be worth adding examples in the python framework pywikibot, which is frequently used for creating bots? (Please ping on reply.) Qwerfjkl (talk) 20:58, 18 January 2023 (UTC)
Editing a page to add wikitext into it using JS
How can I write a JS file to automatically add a new talkpage section on a page when you press a button on a userpage? Or is there already a script for this? What I'm trying to do is create a tool to allow reporting users to be blocked, since we have had a wave of LTA attacks on en.wikibooks, and thought a way to report users faster would help us. Thank you. — L10nM4st3r / ROAR at me! 12:49, 24 January 2023 (UTC)
- You can edit pages using
new mw.Api().edit()
: https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw.Api.plugin.edit-method-edit - You can add links to the interface using
mw.util.addPortletLink()
: https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw.util-method-addPortletLink - Matma Rex (talk) 13:22, 24 January 2023 (UTC)
- Thanks! — L10nM4st3r / ROAR at me! 13:34, 24 January 2023 (UTC)
- Ok, I have done most of it (code at https://en.wikibooks.org/wiki/User:L10nM4st3r/ReportUser.js), but I found a bug I want to fix. How can I make sure that I'm not looking at a subpage of the user? Or otherwise get the root page when looking at a subpage? Thanks. — L10nM4st3r / ROAR at me! 14:38, 24 January 2023 (UTC)
- I think you could use the built-in JavaScript methods to see if the page title contains a slash. Something like:
mw.config.get('wgTitle').indexOf('/') === -1
- Alternatively, you could use
mw.config.get('wgRelevantUserName')
instead. This will contain just the user name of the user to whom a page belongs (even on subpages). It is also set when e.g. viewing user contributions, so it might be convenient to use in this case. Matma Rex (talk) 15:20, 24 January 2023 (UTC)- I think it would make more sense to use the second one. Thanks again! — L10nM4st3r / ROAR at me! 15:29, 24 January 2023 (UTC)
- It's going really good now! I have a few questions to make it better:
- 1. I set up a thing that tells the script whether or not the user has already been reported by another user who also used the script. How should I improve it? Should the tag only count if it is newer than a few days? How would I compare two dates to see which one came first? Or do you have a better method to do this than using a comment tag?
- 2. Obviously, you don't need to request a user to be blocked if they are already blocked. How would I check if wgRelevantUser is blocked or globally locked? Or better "unable to make edits on this wiki" as it makes the script more felexible.
- 3. How would I create a popup UI? Using prompt() is ok, but it prevents using preset reasons, which limits how fast it is to use.
- Also any suggestions for anything else welcome. Especially if somebody needs this script on their wiki. — L10nM4st3r / ROAR at me! 21:54, 25 January 2023 (UTC)
- If you stick to using a comment, just include the time in the comment, e.g.,
'<!--USERREPORTED:/' + user + '/' + Date.now() + '/-->'
. Then use a regex likerevision.content.matchAll(RegExp('<!--USERREPORTED:/(.*?)/(\\d+)/-->', 'g'))
and decide. - You need to make an API query, like
action=query&list=users&ususers=L10nM4st3r&usprop=blockinfo
(run it for a blocked user to see what a response for a blocked user looks like). - Most scripts I created [1][2] use a rather outdated jQuery dialog API. Merge.js is an example of OOjs-UI.
- If you stick to using a comment, just include the time in the comment, e.g.,
- --Matěj Suchánek (talk) 09:28, 27 January 2023 (UTC)
- I think it would make more sense to use the second one. Thanks again! — L10nM4st3r / ROAR at me! 15:29, 24 January 2023 (UTC)
- I think you could use the built-in JavaScript methods to see if the page title contains a slash. Something like:
- Ok, I have done most of it (code at https://en.wikibooks.org/wiki/User:L10nM4st3r/ReportUser.js), but I found a bug I want to fix. How can I make sure that I'm not looking at a subpage of the user? Or otherwise get the root page when looking at a subpage? Thanks. — L10nM4st3r / ROAR at me! 14:38, 24 January 2023 (UTC)
- Thanks! — L10nM4st3r / ROAR at me! 13:34, 24 January 2023 (UTC)
Upcoming event
The Tech Department at Wikimedia Foundation [1] invites you to a special event on February 09, 2023, at 1600 UTC [2].
Richard Evans, Electronics & Data Systems Engineer At NASA Glenn Research Center [3], will be presenting on how MediaWiki is being used within NASA to help manage the testing of very large spacecraft to prove they can survive the harsh conditions of launch, orbit, and re-entry.
The management platform is built from MediaWiki and several key extensions that provide workflow support. This evolving platform plans to incorporate the extensions that form the MediaWiki-powered Open CSP platform [4]. This talk will explain the architecture and benefits of the NASA platform and motivate the need for Open CSP.
We’ll also be recording the event to share with those who can’t make it. You can join the event through YouTube [5]. Looking forward to seeing you there,
--on behalf of the Tech Department, Wikimedia Foundation 13:02, 31 January 2023 (UTC). (For follow-ups, please reach out to lnguyen wikimedia.org.)
- [1] https://www.mediawiki.org/wiki/Wikimedia_Technology
- [2] https://zonestamp.toolforge.org/1675958415
- [3] https://www.wikidata.org/wiki/Q618728#sitelinks-wikipedia
- [4] https://www.open-csp.org/Main_Page
- [5] https://youtube.com/live/kBkiNRJPLM8
- (please note that the streaming link was updated.)
Can't log in after restore
I'm trying to recover a wiki that died from unknown causes. I have an SQL dump (the original wiki was an older version), and the original LocalSettings.php file, and I can do the SQL import, copy the directory over (to the current version), and run the installer script. Everything seems to work, except I can't log in using the master admin username I put in during install. And I have no idea why. Taustinoc (talk) 22:38, 8 February 2023 (UTC)
- Hello @Taustinoc - Since this is not about a Wikimedia-hosted wiki, could you please ask at mw:Project:Support desk? Sincerely, —MarcoAurelio (talk) 23:16, 8 February 2023 (UTC)
- My apologies. Thanks. 216.14.62.202 23:20, 8 February 2023 (UTC)
Unusual behavior of Infobox in Santali Wikipedia
Hi, it's being more than 3 months now and I think there is something wrong with infobox in Santali Wikipedia. Compare infobox in English - Narendra Modi (Normal info) and Santali - ᱱᱚᱨᱮᱱᱫᱽᱨᱚ ᱢᱳᱫᱤ (infobox widened in desktop mode). But, it seems to work normal with mobile minerva theme (mobile view). I have still no idea where is the problem. Is it a new feature or a technical issue. ThanksRocky 734 (talk) 13:05, 3 January 2023 (UTC)
- In the series of edits you imported, one change that I made is that I moved the width, which was previously set in w:Module:Infobox, to w:MediaWiki:Common.css. Adding the width there will correct it in the interim.
- The better solution would be to clean up uses of the infobox class so that all of the uses use your equivalent of w:Template:Infobox/Module:Infobox, and then finally move all of the CSS to your equivalent of w:Module:Infobox/styles.css (or maybe have some workarounds for some of the templates there like including the templatestyles directly in those templates). We have 4000 pages on English Wikipedia, so it might be a while for us, but you could get it done much sooner with that quantity. You would probably need to test to see what happens on mobile with that solution, and you would need to look out for new imported pages (mostly templates) that use the class. Izno (talk) 22:16, 3 January 2023 (UTC)
- @Izno Thank you so much for the solution and apology for my late reply. Unfortunately I'm not that techy but I'm still learning to program or coding, I fear that I may break something. Doing vodoo coding is better than doing nothing from my side, and there is no one from our community who is expert at all in these:). If you don't mind can you fix the width issue (if it's a single one click task, infobox in Santali wiki is looking really ugly :-( needs quick action) as far I understand few lines of code needs to be added in the 1st solution. If more effort requires that you have mentioned as a 2nd better solution (that to cleanup the infobox class). Can you throw some steps in points so that I can easily complete it step wise as a beginner for the infobox fix. Rocky 734 (talk) 13:11, 11 January 2023 (UTC)
- @Rocky 734, I cannot do the first option myself. You either need a local w:WP:INTADMIN or if you have none, a steward to do so.
- The high level steps for #2 are documented at w:MediaWiki talk:Common.css/to do#description. You can look at the rest of that page if you need ideas about how to change uses and the Infobox section has some details. Izno (talk) 20:09, 11 January 2023 (UTC)
- @Rocky 734 - I asked @Izno for help and this edit seems to have fixed it. I may not be able to do much more but at least the infobox on desktop seems to look fine. —MarcoAurelio (talk) 22:33, 8 February 2023 (UTC)
- I want to express my gratitude to both of you for helping with this issue. The infobox is displayed correctly in desktop mode. Rocky 734 (talk) 08:37, 12 February 2023 (UTC)
- @Rocky 734 - I asked @Izno for help and this edit seems to have fixed it. I may not be able to do much more but at least the infobox on desktop seems to look fine. —MarcoAurelio (talk) 22:33, 8 February 2023 (UTC)
- @Izno Thank you so much for the solution and apology for my late reply. Unfortunately I'm not that techy but I'm still learning to program or coding, I fear that I may break something. Doing vodoo coding is better than doing nothing from my side, and there is no one from our community who is expert at all in these:). If you don't mind can you fix the width issue (if it's a single one click task, infobox in Santali wiki is looking really ugly :-( needs quick action) as far I understand few lines of code needs to be added in the 1st solution. If more effort requires that you have mentioned as a 2nd better solution (that to cleanup the infobox class). Can you throw some steps in points so that I can easily complete it step wise as a beginner for the infobox fix. Rocky 734 (talk) 13:11, 11 January 2023 (UTC)
Attempting to set up account on phabricator.wikimedia.org
Going to phabricator.wikimedia.org It says:
You must verify your email address to log in. You should have a new email message with verification instructions in your inbox (x.y@[[User:Example.com)|example.com)]] If you did not receive an email, you can click the button below to try sending another one. Button:[Send another mail]
I press the [Send another email] button
It returns:
(WMF motif) Error Our servers are currently under maintenance or experiencing a technical problem. Please try again in a few minutes. See the error message at the bottom of this page for more information. If you report this error to the Wikimedia System Administrators, please include the details below. Request from 123.123.123.123 via cp3064 cp3064, Varnish XID 557038052 Upstream caches: cp3064 int Error: 405, method not allowed at Sun, 12 Feb 2023 22:24:22 GMT
I have tried this several times over the past couple of weeks over a couple of devices ...
Assistance / advice required. Reporting on Phabricator not a problem.
Thankyou.
Deirge Ó Dhaoinebeaga(a)talk 22:28, 12 February 2023 (UTC)
- Best to bring this up on mw:Talk:Phabricator/Help as linked from the Phabricator front page. AKlapper (WMF) (talk) 02:37, 13 February 2023 (UTC)
- Please be aware that there is a possiblity in my mmind the "Ó" in my account name may be contributing to the barf. Because of this possiblity I am (in some ways reluctantly) requesting an account name change on this account but it will retain the prefix "Deirge". Thankyou. -- Deirge Ó Dhaoinebeaga(a)talk 03:38, 15 February 2023 (UTC)
- Given that a second person who has no fancy letters in their name is also complaining of the same thing [3], I'm kind of doubtful its due to the fancy letters. Bawolff (talk) 04:13, 15 February 2023 (UTC)
- The request to change the name of the Deirge Ó Dhaoinebeaga account to DeirgeDel has been granted. Attempts to register by DeirgeDel remain thwarted, with no email being sent. Assistance required please. thankyou. -- DeirgeDel tac 00:47, 17 February 2023 (UTC)
- Done (as far as Wiki is concerned) - I raised the problem on the appropriate place on MediaWiki. Tanks for the link -- DeirgeDel tac 16:23, 17 February 2023 (UTC)
- Given that a second person who has no fancy letters in their name is also complaining of the same thing [3], I'm kind of doubtful its due to the fancy letters. Bawolff (talk) 04:13, 15 February 2023 (UTC)
- Please be aware that there is a possiblity in my mmind the "Ó" in my account name may be contributing to the barf. Because of this possiblity I am (in some ways reluctantly) requesting an account name change on this account but it will retain the prefix "Deirge". Thankyou. -- Deirge Ó Dhaoinebeaga(a)talk 03:38, 15 February 2023 (UTC)
Contributions from Wikimedia servers
Hi,
According to a checkuser, many people surprisingly logged in to Wikipedia, on 29 November 2022, from Wikimedia Foundation servers. Any info? (might be related to User:127.0.0.1).
Thanks.
Apokrif (talk) 22:51, 22 February 2023 (UTC)
- @Apokrif: Looks like it was T324018 — TheresNoTime (talk • they/them) 23:08, 22 February 2023 (UTC)
- @Hyméros: can you please add the link above to the talk page on the French WP? Apokrif (talk) 01:24, 23 February 2023 (UTC)
About the restriction that wikipedia pished on me
Why do I have to be sanctioned for rendering the right sources for any information those people needed. I just edited a little infos on the history of IDL. Why do I have to be punished for that? Adhesivecobra17 (talk) 13:58, 1 March 2023 (UTC)
- It isn't much clear what you are referring to and what technical problems you are facing in particular. --Matěj Suchánek (talk) 19:39, 1 March 2023 (UTC)
Account Deletion Should Be Allowed
I think while account can be easily added, account deletion should also be allowed. This may increase the number of accounts created. Because if there is no account cancellation, there may be those who don't want to become a member. Ekrembjk09 (talk) 22:45, 1 March 2023 (UTC)
- Does Right to vanish cover what you would hope that "deletion" of an account would accomplish? -- BDavis (WMF) (talk) 23:42, 1 March 2023 (UTC)
Customize sidebar for some pages
I want to design a sidebar for particular pages. For example, I have some pages categorized in "Chemistry" and another pages categorized in "Physics". I just want to show "Chemistry" related sidebar and hide "Physics" related sidebar in "Chemistry" pages. Same for "Physics". Is it possible to do this? What kind of extension is needed? Thanks for helping! WentaoXu22 (talk) 06:48, 3 March 2023 (UTC)
- This question is probably better suited for mw:Project:Support desk than this forum, but Extension:DynamicSidebar might work for you. If it does not, try following up at the MediaWiki support desk. -- BDavis (WMF) (talk) 21:49, 3 March 2023 (UTC)
Cite Function an edit window for Mon Wikipedia
Dear all, We would like to ask some help from any of you to install Cite Function in the edit toolbar in Mon Wikipedia from an edit window, where we can click the cite button, which brings down a bar of extra options which the template pulldown menu where we can choose such as cite web, cite news, cite book and cite journal ets. Htawmonzel (talk) 18:09, 6 March 2023 (UTC)
- Hi, see the initial instructions in mw:Topic:Xdvwuqttn98og9cs. --AKlapper (WMF) (talk) 15:04, 7 March 2023 (UTC)
- @AKlapper (WMF) Mon Wikipedia doesn't have people available with the correct permissions. Please help we really need it. Htawmonzel (talk) 16:04, 7 March 2023 (UTC)
- @Htawmonzel: Hi, is the required work on mnw.wikipedia.org already done? A link would be welcome. After that work has been done, see Interface administrators#Requests - thanks! --AKlapper (WMF) (talk) 16:17, 7 March 2023 (UTC)
- @AKlapper (WMF) Mon Wikipedia doesn't have people available with the correct permissions. Please help we really need it. Htawmonzel (talk) 16:04, 7 March 2023 (UTC)
Help Needed
Hello, This is Khattab. I am an interface admin of Bengali Wikiquote. We considered to add a working script as gadget. I added this to Gadget-Defination. But the gadget doesn't work.
I am adding URLs for checking.
- Gadget Defination : https://w.wiki/6SKd (First gadget from editing gadgets)
- JS - https://w.wiki/6SJn & CSS - https://w.wiki/6SKg
খাত্তাব হাসান (talk) 20:27, 13 March 2023 (UTC)
- @খাত্তাব হাসান: Hi, please follow mw:Help:Locating broken scripts to debug, and please explain why you try to load
mediawiki.Title.jquery.ui
and what that is... Thanks! --AKlapper (WMF) (talk) 20:57, 13 March 2023 (UTC)- @AKlapper (WMF) I was trying to find out which dependencies are not being loaded. AI Debugger says that (Maybe It's wrong) there is a JQuery dependency should be loaded. Then I added this. and still not working.
- It's working when I use mw.loader.load but as a gadget, that's not working. I tried for debugging with Chrome, but I am confused why this one is not loading. খাত্তাব হাসান (talk) 11:34, 14 March 2023 (UTC)
- @খাত্তাব হাসান: What is "AI Debugger"? Why would "AI Debugger" know about existing MediaWiki ResourceLoader modules? What makes you think that
mediawiki.Title.jquery.ui
exists? Have you read and followed the steps in mw:Help:Locating broken scripts? If yes, what is still unclear why it is not loading? Thanks, --AKlapper (WMF) (talk) 12:12, 14 March 2023 (UTC)- @AKlapper (WMF) Ok, maybe it is for es8 and es6 conflict. now we (actually only the writer 😒) should work on this script again. Thanks a lot for your time. খাত্তাব হাসান (talk) 17:34, 15 March 2023 (UTC)
- @খাত্তাব হাসান: What is "AI Debugger"? Why would "AI Debugger" know about existing MediaWiki ResourceLoader modules? What makes you think that
How to get MediaWiki installed and my network secured
Hi! I need help to get MediaWiki installed and my network secured. I don´t know how to start. Thanks Vanishingmode (talk) 06:06, 19 March 2023 (UTC)
- @Vanishingmode: Hi, this page is for Wikimedia wikis only. See mw: for installation; see "Post a new question" on mw:Project:Support desk for questions about MediaWiki installations. --AKlapper (WMF) (talk) 06:59, 19 March 2023 (UTC)
Error when trying to delete the user's email address
I go to the page to change or delete the email address, then I do not enter anything in the field to delete the email and click "Change the address", wait a minute somewhere, and I have an error: [11c0ef6f3f17109822258ab9] 2023-04-07 23:31:24: Неустранимое исключение типа «Wikimedia\Rdbms\DBQueryError» What should I do about it? 95.174.119.107 23:37, 7 April 2023 (UTC)
- If this is about a Wikimedia website, then feel free to report a bug in Wikimedia Phabricator with info which website this is about. AKlapper (WMF) (talk) 20:53, 16 April 2023 (UTC)
Graph extension disabled
Yesterday the Wikimedia Foundation noted that in the interests of the security of our users, the Graph extension was disabled. This means that pages that were formerly displaying graphs will now display a small blank area. To help readers understand this situation, communities can now define a brief message that can be displayed to readers in place of each graph until this is resolved. That message can be defined on each wiki at MediaWiki:Graph-disabled. Wikimedia Foundation staff are looking at options available and expected timelines. For updates, follow the public Phabricator task for this issue: T334940
--MediaWiki message delivery (talk) 17:36, 19 April 2023 (UTC)
Portable Infobox Formatting
I migrated a wiki off Fandom. I wanted to use the PortableInfobox class, which does exist as an extension to regular MediaWiki. I'm not sure what's going on here though because the formatting is completely off despite copy-pasting code from Fandom's implementation (which leads me to suspect there's some kind of Fandom-specific CSS going on). I've tried the stock skins with MediaWiki as well--but all rendered incorrectly.
-
Rendered correctly on Fandom...
-
...but totally busted on my MediaWiki.
-
Source code shows text completely outside the intended tags.
The problem of collapsing templates in Georgian Wiktionary
We used this template without any problems in Georgian Wiktionary. This is used in many articles. The template uses collapsible elements. It's been a few weeks now, no more collapsing and the template doesn't work anymore. In general, collapsible elements no longer work. What can be the fault and what can be helped? Thanks. Deu. 10:14, 30 April 2023 (UTC)
- Collapsing is done using JavaScript. I'd try looking for errors, see mw:Help:Locating broken scripts. --Matěj Suchánek (talk) 15:57, 30 April 2023 (UTC)
- In safe mode (all gadgets, MediaWiki-namespace customizations and user styles/scripts disabled), it can be toggled. In normal mode, the toggle is hidden, and I see an error on the browser console: Uncaught ReferenceError: toggleInit is not defined at MediaWiki:Common.js:1167. However, Common.js hasn’t been changed for over two months, so the script error has probably always been there (or at least for a very long time). This means that the bug is in CSS, and may have been caused by phab:T333357. —Tacsipacsi (talk) 19:11, 1 May 2023 (UTC)
What's ideal steps for Upgrading
We are currently in mediawiki-1.34.1
Using Below
We are in :-mediawiki-1.34.1
- PHP Version :- 7.3.17 (cli) (built: May 10 2020 11:38:44) ( NTS )
- MariaDB Version :-5.5.68-1
- In order to remediate all Vulnerabilities We need to upgrade to MediaWiki 1.39 from existing mediawiki-1.34.1.
- As per Wiki We need upgrading of PHP and Maria DB as well.
- PHP 7.4.3+
- MariaDB 10.3.0+
- Can We directly upgrade to 1.39?
If Yes , Do We need to upgrade DB & PHP first in mediawiki-1.34.1 first then proceed with Mediawiki upgrade . Sneel1991 (talk) 21:20, 2 May 2023 (UTC)
- Refer mw:Manual:Upgrading and for support regarding non-wikimedia wiki please ask at mw:Project:Support desk ~aanzx ✉ © 22:17, 2 May 2023 (UTC)
Moving files off Commons to other local wikis -- help required
Moving files from Commons to other wikis in the WMF space is problematic to achieve. There is an OAuth authenticated script at Commons that used to work, though has not for ages as it is failing to authenticate (for me), and asking Magnus to address those tools is less successful these days.
- c:MediaWiki:ExCommons.js script that is loaded by an admin into common.js
- c:Commons:OAuth Uploader the tool to which it authenticates
Basically tries to authenticate, it just never succeeds (error:OAuth is required for this to work. Please click on the link on the right and authorize, then reload this page.) No matter which browser I use.
The need for transferring files off Commons exists. Trying to do this using toolforge on a command line using pywikibot scripts is just bloody painful, especially for what should be an easy task. So I am here looking for solutions on whether we can fix the script; or have an alternate script; alternate authentication; or get a tool on toolforge that can do it more easily. Thanks. — billinghurst sDrewth 00:05, 4 May 2023 (UTC)
- I do see in browser console
GET https://magnustools.toolforge.org/oauth_uploader.php?callback=jQuery36105091596081599123_1683159578287&action=checkauth&botmode=1&_=1683159578288 net::ERR_ABORTED 502 send @
— billinghurst sDrewth 00:24, 4 May 2023 (UTC)
Global blocking
A range of Internet addresses that I usually use have been banned for reasons unrelated to me. But as a result, I lost the ability to edit Wikipedia. What should I do in this case? Dizenter (talk) 06:52, 7 May 2023 (UTC)
- Global blocks/FAQ should help you. --Matěj Suchánek (talk) 08:05, 7 May 2023 (UTC)
Automatic citations based on ISBN are broken
Apologies if this message does not reach you in your favorite language. You can help translate it centrally at Meta. Thanks for your help.
We have recently become unable to access the WorldCat API which provided the ability to generate citations using ISBN numbers. The Wikimedia Foundation's Editing team is investigating several options to restore the functionality, but will need to disable ISBN citation generation for now.
This affects citations made with the VisualEditor Automatic tab, and the use of the citoid API in gadgets and user scripts, such as the autofill button on refToolbar. Please note that all the other automatic ways of generating citations, including via URL or DOI, are still available.
You can keep updated on the situation via Phabricator, or by reading the next issues of m:Tech News. If you know of any users or groups who rely heavily on this feature (for instance, someone who has an upcoming editathon), I'd appreciate it if you shared this update with them.
Elitre (WMF), on behalf of the Editing team.
A1Mon Keyboard in Mon Wikipedia
Hi We from Mon Wikipedia (mnw.wikipedia.org) need help to install A1Mon Keyboard both in the search field and edit page. A1Mon Keyboard is a standard layout widely used in Mon community. The keylayout of A1Mon is her
Mon Simplified Anonta Keyboard is installed in the search field. But only a few people who use it. Htawmonzel (talk) 20:02, 8 April 2023 (UTC)
- @Htawmonzel If this about adding input methods, then see mw:Extension:UniversalLanguageSelector#Adding support for a new key mapping (input method). AKlapper (WMF) (talk) 20:52, 16 April 2023 (UTC)
- Dear @AKlapper (WMF),
- Thank for your reply. Honestly, I am not a techniker and don't know much about it. I don't think it is just about input methods. I think we need to develop it. Htawmonzel (talk) 06:31, 17 May 2023 (UTC)
Empty template variables
Calling a template like this: {{Test|param=}}
, where the template contains {{{param|default}}}
results in an empty value, instead of "default" as expected. Is this a bug or am I doing something wrong?? - Erik Baas (talk) 00:52, 13 May 2023 (UTC)
- No, this is a feature. For example, it allows to distinguish if the parameter was provided empty or not at all. --Matěj Suchánek (talk) 10:15, 13 May 2023 (UTC)
- You can use
{{#if:{{{param|}}}|{{{param}}}|default}}
to get your desired behavior. Legoktm (talk) 15:12, 13 May 2023 (UTC)
- I know, but I'm sure that's not the way it used to work! Where is this "feature" documented? - Erik Baas (talk) 13:32, 20 May 2023 (UTC)
- I'm sure it is. See Help:Template#Parameters and mw:Help:Templates. --Matěj Suchánek (talk) 07:22, 21 May 2023 (UTC)
- I know, but I'm sure that's not the way it used to work! Where is this "feature" documented? - Erik Baas (talk) 13:32, 20 May 2023 (UTC)
Changing Category's font color when hover
Hello guys, I have a big issue, when i want to change the color of a category link with a model or an in line element, the category link remains blue and underligned. I've got the same problem when i am hovering it. I'm using a class that changes the color when the element is hovered but it doesn't work with category's link... (Works with everything else) I somehow found a way to do one out of two. I can either change the color when hovering or change the base color, but not both witch is what i want ahah. I'm using an extension witch adds CSS style sheets (Simple explanation)
My code :
Wikitext :
<templatestyles src="Template:Digital icone/styles.css" />
<ul class="nav">
<li><p><p class="pitie">[[:Catégorie:TEXT | TEXT ]]</p></p></li>
<li><p>TEXT</p></li>
<li><p>TEXT</p></li>
<li><p>TEXT</p></li>
</ul>
My code :
CSS :
.nav {
text-transform: uppercase;
text-align: center;
font-weight: 600;
}
.nav * {
box-sizing: border-box;
transition: all .35s ease;
}
.nav li {
display: inline-block;
list-style: outside none none;
margin: .5em 1em;
}
.nav p {
padding: .5em .8em;
color: rgba(0,0,0,0.5);
position: relative;
text-decoration: none;
font-size: 20px;
}
.nav p::before,
.nav p::after {
content: '';''
height: 14px;
width: 14px;
position: absolute;
transition: all .35s ease;
opacity: 0;
}
.nav p::before {
content: '';''
right: 0;
top: 0;
border-top: 3px solid #b22222;
border-right: 3px solid #b22222;
transform: translate(-100%, 50%);
}
.nav p:after {
content: '';''
left: 0;
bottom: 0;
border-bottom: 3px solid #b22222;
border-left: 3px solid #b22222;
transform: translate(100%, -50%)
}
.nav p:hover:before,
.nav p:hover:after{
transform: translate(0,0);
opacity: 1;
}
.nav p:hover {
color: red;
}
.pitie :hover{
color: red;
}
If somebody has an idea or already encountered this problem, i would be glad to have a clue. Thanks for reading. 193.56.33.6 08:53, 11 May 2023 (UTC)
- Change the line that says
.pitie :hover{
to.pitie:hover, .pitie:hover a {
. Jon Harald Søby (talk) 09:36, 12 May 2023 (UTC)- Thanks for your help, but unfortunately it didn't solve the issue. Category's links remains blue when not hovered and colored when hovered. I am able to change the base color but then hover's properties doesn't work anymore.
- I can't use href, or <img> etc... on my wiki for security (no external link). It's maybe part of the problem since i have to use Wiki's syntax for links.
- Can the base color of links be modified in the global.css ? 193.56.33.6 09:14, 22 May 2023 (UTC)
Requesting help to prepare global.css
I have weak technical knowledge, so I copied User Octahedron80 global.css to be able to use global.css, but I wanted to ask User Octahedron80 about global.css, but I think he's upset with me because I forbade him from mixing Thai-Mon and Mon-Burma vocabularies, but I think that he did not understand the content of the ban on mixing Thai-Mon and Mon-Burma words and became dissatisfied. The reason is that the Mon language has a depth of vocabulary that ordinary people don't know, and the Mon writing of Thai-Mon is very outdated, so I forbade Thai-Mon and Mon-Burma vocabulary to mix (If show me a proof of Mon writing=The Mon people call the Burmese people (Hamaeဟမာ) but Since the pronunciation of (Hamaeဟမာ) cannot be used in Mon literature, it will only be correct to write it as (Bamaeဗၟာ) in Mon literature) as I explained above, it is clear that not everyone knows how deep the Mon language is. My request for technical assistance is as follows, I just want to use the color Pink on my computer screen on the wiki, Please help me with this and edit global.css, thanks.--𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪|𝒯𝒶𝓁𝓀 10:55, 11 May 2023 (UTC)
- @咽頭べさ: What part of the page do you want to be in pink? Jon Harald Søby (talk) 09:30, 12 May 2023 (UTC)
- I would like to use the Ladypinkilicious website form (Reason: as I am a member of NMB48, I want to use the wiki according to the symbol color of the NMB48 group) Please help me in this matter, I will never forget your kindness, thanks. 𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪|𝒯𝒶𝓁𝓀 13:33, 12 May 2023 (UTC)
- @咽頭べさ: It would take a lot of changes to make everything like that, unfortunately. But a start would be to add the following to your global.css:
- Jon Harald Søby (talk) 10:55, 21 May 2023 (UTC)
body { background-color: #f9b8d7; }
- That doesn't work very well, Please see the photo and Please help, thanks.--𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪|𝒯𝒶𝓁𝓀 16:18, 21 May 2023 (UTC)
- I was able to solve this problem, thank you very much for your help. 𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪|𝒯𝒶𝓁𝓀 13:55, 23 May 2023 (UTC)
- I would like to use the Ladypinkilicious website form (Reason: as I am a member of NMB48, I want to use the wiki according to the symbol color of the NMB48 group) Please help me in this matter, I will never forget your kindness, thanks. 𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪|𝒯𝒶𝓁𝓀 13:33, 12 May 2023 (UTC)
Very high replication lag
The XTools edit counter writes: "Replication lag is high: changes newer than 2 days may not be shown". Is it normal? Hári Zalán (talk) 07:00, 27 May 2023 (UTC)
- @Hári Zalán: It's not normal, but it is known and being worked on. See T337446, it's going to take a few more days before its fixed. Legoktm (talk) 07:06, 27 May 2023 (UTC)
- @Legoktm: Thank you for the answer! Hári Zalán (talk) 07:09, 27 May 2023 (UTC)
Edit Notice
I want to set an edit notice for category pages that start with "বিষয়শ্রেণী:বই:". (For example, বিষয়শ্রেণী:বই:হাঁস-মুরগি পালন and বিষয়শ্রেণী:বই:কোয়েল পালন) Is that possible? I have tried, but it didn't work. —MdsShakil (talk) 13:56, 1 May 2023 (UTC)
- I don’t think it’s directly possible, but you could create b:bn:মিডিয়াউইকি:Editnotice-14 (which appears on all pages in the category namespace) with some parser function that determines whether
{{PAGENAME}}
starts withবই:
, and output the edit notice only if it does. (It’s important not to output anything but whitespace otherwise, or the visual editor will show empty edit notices.) —Tacsipacsi (talk) 18:56, 1 May 2023 (UTC)- @Tacsipacsi What kind of parser function can be used that determines whether
{{PAGENAME}}
starts withবই:
? —MdsShakil (talk) 15:16, 11 May 2023 (UTC)- @MdsShakil: You might try
{{padleft:}}
which is parser function-only, but harder to understand; or Scribunto, which can be more expressive for those who understand Lua, but people who don’t understand Lua will probably have no clue how it works. —Tacsipacsi (talk) 08:40, 12 May 2023 (UTC)- I solved it via Lua module. —MdsShakil (talk) 20:07, 1 June 2023 (UTC)
- @MdsShakil: You might try
- @Tacsipacsi What kind of parser function can be used that determines whether
ChatGPT and Cognition
Can ChatGPT and other AI tools develop cognition? Svdhara (talk) 02:20, 6 June 2023 (UTC)
- That's a good question at a wrong venue. --Matěj Suchánek (talk) 07:07, 6 June 2023 (UTC)
Mobile view link in footer displaying in non-English language
As per the title, the footer link for the 'Mobile view' link is no longer being displayed in English language text - and this seems to be happening on all WMF wiki sites from a variety of different WMF projects. I am no expert on languages, but it looks like it is displaying in one of the Indian languages - it is displaying in Punjabi - ਮੋਬਾਈਲੀ ਦਿੱਖ - that is what I am seeing! Can an expert please look into this issue, and advise accordingly? Best. --Militum professio scriniarii (talk) 13:52, 12 June 2023 (UTC)
- It happens regularly, but it's already been fixed. It'll be deployed this week. Reedy (talk) 13:59, 12 June 2023 (UTC)
- Okay, thanks for your speedy reply! Militum professio scriniarii (talk) 14:11, 12 June 2023 (UTC)
Lua error in Mon Wiktionary
In Mon Wiktionary, I did a Module update as per the English Wiktionary format, but encountered an unknown lua error without success, but I have tried many times to solve the lua error, but I can't solve it, I would like to ask for help in checking the Module in Mon Wiktionary, See this wikt:mnw:أي as an example, please help me, thanks.--𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪|𝒯𝒶𝓁𝓀 02:22, 15 June 2023 (UTC)
Wiki deletes my website
I want to comment on something that has been happening for a while now with my website and Wikipedia, our website is constantly removed from Wikipedia but we don't understand why? What rules are we breaking? Our website is: https://williamscancerinstitute.com/ Samantha Jas (talk) 22:16, 15 June 2023 (UTC)
- @Samantha Jas: Nobody can tell if you don't provide a link of an actual "removal". Please also see the History page of whatever page you refer to. --AKlapper (WMF) (talk) 22:38, 15 June 2023 (UTC)
Forced 2 Factor
I was wondering if somebody can assist me. I am working on a project for my company with Mediawiki and we are using OAUTH. I am new to Mediawiki and I was wondering if there was a way to enforce the 2fA and to let it show up once users logs in for the first time they are automatically forced presented the QR code to enable it and after enabling it the user is unable to disable it, except for the sysop. I would truly appreciate any advice on this. 102.39.23.66 08:36, 28 June 2023 (UTC) 102.39.23.66 08:37, 28 June 2023 (UTC)
- Hi, this page is for tech related to a Wikimedia wiki. Please see mw:Communication for support places for third-party MediaWiki installations. Thanks! --AKlapper (WMF) (talk) 08:48, 28 June 2023 (UTC)
Real basic: Is there a template to guide creation of a new biography page?
Or is it better to work with an experienced page editor to create a new page? Bythewayjames (talk) 12:13, 30 June 2023 (UTC)
- @Bythewayjames: I'd say that usually depends on the specific wiki site that you have in mind. --AKlapper (WMF) (talk) 12:44, 30 June 2023 (UTC)
- Wikipedia Bythewayjames (talk) 14:22, 30 June 2023 (UTC)
- @Bythewayjames:Which of the Wikipedias? --AKlapper (WMF) (talk) 14:55, 30 June 2023 (UTC)
- Check out en:Wikipedia:WikiProject_Biography. It's a project where people specialize only in biographies. They should have the best answers. Mutante (talk) 14:57, 30 June 2023 (UTC)
- @Bythewayjames:Which of the Wikipedias? --AKlapper (WMF) (talk) 14:55, 30 June 2023 (UTC)
- Wikipedia Bythewayjames (talk) 14:22, 30 June 2023 (UTC)
Как отметить в статье параграфы. которые вызывают большое сомнение?
Добрый день. Хотела поправить статью о декаденстве, но оказалось, что в ней почти все нужно переписывать. Если есть целые абзацы, которые нужно удалить, их просто удаляют или помечают каким-либо образом? Slovesnost' (talk) 20:36, 3 July 2023 (UTC)
MediaWiki Not opening on another system with same network
Hello, I have create MediaWiki successfully and it's working on the system on which I created. But when I opening on another system with same network connection it not opening. Can anyone help me to figure out the issue? Thank You. 202.3.77.204 16:04, 17 July 2023 (UTC)
- Hi, this page is for tech related to a Wikimedia wiki and not for MediaWiki installations. Please see mw:Communication (and include more information in your followup request in a better suited support forum, including all steps that you performed). Thanks a lot, --AKlapper (WMF) (talk) 16:18, 17 July 2023 (UTC)
Шо Робить Виправити помилку Шаблону?
В українській Вікіпедії створено шаблон під назвою Multiple releases з проблемою Ігнат Лостюк (talk) 11:59, 23 July 2023 (UTC)
- @Ігнат Лостюк: Please always provide links, and steps to reproduce. w:uk:Шаблон:Multiple Releases does not exist. --AKlapper (WMF) (talk) 15:54, 23 July 2023 (UTC)
Adding in a navbox
Hello, I am new to media wiki and I am assisting my professor in setting up a mediawiki for a neurology lab he is creating. We wanted to add in a navbox but I am having trouble with setting it up. I am brand new to wikitext and unfamiliar with coding. I saw this page https://www.mediawiki.org/wiki/Template:Navbox and tried to copy and paste the usage section, but when I published it it did not show as a navbox, just plain text. I am really confused and could use some assistance. Lezynskipb (talk) 01:00, 8 August 2023 (UTC)
- Hi, this page is for tech related to a Wikimedia wiki and not for MediaWiki installations. (Maybe it's because your installation doesn't have css/js extension installed or some other problem, but this is not the place to discuss that. You can mention full details about your problem to mw:Project:Support desk.) Thanks a lot, খাত্তাব হাসান (talk) 12:37, 8 August 2023 (UTC)
Reply button spells different
Howdy? I want to bring to your attention an issue we have noticed on the Kiswahili Wikipedia. When users receive a template reply, it currently includes the word "JINSIA" (meaning "gender" in Swahili). We kindly request your assistance in modifying it to read "JIBU" (meaning "reply" in Swahili) instead. To illustrate, I have attached a sample image showing the current template with "JINSIA." Changing it to "JIBU" will make it more user-friendly and align with our efforts to improve the platform's accessibility. See the attachment sample here; https://upload.wikimedia.org/wikipedia/sw/a/a7/Reply_button_on_SW.jpg User:Muddyb (Talk) 19:19, 8 August 2023 (UTC)
- Hi, thanks for reporting this! I have corrected the translation for the "reply" button: [4] and for the placeholder text: [5]. The changes will appear on Kiswahili Wikipedia next week. You can do this yourself in the future if you register on https://translatewiki.net/. Matma Rex (talk) 19:48, 8 August 2023 (UTC)
Question about non-Latin interwiki links
Dear Wikimedia Technologists!
The issue was mentioned on IRC once before.I am asking the question here because no answer was given there. The main question is - does Wikimedia have plans to provide non-latin interwiki links in the future?
Reason: Adding Bengali font to wgNamespaceAliases in our Bengali Wikipedia was discussed and supported by the community. But the problem was whether to have a two letter alias or a single letter. if single letter, and in the future support for non-Latin characters added on Interwiki links; Then there may be a little problem. Because, two-letter interwiki sister-project links and one-letter namespace links; It actually doesn't fit.
Another suggestion: I don't know if this is the right place for this. But my proposal is to make interwiki links of sister-projects in all non-Latin languages as well. For example, W refers to the English Wikipedia, so و will refer to the Arabic Wikipedia, উ will refer to the Bengali Wikipedia, and so on. If this is done, the interwiki system will be easier. খাত্তাব হাসান (talk) 16:19, 6 August 2023 (UTC)
- Technical Information: Interwiki links in non-Latin letters are possible. (Technologists know, of course. But others who doubt if it is possible to link interwikis in non-Latin letters. I've tested on my personal playground wiki. See here.) খাত্তাব হাসান (talk) 16:28, 6 August 2023 (UTC)
- After confirming from an engineer, I gathered that your request can be handled as a wiki configuration change request. You can follow the process at Requesting wiki configuration changes to create a Phabricator task around your request. Remember to add "Wikimedia-Site-requests" tag to it. After it is in Phabricator, someone will follow up on the ticket if there are no further concerns about implementing the change. SSethi (WMF) (talk) 00:40, 11 August 2023 (UTC)
- @SSethi (WMF) Thank you! I am gathering community consensus. But there is some confusion, will this configuration only apply to bnwiki or global wikimedia wikis? If this is only for bnwiki, then we should not take this proposal forward. Because bnwiki doesn't need this interwiki configuration. It would be helpful if this is done centrally across all wikis. খাত্তাব হাসান (talk) 18:21, 12 August 2023 (UTC)
- Just be clear about what you're asking for and who would be affected by that. Then gather consensus from those affected users. There's no rule against global site requests -- I think a lot of the bloat in InitialiseSettings.php is a result of excessive focus on local site requests and I'd prefer it if users considered the big picture. Currently the "w" interwiki prefix is what I call a lateral link, because it makes a set of horizontal links in Special:SiteMatrix. So "w" on Bengali Wiktionary links to Bengali Wikipedia, whereas "w" on Arabic Wikibooks links to Arabic Wikipedia. As a special case, a lateral prefix which would be a self-link instead links to the English variant of the current project, for example "w" on Bengali Wikipedia links to English Wikipedia. There are global interwiki prefixes that link to specific-language projects, but they are full names, not single letters. For example "wikipedia" links to English Wikipedia, and "wikivoyage" links to the English Wikivoyage, no matter where those links are. If you want উ as a lateral interwiki link being an alias for "w", linking to the Wikipedia of the current language, then that's a global site request. If you want উ to link to Bengali Wikipedia from everywhere, then that is a request to change the interwiki map and you can request it on Talk:Interwiki map, but I would advise against it since it is unconventional. I would instead suggest adding উইকিপিডিয়া to the interwiki map. Changes to the interwiki map do not require a site request, you can just change the page on meta and it will eventually take effect. -- Tim Starling (WMF) (talk) 06:42, 14 August 2023 (UTC)
- @SSethi (WMF) Thank you! I am gathering community consensus. But there is some confusion, will this configuration only apply to bnwiki or global wikimedia wikis? If this is only for bnwiki, then we should not take this proposal forward. Because bnwiki doesn't need this interwiki configuration. It would be helpful if this is done centrally across all wikis. খাত্তাব হাসান (talk) 18:21, 12 August 2023 (UTC)
- After confirming from an engineer, I gathered that your request can be handled as a wiki configuration change request. You can follow the process at Requesting wiki configuration changes to create a Phabricator task around your request. Remember to add "Wikimedia-Site-requests" tag to it. After it is in Phabricator, someone will follow up on the ticket if there are no further concerns about implementing the change. SSethi (WMF) (talk) 00:40, 11 August 2023 (UTC)
Help with Global-Search Tool
Hello!
I am trying to make a global search of Special:Search/file: local: filemime:png -intitle:/\.png/i using https://global-search.toolforge.org/ but I can't seem to figure the tool out. Is there a guide of some sorts anywhere to how to make searches using the tool? Jonteemil (talk) 00:02, 30 July 2023 (UTC)
- @Jonteemil Could you share more about what exactly you are trying to do? Are you looking to search for files across all wikis with
.png
extension? - Notifying @MusikAnimal @EBernhardson_(WMF) as developers of the tool. I looked up a bit and couldn't find any documentation for users. Is it possible to do the kind of search @Jonteemil wants to do? Could you provide an example of a regular expression? As a sidenote, would it be possible for you to document some search examples on the tool website? It may not be immediately clear to the user what to input in the various fields. You could also consider adding these examples to a Phabricator task and tag it with
documentation
tag. It might be that someone gets interested in taking it up. SSethi (WMF) (talk) 01:06, 1 August 2023 (UTC)- Special:Search/file: local: filemime:png -intitle:/\.png/i finds all PNG files that incorrectly have a different file extension than .png in their file names (for example .jpg, .gif etc). ms:File:Kelantan FA.jpg would be an example (a PNG image with the .jpg file extension incorrecly appended in the name). Since you have to use the
filemime:
parameter in Special:Search this query hasn't really got a regex equivalent. Jonteemil (talk) 01:26, 1 August 2023 (UTC)- I'm afraid what you're trying to do is not possible currently. I'm going to have to let @EBernhardson (WMF) speak to whether searching via mime type is possible with Cloud Elastic, which is what powers Global Search. Without that, Global Search won't be very helpful in your situation. As it stands now it's really only used to search for content within wiki pages, along with simple title searches.
- To briefly explain things, though: You want to filter by title (pages ending in .png), so you would use the "Title pattern" field which as written takes a CirrusSearch regular expression (
\.png
). Then, we can limit to file pages by setting the namespaces field to6
. That obviously isn't a very useful query, though. - I see the Cloud Elastic docs point to mw:Extension:CirrusSearch/Schema, so if all of that is available, we can do mime type searches as well as much more! I'll work with Erik to see what's possible and get back to you. — MusikAnimal talk 03:26, 1 August 2023 (UTC)
- Sounds good! Jonteemil (talk) 01:50, 2 August 2023 (UTC)
- Apologies for the delay in getting back to you all on this. Erik confirmed to me that indeed, all CirrusSearch filters are available to CloudElastic, so it's just a matter of updating Global Search to support them. I have filed a task at phab:T344371. You can follow it for updates. I hope to get to this in the coming weeks, but as it is a volunteer effort I can make no promises as to a timeline.
- Thanks for raising this issue! Once implemented, I think Global Search will become a lot more powerful and will be able to handle a lot more applications. — MusikAnimal talk 17:04, 16 August 2023 (UTC)
- Sounds good! Jonteemil (talk) 01:50, 2 August 2023 (UTC)
- Special:Search/file: local: filemime:png -intitle:/\.png/i finds all PNG files that incorrectly have a different file extension than .png in their file names (for example .jpg, .gif etc). ms:File:Kelantan FA.jpg would be an example (a PNG image with the .jpg file extension incorrecly appended in the name). Since you have to use the
Off wiki site linking to page creation
I was just curious if this was a known issue and/or if anything could be done.
I was looking into references on the Simple English wikipedia on a page and got to this article from a cached version of the deleted MDO Kids page. If you click on a link there, it leads to the mobile version of the SE wikipedia. The bad part is, if it is a red link, it leads to the page creator for that link. So there are off site sources linked to creating pages on wikipedia.. This is bound to have an effect on vandalism.. Is this practice known and/or common? Can steps be taken (dev level) to block referrals from outside sources to page creation? Pure Evil (talk) 21:25, 25 August 2023 (UTC)
Lua error problem
Please tell me how to solve the Lua error problem (See คน), Please help us to resolve this issue as soon as possible, thanks.--𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪|𝒯𝒶𝓁𝓀 08:04, 1 September 2023 (UTC)
- @咽頭べさ: It seems to be a module imported from English Wiktionary, you may have better chances getting help at wikt:Wiktionary:Grease pit. (However, please avoid language like “as soon as possible”; everyone is volunteer here, helping in their free time, so hurrying others sounds like you don’t respect that they have lives outside of Wikimedia, and may be contra-productive.) —Tacsipacsi (talk) 14:05, 3 September 2023 (UTC)
- @Tacsipacsi, I'm sorry, I'm sorry for talking too eager, but to be honest, I was depressed about the wiki.
- The reason is that I have contributed a lot to the wiki, but I am very hurt because my mother tongue is not protected at all on wiki and they are customizing my mother tongue in a destructive way on English Wiktionary, on English Wiktionary they falsely accused me and blocked my account so that I could write my native language in a subversive way.
- At first, I didn't think that English Wiktionary would destroy my native language. Most of the Mon words in English Wiktionary are wrong Mon words stolen from the Sealang website, the Sealang website has many spelling mistakes, as most of the words are Mon words that have not been approve by Mon scholars. People currently upload Mon terms on English Wiktionary have no understanding of the Mon language and are not Mon people, and this is called stealing. (See the စေဲာ page for a solid evidence) I'm sorry if you don't feel comfortable with my statement, but I can give no great attitude to anyone who harms my mother tongue. I think you will realize how much love I have for my mother tongue in my words. I love my mother tongue more than life itself, but I absolutely cannot forgive those who hurt my mother tongue, thanks. 𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪|𝒯𝒶𝓁𝓀 17:11, 3 September 2023 (UTC)
- @咽頭べさ: I don’t feel uncomfortable with your statement, but I’m unable to help you with your technical issue, and unless you manage to work together with other enwiktionary users, it’s likely that nobody else will be either. (Since the only reason for your indefinite block was your request (otherwise the block length should have been shorter), I think you’ll be able make a successful unblock request if you change your mind.) —Tacsipacsi (talk) 01:34, 4 September 2023 (UTC)
- @Tacsipacsi, I think it is impossible to request unblock, the reason is because their bad of some bad intention and blocked me, I don't think they will unblock me (if they block me, they will be able to continue their destructive activities) I have strong evidence, my evidence are as follows:
- Big thief on Wikimedia user Hintha
- User Hintha is not Mon people and has no understanding of Mon language, he steals Mon words from the Sealang website every day and posts them on English Wiktionary with bad intentions (It is absolutely clear that his bad intentions are to lie that many Mon words have been borrowed by Burmese, if his actions are genuine, why can't he show the confirmation and support of Mon scholars???? what is being done secretly without the approval of Mon scholars is a big theft and lie) cannot make borrowed from Burmese by believing that Mon writing and Burmese writing are the same, the reason is that there is absolutely no phonetic similarity. It is absolutely clear that user Hintha continuously uploading spelling mistakes of Sealang website Mon vocabulary to English Wiktionary is destroying our Mon literature (the true story we encountered= Throughout the ages, the Burmese governments have not given us permission to study Mon literature at all, and if they don't like it, they often arrest and kill our tribesmen on various charges, therefore, we do not trust the Burmese people at all and cannot treat them as friends at all. some of the Mon people were faced with this kind of fear and even abandoned the Mon language, also if I were to live in Burma, I would not be able to work on the Mon language on the wiki, or I would be afraid of being arrested and killed by the Burmese. That's one of the many feelings we've had over the years, if you don't believe what I say, I invite the Mon people who live in Mon State to come and study, in order to protect their language, the Mon people of Mon State had to take up arms against the Burmese for more than 60 years.
- A supporter of thieves user Thadh
- 𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪|𝒯𝒶𝓁𝓀 10:25, 5 September 2023 (UTC)
- @Tacsipacsi, I think it is impossible to request unblock, the reason is because their bad of some bad intention and blocked me, I don't think they will unblock me (if they block me, they will be able to continue their destructive activities) I have strong evidence, my evidence are as follows:
- @咽頭べさ: I don’t feel uncomfortable with your statement, but I’m unable to help you with your technical issue, and unless you manage to work together with other enwiktionary users, it’s likely that nobody else will be either. (Since the only reason for your indefinite block was your request (otherwise the block length should have been shorter), I think you’ll be able make a successful unblock request if you change your mind.) —Tacsipacsi (talk) 01:34, 4 September 2023 (UTC)
Mediawiki Account Deletion
Hello I hereby come, as a citizen of the European Union, to demand that my account be deleted, as it has become ineffective due to being blocked for 1 year, in compliance with the law:https://www.privacy-regulation.eu/pt/17.htm
In part the law is clear: . The data subject has the right to obtain from the controller the erasure of his or her personal data, without undue delay, and the controller has the obligation to erase personal data, without undue delay, when one of the following reasons applies: a) Personal data are no longer necessary for the purpose for which they were collected or processed;
They invented an excuse to block it, for a year now. In the next few years I will remove all my contributions to Wikipedia
You have the right to block, and I have the right to demand that my account be deleted
User: Nelson Capitia
Thanks Nelson Capitia (talk) 23:38, 15 September 2023 (UTC)
- Unfortunately, the software currently does not permit the deletion of accounts. See also GDPR_(General_Data_Protection_Regulation)_and_MediaWiki_software. You could consider raising an objection for the blocked account. Or, you might qualify for Right_to_vanish. SSethi (WMF) (talk) 00:31, 21 September 2023 (UTC)
Tools for fighting vandalism like u:Коля Ю. Павлов (like this)
Dear all, I would like to ask if there is a way to block a range of IP-addresses from editing wikis written in any language but a few likely. This user at some point began to anonymously insert the list of his actions into many other wikipedias in languages he is unlikely to speak. His IP-address ranges are rather well-known as he lists his actions in the wikipedias:
- 89.110.0.0/16 or smaller;
- 91.122.0.0/16 or smaller;
- 178.71.0.0/16 or smaller;
- 178.67.0.0/16 or smaller;
- 178.70.0.0/16 or smaller;
- 78.37.0.0/16 or smaller;
- 92.100.0.0/16 or smaller;
- 95.55.0.0/16 or smaller;
Or one might use a tool to show the contributions from said ranges in all but some languages. 185.10.224.66 18:13, 21 September 2023 (UTC)
PetScan
I have used PetScan (petscan.wmflabs.org) a lot for the past months in processing wiki data, last time successfully two days ago, and therefore was very sad when yesterday it suddenly failed at all and also today the service hosted is dead. I tried with three different web browsers, resulting always in a completely blank page. Is that a temporary problem? And is here the right place to ask such a question, or where would be the noteboard? --ThomasPusch (talk) 11:07, 26 September 2023 (UTC)
- See its issue tracker at https://github.com/magnusmanske/petscan_rs/issues/141 (and phab:T347311 for an explanation). --AKlapper (WMF) (talk) 11:31, 26 September 2023 (UTC)
Temporary accounts for unregistered editors
Read this in your language • Please help translate to your language • Please tell other users about these changes
In 2024, editors who have not registered an account will automatically begin using temporary accounts. These editors are sometimes called "IP editors" because the IP address is displayed in the page history.
The Trust and Safety Product team gave a presentation at Wikimania about this change. You can watch it on YouTube.
There is more information at m:IP Editing: Privacy Enhancement and Abuse Mitigation.
From when are the XTools statistics accurate?
Hello, technicians of Wikimedia. First, I would like to applaud to you for creating this sophisticated platform. You have proven that you are competent, unlike the people over at MySpace (context).
I have a question regarding XTools: On pages that were created in the early days of Wikipedia, XTools warns people that "This page is very old. Some data may be inaccurate due to how revisions were stored in the early days of MediaWiki.".
How does one know which data is accurate? From which date onwards are the statistics accurate? Elominius (talk | contributions | global) 20:06, 26 September 2023 (UTC) - last modified 21:41, 26 September 2023 (UTC)
- It's tough to say without knowing what the XTools message refers to (I found that it appears e.g. here: [6] but there's no further context). There have been some accidents, poorly planned migrations and lack of history keeping before 2005; Graham87's "Page history observations" article documents them. Matma Rex (talk) 22:18, 26 September 2023 (UTC)
- Good to know! Another likely related oddity is that the first edit on "2002" is indicated as having subtracted 40313 bytes, which can not have happened. The log shows Graham87 has imported revisions on that page. However, the "This page is very old" warning does not appear on the "Google" article, created in October 2004. Good thing Wikimedia has better tech people than MySpace, or lots of writings might not have survived those difficult early days. It might be easy to look at it back from now (hindsight bias), but hard to imagine how difficult it must have been.
- Thanks, Matma. Elominius (talk | contributions | global) 00:03, 1 October 2023 (UTC) - last modified 00:16, 1 October 2023 (UTC)
- The early "2002" revisions are funny, they show up this way in the page history too: [7]. I was curious how, so I looked at them with the API [8], and it turns out that their "parent revision" (relative to which the diff size is calculated) is the revision just before the import happened: [9]. Apparently this was a bug in the import mechanism, which was fixed in 2015 [10], but the imported edits remained that way. Matma Rex (talk) 02:07, 1 October 2023 (UTC)
wikilink works on the Meta user page but not in the projects
Hi I am linking to a library at my user page, but this link doesn't work in the other projects where I do not have a user page such as here. Anyone knows why? Paradise Chronicle (talk) 10:41, 27 September 2023 (UTC)
- @Paradise Chronicle: Your link is
User:Paradise Chronicle/Library
so on every wiki that's interpreted as a link on that wiki. You can use the interwiki prefixmetawiki:
to avoid that. PS: Also see https://www.w3.org/QA/Tips/noClickHere . Thanks, --AKlapper (WMF) (talk) 11:15, 27 September 2023 (UTC)- Thanks a lot. Really helpful wiki is so easy and difficult sometimes Paradise Chronicle (talk) 21:31, 4 October 2023 (UTC)
A diff page on meta.wikimedia.org generates "Internal error"
This page https://meta.wikimedia.org/w/index.php?title=What_to_do_with_www.wikipedia.org&diff=prev&oldid=7610 shows
Internal error [11bddd6e-46fa-47fd-8327-c5015ec9573b] 2023-10-24 01:46:53: Fatal exception of type "Exception"
(A screenshot so readers can see it after being repaired:[11]) --Wotheina (talk) 03:27, 24 October 2023 (UTC)
- This is phab:T321234. -- Tim Starling (WMF) (talk) 00:26, 25 October 2023 (UTC)
wiki sidebar
hi i have created a sidebar on my wiki (i'm using vector skin) can any one tell me how to make him collapsible 41.226.167.89 16:20, 1 November 2023 (UTC)
wiki sidebar
hi i have created a wiki sidebar
- Navigation
- General
- .collapsible|General
- acceuil_nouveau_developper|Accueil nouveau développeur
- acceuil_nouveau_devops|Acceuil nouveau devops
- Equipes projets|Equipes projets
- Architecture
- Systeme|Systéme
- Architecture_physique|Architecture physique
- Architecture_projets|Architecture projets
- DSMS|_DSMS
- Beehive|_BEEHIVE
- Idts|_IDTS
- Kairos|_KAIROS
- Elab|_ELAB
- Association|_ASSOCIATION
- Environnements
- Dev|Dev
- preprods|Preprod
- prods|Prod
- Projets
- DSMS|DSMS
- Beehive|BEEHIVE
- Idts|IDTS
- Kairos|KAIROS
- Elab|ELAB
- Association|ASSOCIATION
- Produit
- DSMS|DSMS
- Beehive|BEEHIVE
- Idts|IDTS
- Kairos|KAIROS
- Elab|ELAB
- Association|ASSOCIATION
- Devops
- Pipeline|Pipeline
how to make
- DSMS|_DSMS
- Beehive|_BEEHIVE
- Idts|_IDTS
- Kairos|_KAIROS
- Elab|_ELAB
- Association|_ASSOCIATION
collapse inside
- Architecture_projets|Architecture projets
i'm using vector skin Farhatyaakoubi (talk) 16:24, 1 November 2023 (UTC)
- @Farhatyaakoubi: Hi, this page is for Wikimedia wikis only. Please see mw:Communication - thanks! --AKlapper (WMF) (talk) 17:00, 1 November 2023 (UTC)
Requesting feedback on CSS
I want to use the old version of my wikimedia page, but I don't like the new version of the Wikimedia page at all, but I found the new version of the Wikimedia page to be annoying to use, in order to solve this problem, need to create global.css and common.css style CSS codes, Please suggest me in this matter, if possible, please share the CSS codes and how to use them, I am a person with poor technical knowledge, so I want to help me, thanks.--𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪|𝒯𝒶𝓁𝓀 05:39, 1 December 2023 (UTC)
- @咽頭べさ. Are you trying to change your skin? For example, maybe changing from Vector 2022 to Vector 2010? You can do this in Special:Preferences#mw-prefsection-rendering. –Novem Linguae (talk) 06:29, 28 December 2023 (UTC)
- @Novem Linguae, I want the Vector 2010 style, but there is no way I can try to change that style, so I need to replace it with CSS code, please help CSS code, thanks. 𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪|𝒯𝒶𝓁𝓀 12:35, 28 December 2023 (UTC)
- I would recommend blanking all your CSS pages, then going to Special:Preferences#mw-prefsection-rendering and selecting Vector 2010 as your skin. Then saving. That should give you the Vector 2010 skin. –Novem Linguae (talk) 12:41, 28 December 2023 (UTC)
- @Novem Linguae, I want the Vector 2010 style, but there is no way I can try to change that style, so I need to replace it with CSS code, please help CSS code, thanks. 𝓓𝓻.𝓘𝓷𝓽𝓸𝓫𝓮𝓼𝓪|𝒯𝒶𝓁𝓀 12:35, 28 December 2023 (UTC)
Request to assign an issue in wikimedia organisation
Sir I want to work on this issue. Could you please assign me this. https://github.com/WikiEducationFoundation/WikiEduDashboard/issues/2263#issuecomment-1852005791 Harshithaome (talk) 05:38, 21 December 2023 (UTC)
- @Harshithaome. I think you should ask in the GitHub issue you linked, using your GitHub account. –Novem Linguae (talk) 06:27, 28 December 2023 (UTC)