Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Wikipedia:Village pump (technical)

From Wikipedia, the free encyclopedia
(Redirected fromWikipedia:VPT)
Page for discussing Wikipedia technical issues

 Policy Technical Proposals Idea lab WMF Miscellaneous 
Thetechnical section of thevillage pump is used to discuss technical issuesaboutWikipedia. Bug reports and feature requests should be made inPhabricator (seehow to report a bug). Bugs withsecurity implications should be reported differently (seehow to report security bugs).

If you want to report aJavaScript error, please followthis guideline. Questions aboutMediaWiki in general should be posted at theMediaWiki support desk. Discussions are automatically archived after remaining inactive for 5 days.

? view · edit
Frequently asked questions (see also:Wikipedia:FAQ/Technical)
Click "[show]" next to each point to see more details.
If something looks wrong,purge the server's cache, thenbypass your browser's cache.
This tends to solve most issues, including improper display of images, user-preferences not loading, and old versions of pages being shown.
No, we will not use JavaScript to set focus on the search box.
This would interfere with usability, accessibility, keyboard navigation and standard forms. Seetask 3864. There is anaccesskey property on it (default toaccesskey="f" in English). Logged-in users can enable the "Focus the cursor in the search bar on loading the Main Page" gadgetin their preferences.
No, we will not add a spell-checker, or spell-checkingbot.
You can use a web browser such asFirefox, which has a spell checker.
If you have problems making your fancy signature work, checkHelp:How to fix your signature.
If you changed to another skin and cannot change back, usethis link.
Alternatively, you can press Tab until the "Save" button is highlighted, and press Enter. Using Mozilla Firefox also seems to solve the problem.
If an image thumbnail is not showing, trypurging its image description page.
If the image is from Wikimedia Commons, you might have to purge there too. If it doesn't work, try again before doing anything else. Some ad blockers, proxies, or firewalls blockURLs containing /ad/ or ending in common executable suffixes. This can cause some images or articles to not appear.
For server or network status, please seeWikimedia Status. If you cannot reach Wikipedia services, seeReporting a connectivity issue.
Centralized discussion
For a listing of ongoing discussions, see thedashboard.

Image browsing test on mobile: entering Phase 1

[edit]

Hi everyone,

I’m Eliza Blackorby from the WMF’sReader Growth team. A few weeks ago, WMFposted here about declining pageviews to Wikipedia – that’s what our team is working to address. We want both new and existing readers to return to Wikipedia because they find it a compelling place to learn. Over and over, a top request from readers is that they wish for “more images/photos” on Wikipedia, as demonstrated insurveys of global internet users. As a result, we want to show readers more images and display images in a more enriching way. Our hypothesis is that by making it easier to explore images already in articles, readers may find Wikipedia more engaging and return more frequently, with some of them eventually becoming editors.

What idea are we testing?

A few weeks agowe shared how we were considering a test of a sliding gallery view of all an article’s images at the top of the article that readers can then click to jump to that part of an article, inspired by Community Wishlist requests forimproved discovery of media. We’ve since built a prototype, calledImage browsing, that takes your feedback into account. You can try it by adding the url parameter?imageBrowsing=1 to the end of any URL on the mobile view for enwiki. For example:https://en.wikipedia.org/wiki/Hummingbird?useskin=minerva&useformat=mobile&imageBrowsing=1  

What stage is this project in?

Our initial discussions with you constitutedphase 0 of our reader experiment phases. We now want to enterphase 1: launching a small test with an early version of these ideas. It’s not yet clear whether this feature will be an improvement for readers, so we want to test it to determine whether to proceed intoPhase 2: building a feature.  

What is the timeline?

We will A/B test this version with 0.05% of mobile readers on English Wikipedia starting the week of November 17 and ending four weeks later on December 17.

What does the experiment include?

This test will include a gallery at the top of an article that shows all the article’s images. The feature will be available for any article that has three or more images. Tapping on any image will open a browsing experience with the image enlarged, its caption, and options to view it on Commons (if available). Readers will see images and paragraph-excerpts from the article itself in the gallery and will be able to switch back to where the image appears within the article. At the bottom of this experience, readers will be able to view images selected by editors for the same article in other Wikipedias.

Screenshots:

Below are three separate screenshots of the test's different aspects to demonstrate the experience when a user clicks through and scrolls.

What input are we looking for from you?

While this round of the experiment is focused on simply testing if readers are interested in image browsing, there are still issues that would need to be resolved before developing this into a feature, including those around bad images and cross-wiki images as it relates to conflicting policies or cultural sensitivities. We invite you to help us continue to identify concerns like this. In the collapsed box you'll find a summary of thefeedback and risks we heard from you in September, along with how we're thinking through them.

Feedback from Phase 0
  • Mixed feelings on showing images from other projects
    • Commons: Some editors liked the idea of pulling more images from Commons, while others felt there was too much risk to showing Commons images without editor oversight. For this test, we have decided to only use images that have been added to at least one Wikipedia.
    • Images from other wikis: Some editors felt that allowing readers to click to see images from other wikis for the same article could pose a risk to editor oversight. For the purposes of gathering information in this test, we are including the ability to view images from other wikis, and will carefully observe and share the results with you for future conversations.
  • Risk of showing inappropriate images
    • We’ve set up this first A/B test so that you can exclude page images by adding thetag for exclusion, but we agree there’s still some risk. If we decide to proceed with this idea after the test, we’ll review ways we can expand this list to include further editorial oversight.
  • Risk of showing irrelevant images
    • Here, we’ll be using the same classes as MediaViewer. Instructions on how to add these classes are availableon this page. Images already excluded from Media Viewer will not appear in the experience.
  • Concerns about potential violations ofWP:NFCCP and ofWP:NFLISTS
    • We agree this is a risk when displaying images from across wikis since not all wikis have the same level of moderation. We’ll be reviewing this piece with ourlegal team and current policy to make sure everything is aligned.
  • Concerns about conflicts with theManual of Style
    • The guidelines in the Manual of Style for images focus on how images are presented within article content. Since this experience is more like a navigation or browsing experience outside the main content space, similar to how images appear in Media Viewer, we’re not sure how or whether to apply the MOS here, so let’s keep talking about that.

Since this work is still experimental, we expect to refine and adjust this idea based on your feedback. We’d love for you to try the feature on a few articles using the url parameter above. Your input will help us decide how to improve it if we move forward after the test. Also, stay tuned for the test results. We’ll share them with you and discuss together whether it makes sense to continue with this idea into Phase 2, and if so, what additional changes we will need to make before proceeding. Please share your thoughts and questions here, and for more info, see ourproject page.

Thank you!EBlackorby-WMF (talk)22:38, 6 November 2025 (UTC)[reply]

When I go to the hummingbird page and click on the article image that has the caption "Adult male bee hummingbird, Cuba", I am taken to a page that contains the image, along with credit and a link to the license information. It is my understanding that CC licenses require that information to be linked to and displayed when the image is clicked. When I click on the same image in the slide show, I do not see any licensing information. This may be a problem.
The other obvious issue, of course, is that the images are displayed without their captions until you click them individually. As User:DarthVader might have said, I find your lack of context disturbing. –Jonesey95 (talk)01:21, 7 November 2025 (UTC)[reply]
Hi @Jonesey95, thanks so much for flagging. You raise some important points. We've taken them into conversation with colleagues in theLegal department, and agree that we would need to address them if we end up building a future feature out of this experiment. I'll follow up more here if/when that happens.EBlackorby-WMF (talk)22:31, 7 November 2025 (UTC)[reply]
Is it really OK with the legal department to knowingly violate the terms of CC-BY-SA, even on an experimental basis? I'm not a lawyer, so I don't know if it really is a violation, but it doesn't seem like something that would normally be allowed here at en.WP. If someone tried to roll out a template that behaved in this way, I think it might get some license-related pushback. –Jonesey95 (talk)00:15, 8 November 2025 (UTC)[reply]
@Jonesey95 I disagree that there is any semblance of a violation here. There is a prominently displayed link to commons off to the side, which imo counts as attribution. I also disagree that if a editor made a similar choice, they would get any license related pushback. The practice of using images as background and then overlaying attribtuion text is pretty common across userpages (a example of this would beSigma's userpage)Sohom (talk)13:30, 11 November 2025 (UTC)[reply]
The Creative Commons licences do not require a specific method for providing attribution. The licence states that it may be reasonable to meet the attribution requirement by providing a link to a page that has all the required information. Since clicking on a gallery image displays an expanded image with an overlaid link to the attribution information, personally I feel this is a reasonable approach to provide attribution.isaacl (talk)06:02, 8 November 2025 (UTC)[reply]
I find the workflow to jump to the section where the image is located to be awkward. After swiping through the gallery at the top of the article, I select an image, and see an expanded image at the top of the page, but there's no link to the section. I have to scroll down through the list of images (with the little summaries) until I reach the image I originally selected, and then I can select "View in article". I think it would be better if the little summary and "View in article" link appeared directly below the expanded image, so the context and jump link would be immediately available. (I think it should still appear within the comprehensive list as well.)isaacl (talk)06:11, 8 November 2025 (UTC)[reply]
Hi @Isaacl, thanks for this feedback! It's helpful to hear your thoughts and ideas around page navigation. We're still figuring out the best way for anchor links to behave on the page in a way that more seamlessly connects images with context via their summary and their place in the article. Our design team will take a closer look with this in mind. Do you think the summary and "view in article" link would work best overlaid on top of the expanded image, underneath where the caption currently is? Or do you have something different in mind?EBlackorby-WMF (talk)20:48, 13 November 2025 (UTC)[reply]
Due to the length of the blurb (I guess it's an excerpt, not a summary), I think it would be better to appear below the image, as I suggested. From a UI perspective, since the "view in article" link will bring you to the text in the excerpt, I think it would be better for the link to appear floated to the right at the top of the excerpt. I suggest leaving a bit of extra space at the bottom so the top of the excerpt and the link is visible without scrolling. I think it is better for the text to appear distinct from the caption, so prefer the text not to appear as though it is floating over the image.isaacl (talk)22:43, 13 November 2025 (UTC)[reply]
I think the general idea here is good. If we can increase the visibility of media in a way that enhances the usefulness of Wikipedia to readers, then I'm all for it. The current implementation also seems to be decent, although some kinks may have to be worked out as pointed out above.
Even if directly pulling images from Commons is ruled out, what about simply providing a link to the Commons category? We already have{{Commonscat}}, so I don't see how this would be controversial. The link could look something like this:
 More from Wikimedia Commons
It could appear when you get to the end of the "Media from other projects" view.~2025-32228-23 (talk)00:08, 9 November 2025 (UTC)[reply]
Hi @~2025-32228-23, thanks for the note, glad you like the idea so far. Potential connections with Commons is something we are thinking about a lot, and this idea you've posed is a good one for future investigation. How do you feel about offering a link to view media from other projects besides Commons (like other language wikis)?EBlackorby-WMF (talk)21:01, 13 November 2025 (UTC)[reply]
@EBlackorby-WMF: I think the way this feature currently works in the demo is mostly reasonable.
If editors on another language edition have decided to include a photo, then it is probably at least somewhat illustrative and useful. On the other hand, Commons categories sometimes include low-quality / low-relevance media, which makes including photos from Commons more problematic.
I do see some risk of cross-wiki vandalism. For example, if a troll wants to deface a protected English Wikipedia article on a popular or contentious topic, then they could instead add an inappropriate image to the equivalent article on a different language edition that has barely any eyes on it (e.g.,Udmurt Wikipedia). It might take a while for editors to catch this kind of thing.
(I am the same user as above.)~2025-32085-07 (talk)05:47, 19 November 2025 (UTC)[reply]
what about simply providing a link to the Commons category?Support. I think there should be someload more button on the right of the images panel to load more images from the Commons category (e.g. first files that in adeepcategory: scan of the category have most uses in mainspaces) and/or a button there to go to the category. The best may be to have both but usually subcategorization of the Commons category is important where one can't just show random files only directly in the category and when using subcategories too some less-related or less-useful files may show up and it would be difficult to sort them. Thus, ideally the user navigates to the category page by opening it in a new tab or via some integrated Commons category browser that could be added into the Image browsing panel.
Moreover, I like that proposed button design – however not for the Image browsing panel but what would best be added to the See also section (not buried underneath the long References section) and labeled "More media on Wikimedia Commons". Most Wikipedia users aren't really aware of Commons and don't see the Commons category link at the bottom. It needs a modern and well visible button like this and I'm sure readers would find it useful.Prototyperspective (talk)00:03, 24 November 2025 (UTC)[reply]
Just a quick thing, but I think it would be better if the gallery layout was closer to the one used on Commons for category slideshows. It would provide more context to users. Also, on my mobile device (tablet, using a Chromium browser), the photos were ever so slightly cut off on the sides and I think that having margins/a border like in slideshows would help prevent this.postleft on mobile!19:07, 24 November 2025 (UTC)[reply]

Template populating category redirect mess

[edit]

Can anyone work out whyTemplate:User en-gb-3 is populatingCategory:User en-gb-3 instead ofCategory:User en-GB-3? A recent edit seems to have triggered this but reverting doesn't fix it.Timrollpickering (talk)13:40, 20 November 2025 (UTC)[reply]

@Timrollpickering It looks like itwas that recent edit, you just needed to wait a bit for the category to clear (there was a recent Tech News item about some backend changes that result in delayed category updates).{{User x}} checks if the category exists before placing the template there, so ifCategory:User en-gb-3 were deleted it wouldn't be a problem. That being said, the real solution would be to not have different capitalization between the template and the category, and I would suggest doing a mass-move on the en- templates to capitalize them.--Ahecht (TALK
PAGE
)
14:15, 20 November 2025 (UTC)[reply]
Unfortunately it's still there; I don't know if this is because of another user making a needless edit about whitespace. These language categories are a total pain in the backside with a lot of inconsistency (only en-GB and en-CA seem to be capitalised) and some off site stuff that isn't maintained well. Is there a simple way to zap the problems once and for all?Timrollpickering (talk)22:00, 20 November 2025 (UTC)[reply]
I have added a missing{{Resolve category redirect}} call toTemplate:User x.* Pppery *it has begun...22:06, 20 November 2025 (UTC)[reply]
Really, the category names used by our templates should match those used by theBabel extension. So,{{user en-gb-3}} (however it is capitalised) must not yield a different category than{{#babel:en-gb-3}}. To save you looking it up, the#babel: method yieldsCategory:User en-GB-3. --Redrose64 🌹 (talk)08:20, 21 November 2025 (UTC)[reply]
I did aWP:BOLD move of the en-gb and en-ca templates to en-GB and en-CA. Oddly enough, babel uses lowercase en-us, so I kept those templates there.--Ahecht (TALK
PAGE
)
15:32, 21 November 2025 (UTC)[reply]

Now we haveTemplate:User en-CA settling inCategory:User en-CA-N and again it's not clear why. Just what are the outstanding irregularities and can we get a mass change to fix all the Babel messes for good?Timrollpickering (talk)11:21, 22 November 2025 (UTC)[reply]

Turned it into a category in the end asCategory:User en-GB-N also exists. But I wish these templates were clearer about what generates what.Timrollpickering (talk)21:25, 23 November 2025 (UTC)[reply]

Purgecache issue from another Wikipedia

[edit]

Over on ang:, the Main Page has an issue: it has daily features like en:, using {{CURRENTDAY}} {{CURRENTMONTHNAME}}, but does not tick over to the next day: it can be stuck on one date for ages. It updates if we amend the page, or actively purge the cache: the main page is called 'Heafodtramet', so the clicking a 'Special:Purge/Heafodtramet' brings it to the current date. I did that again this evening.

Is there another way to write it so that {{CURRENTDAY}} etc reflects the current date without intervention?

Hogweard (talk)19:18, 20 November 2025 (UTC)[reply]

The NewPP limit report in the HTML of the main page atang: says "Cache expiry: 2592000". That's in seconds and equals 30 days which is indeed far too much for a main page using{{CURRENTDAY}}.phab:T119366#6407916 byKrinkle in 2020 sounds like it should have been set to an hour. I don't know whether that still applies and I don't know a way to control it.PrimeHunter (talk)21:01, 20 November 2025 (UTC)[reply]
Parsoid maybe? I see it mentionsComplications: [no‐section‐edit‐links, use‐parsoid], and if I checkhttps://ang.wikipedia.org/wiki/Heafodtramet?useparsoid=0 it has the expected 3600-second expiry.Anomie21:24, 20 November 2025 (UTC)[reply]
Thanks for the ping. I recall in the past Parsoid did not yet support reduced cache expiries (e.g.T329067), but that was fixed two years ago and these days Parsoid isenabled by default on several Wikivoyage and Wiktionary wikis. Searching on Phabricator, I don't see any known issues that would explain this. Ping @Cscott.Krinkle (talk)15:37, 21 November 2025 (UTC)[reply]
Hi all, yes, this is a bug in Parsoid we discovered recently. The same issue as tracked inT408741 which we've been working through and looks like there is something in Parsoid's metadata collection itself we may need to address to fix this.SSastry (WMF) (talk)15:54, 21 November 2025 (UTC)[reply]
This bug is now fixed. I purged the page and it should refresh properly going forward.SSastry (WMF) (talk)22:15, 25 November 2025 (UTC)[reply]
@Hogweard it's not an ideal term solution, but I have an old script to trigger page purging which I wrote for Wikidata - I could set it up to run on the ang mainpage once a day at midnight as a stopgap, if that would help?Andrew Gray (talk)12:47, 21 November 2025 (UTC)[reply]
That would be great - thanks.Hogweard (talk)19:18, 21 November 2025 (UTC)[reply]
@Hogweard okay, set up - it will run at one minute past midnight UK time (so 1.01 UTC in the summer, if it's still going) and purgeang:Heafodtramet. (It will also purgeang:user:AGbot which uses CURRENTTIME, so I have a test to make sure it's working - I guess we find out in half an hour.) The bot won't actually edit anything on the site. Happy to leave it running as long as is needed.Andrew Gray (talk)23:30, 21 November 2025 (UTC)[reply]
Update - looks like it worked, hurrah! Hopefully that will solve the problem until such time as the parsoid bug is fixed.Andrew Gray (talk)00:15, 22 November 2025 (UTC)[reply]
That is really helpful - thank you.Hogweard (talk)07:14, 22 November 2025 (UTC)[reply]
I posted above, but copying here for visibility - this bug is now fixed.SSastry (WMF) (talk)22:17, 25 November 2025 (UTC)[reply]

Special:UserRights

[edit]

Why is there so much additional space onSpecial:UserRights all of a sudden? The two columns seem to be twice the distance apart and each line is as if there's two line breaks between them. -The BushrangerOne ping only22:38, 22 November 2025 (UTC)[reply]

phab:T117884.* Pppery *it has begun...22:44, 22 November 2025 (UTC)[reply]
Oh, they "improved" it. Figures. -The BushrangerOne ping only04:36, 23 November 2025 (UTC)[reply]
@The Bushranger You can make it more compact by adding the following to yourSpecial:MyPage/common.js:if(mw.config.get('wgCanonicalSpecialPageName')=='Userrights'){$('.oo-ui-fieldsetLayout-group .oo-ui-fieldLayout.oo-ui-labelElement').css('margin-top',0)}.--Ahecht (TALK
PAGE
)
17:00, 25 November 2025 (UTC)[reply]
Much better, thank you! -The BushrangerOne ping only23:02, 25 November 2025 (UTC)[reply]
@Ahecht andThe Bushranger: You don't need to jump through JavaScript hoops when it can be done in CSS:
.page-Special_UserRights.oo-ui-fieldsetLayout-group.oo-ui-fieldLayout.oo-ui-labelElement{margin-top:0;}
this goes inSpecial:MyPage/common.css. --Redrose64 🌹 (talk)23:21, 26 November 2025 (UTC)[reply]

{{{case: ~ }}}

[edit]

What does{{{case: ~ }}} mean in{{{case: {{{1|}}}|{{{default|}}}}}}? (fromthis)

Ialready asked a question on thehelp desk, and they advised me to ask here.Whatback11 (talk)14:59, 23 November 2025 (UTC)[reply]

{{{case: ~ }}} would mean the value of the template parameter namedcase: ~.{{{case: {{{1|}}}}}} would mean the value of a template parameter whose name is based on the value of parameter1.
That very old template was intended to be used something like{{switch|value | case: a = something | case: b = something else | case: c = etc | default = a default value }}, and the{{{case: {{{1|}}}|{{{default|}}}}}} handled selecting the appropriate named parameter based on the passed invalue. These days we havemw:Extension:ParserFunctions that lets the same thing be done more efficiently (and with slightly different syntax) using#switch.Anomie16:08, 23 November 2025 (UTC)[reply]

Minerva not showing edit count and user groups for certain users (?)

[edit]

See this diff on your phone:Special:Diff/1323780893. If you're on PC, go tohttps://en.wikipedia.org/w/index.php?title=User_talk:Pppery&curid=50076420&diff=1323780893&oldid=1323715776&useskin=minerva, then shrink your viewport. —DVRTed (Talk)19:25, 23 November 2025 (UTC)[reply]

It sounds like you're using a gadget, as in diff view those things are not normally displayed.Izno (talk)19:32, 23 November 2025 (UTC)[reply]
Yes, they are; it's not a gadget thing—I tried it on incognito too. (Sorry for imgur) How it should be:https://imgur.com/a/2bwadQK, how it is:https://imgur.com/a/BDYYrrMDVRTed (Talk)19:36, 23 November 2025 (UTC)[reply]
I didn't know this mobile feature which was poorly described. CompareSpecial:Diff/1323787535 by Izno andSpecial:Diff/1323780893 by Theknoledgeableperson in the mobile version in a narrow window. The bottom of the Izno diff has an up-arrow which displays "148,425 edits | 3 user groups" and a circled "i" icon to show the groups. The Theknoledgeableperson doesn't show any of this. Tests with other users show that you only get the info if the user has at least one user group (which may be extended confirmed). It makes some sense to not write "0 user groups". I don't know why the edit count is omitted in that case but it may be deliberate.PrimeHunter (talk)20:38, 23 November 2025 (UTC)[reply]
This is a known issue and a patch has already been merged - please seeT402297 for more.SamWalton (talk)21:13, 23 November 2025 (UTC)[reply]

FAQs at the top of pages don't show as FAQs when viewed on mobile

[edit]

On the BLP noticeboard, people are sometimes directed to the FAQs at the top of talk pages. However, on mobile view, this is all hidden behind a non-obvious sign saying "more about this page". Is there anyway of making that clearer?Red Fiona (talk)21:46, 23 November 2025 (UTC)[reply]

On some pages, likeTalk:Adam's Bridge andTalk:Murder of George Floyd, the FAQ is duplicated on a pinned post that is not archived, so mobile readers can see it. I think that's the only workaround.331dot (talk)21:58, 23 November 2025 (UTC)[reply]
"Learn more about this page" at top of mobile talk pages is made withMediaWiki:Discussiontools-ledesection-button. I suspect it's a pure text label which doesn't allow wikitext to test for a /FAQ page likeTalk:Adam's Bridge/FAQ and display something different.PrimeHunter (talk)23:22, 23 November 2025 (UTC)[reply]
Yes, that's my concern. I know to press that to find the FAQ, would someone not used to Wikipedia know to do that?Red Fiona (talk)20:21, 24 November 2025 (UTC)[reply]

Stubborn Harv cite error...

[edit]

I've been going throughCategory:Harv and Sfn no-target errors, fixing errors, and have come across a thorny ref that I have been unable to solve. Could some of you experts take a look atA & R Recording and see how to fix Ref #18 "Master Cutting Room"? Thanks,Shearonink (talk)23:19, 23 November 2025 (UTC)[reply]

{{MusicBrainz meta}} (should that really be used in the article? – meta templates generally aren't suitable for mainspace) doesn't support|ref=. You might rewrite that reference as:
{{wikicite|ref={{SfnRef|Master Cutting Room}}|reference={{MusicBrainz meta|type=place|mbid=f97bd920-fe68-440f-b515-e078e7894f97|name=Master Cutting Room}} at[[MusicBrainz]].}}
or convert{{MusicBrainz meta}} to a{{cite web}} template ...
Trappist the monk (talk)00:08, 24 November 2025 (UTC)[reply]
Thank you. Lol, took me forever but I think I finally got it *done*. -Shearonink (talk)03:39, 24 November 2025 (UTC)[reply]

Tech News: 2025-48

[edit]

Latesttech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you.Translations are available.

Updates for editors

  • Last week, theWikimedia Search Team recreated the "DWIM" (Do What I Mean) gadget functionality server-side, for Russian and Hebrew Wikipedias. This feature adds cross-keyboard suggestions to the standard search-box suggestions. For example, searching forcxfcnmt on Russian Wikipedia will now add suggestions forсчастье ("happiness") that the user probably intended. They plan to enable this feature for other Russian and Hebrew wikis this week.[1]
  • Later this week, users of the "Improved Syntax Highlighting"beta feature will have syntax highlighting available inDiscussionTools. This requires that the "Enable editing tools in source mode" preference be set.[2]
  • Campaign events extension – the set of tools for coordinating events and other on-wiki collaborations has now been deployed to all Wikimedia wikis. A new feature known asCollaborative contribution to help organizers and participants see the impact of activities has also been added. Join the upcominglearning session to see the new feature in action and share your feedback.
  • Recurrent item View all 24 community-submitted tasks that wereresolved last week. For example, the bug which stopped CodeReviewBot from working, has now been fixed.[3]

Updates for technical contributors

  • Users of Wikimedia API can join a usability study to help validate the new design of Wikimedia REST API sandboxes. Interested participants should fill therecruitment survey.[4]
  • The MediaWiki Interfaces team is deprecating XSLT stylesheets within the Action API. Support forformat=xml&xlst={stylesheet} will be removed from Wikimedia projects by the end of November, 2025. In addition, it will soon be disabled by default in MediaWiki release versions: v1.43 (LTS), v1.44, and v1.45. Support for XSLT stylesheets will be fully removed from MediaWiki v1.46 (expected to release between April and May 2026).[5]
  • The WDQS legacy endpoint (query-legacy-full.wikidata.org) will be decommissioned at the end of December 2025, and finally closed down on 7th January 2026. After this date, users should expect requests to query.wikidata.org that require the full graph to fail or return invalid results if they are not rewritten to use SPARQL federation. The team encourages users to ensure that tools and workflows use the supported WDQS endpoints (https://query.wikidata.org/ - Main graph orhttps://query-scholarly.wikidata.org/ - Scholarly graph). For support with migrating use cases, please review theData Access andRequest a Query pages for details and assistance on alternative access methods.
  • Recurrent item Detailed code updates later this week:MediaWiki

Tech news prepared byTech News writers and posted bybot •Contribute •Translate •Get help •Give feedback •Subscribe or unsubscribe.

MediaWiki message delivery15:54, 24 November 2025 (UTC)[reply]

How to get a specific property of an wikidata object, in Lua.

[edit]

Hello everyone, i am trying to modernise the imdb name module of a version of wikipedia in an other language (that supports lua), to use lua, and i cannot understand how can i get the property P345 of a an actor wikidata object. What do i have to do, do i need to get the wikidata object of the wikipedia page and using mw.wikibase.getEntity(), to get all the properties of the person/object and then from the extracted wikibase entity somehow query the P345 property.

Note: I have also noticed when i try to run functions on the entity object that got returned, by assigning the wikibase.getEntity() result to a local "a" variable and then executing a.getEntity(l it fails, with an error along the lines of "You cannot run operations on a local variable defined wikibase entity".

Mant08 (talk)01:18, 25 November 2025 (UTC)[reply]

You can use getBestStatements in most cases, seehttps://doc.wikimedia.org/Wikibase/master/php/docs_topics_lua.html#mw_wikibase_getBestStatements for full details. Yes you will need to work with the lua table that is returned. — Martin(MSGJ · talk)09:46, 25 November 2025 (UTC)[reply]

Is there a tool that scans new talk message for keywords?

[edit]

The problem I have is the decentralised nature of technical help questions in Wikimedia. For example, if a user has a problem with inserting OpenStreetMap (OSM) data into an article they might post on the article's talk page, the Help desk, a related WikiProject, thegraphics lab,mediawiki, meta or Commons.

Is there a tool that scans talk page comments for keywords, to connect helpers with questions? To reduce the amount of work it needs perform it could work on a defined list (like "OSM", "OpenStreetMap", etc), only scan once per day, limit to lingua franca English wikis and only look at new section creations. Would this sort of thing be feasible on Toolforge? The defined keyword list would need some thought, but things like "OSM", "{convert}", and "copyright" are some of the things I would look out for.Commander Keane (talk)07:39, 25 November 2025 (UTC)[reply]

Just use search and order by edit date ?https://en.wikipedia.org/w/index.php?sort=last_edit_desc&search=openstreetmap+OSM&title=Special%3ASearch&profile=advanced&fulltext=1&ns1=1TheDJ (talkcontribs)08:28, 25 November 2025 (UTC)[reply]

Package installation help

[edit]

Not the right place to ask, but I wondered if any of the experts here might be able to help meover at meta with a font package installation question for a tool.Sean.hoyland (talk)17:04, 25 November 2025 (UTC)[reply]

Talk:The Amazing Race 7

[edit]

The archiver does not seem to be working atTalk:The Amazing Race 7. Any advice or help would be appreciated!Bgsu98(Talk)21:19, 25 November 2025 (UTC)[reply]

I think the bot just didn't understand the timestamps. I did it manually.Izno (talk)21:31, 25 November 2025 (UTC)[reply]
Thank you so much!Bgsu98(Talk)21:51, 25 November 2025 (UTC)[reply]

Hex Triplets UTC

[edit]

The table below was taken fromHexadecimal clock and truncated by way of showing thehex triplet colors. The nine used (#0000, 0100, #0200, #0400, #0800, #1000, #8000, #F000, and #8000) are upon review, however, all zeroed out, i.e. the numerals are all zero. Get back into editing, and lo! they are all back. Most curious!

https://en.wikipedia.org/wiki/User:Kencf0618/sandbox

no name#0000000%0%0%0°0%0%0%0%
no name#0000000%0%0%0°0%0%0%0%
no name#0000000%0%0%0°0%0%0%0%
no name#0000000%0%0%0°0%0%0%0%
no name#0000000%0%0%0°0%0%0%0%
no name#0000000%0%0%0°0%0%0%0%
no name#0000000%0%0%0°0%0%0%0%
no name#0000000%0%0%0°0%0%0%0%
no name#0000000%0%0%0°0%0%0%0%

kencf0618 (talk)02:48, 26 November 2025 (UTC)[reply]

@Kencf0618: The documentation atTemplate:Colort/Color lists the template parameters; they all have names. Your examples do not name the parameter, so it is being ignored. --John of Reading (talk)07:41, 26 November 2025 (UTC)[reply]
I've added a working example to your sandbox. --John of Reading (talk)07:51, 26 November 2025 (UTC)[reply]
I don't need the hex triplet to be generated by the color; I need the hex triplet to generate the color. Thanks.kencf0618 (talk)14:01, 26 November 2025 (UTC)[reply]

Are Page Previews on by default for new logged-in users?

[edit]

mw:Page Previews § FAQ says "Is this enabled by default for logged-in users? No." Is that correct for the English Wikipedia? I'm asking because atHelp talk:Link § "The tooltip does not show the page one will arrive at." some logged-in users say Page Previews were on by default for them. They're on for me, but I don't remember whether that was by default or I turned them on, and I don't know how to check. I could create a new account just to test this, but that seems a bit wasteful. :-) Ideally, an answer would point to somewhere in the MediaWiki source code, or on Phabricator, or a configuration here on enwiki, or an official announcement. That would be awesome. Thanks! —Chrisahn (talk)04:11, 26 November 2025 (UTC)[reply]

P.S. I checked my account on a couple of other Wikimedia projects. Page Previews are off for them, and I don't think I turned them off, so it looks like the claim "Is this enabled by default for logged-in users? No." is correct for most other projects. P.P.S. I think I recall that Page Previews were enabled by default on the German Wikipedia a few years ago, but I didn't like them at first and turned them off. Maybe the claim in question is correct for most (all?) projects except enwiki and dewiki? —Chrisahn (talk)04:18, 26 November 2025 (UTC)if[reply]
@Chrisahn: I triedSpecial:Preferences/reset in an alternative account and Page Previews was disabled after the reset.PrimeHunter (talk)12:05, 26 November 2025 (UTC)[reply]
Thanks! Another question: The answer below says Page Previews is enabled by default for users registered after 16 August 2017. Was your alternative account registered before this date? Then it would make sense that reset disables Page Previews. I guess it resets the preferences to the original settings for the account, not to the settings a new account would get. Thanks a lot for your answer! —Chrisahn (talk)15:08, 26 November 2025 (UTC)[reply]
@PrimeHunterChrisahn (talk)15:09, 26 November 2025 (UTC)[reply]
@Chrisahn: It wasPrimeHunter3 from 2012.PrimeHunter (talk)16:41, 26 November 2025 (UTC)[reply]
Thanks! No contradiction with the other findings then. Good! :-) —Chrisahn (talk)16:50, 26 November 2025 (UTC)[reply]
The FAQ seems a bit out of date. The actual configuration can be found here:[6] which says:

Users registered after Popups launch on 16th August 2017 will get page previews and references previews enabled by default. Any user registered before this date will get the value defined in $wgPopupsOptInDefaultState (defaults to "0").

The per-wiki values for $wgPopupsOptInDefaultState can be found here:[7] (on for a few Wikivoyages, off elsewhere)
So to answer your question directly, Page Previews are on by default for new logged-in users (and for many "old" logged-in users too).Matma Rextalk13:34, 26 November 2025 (UTC)[reply]
@Matma Rex: Thanks a lot for this very thorough answer! I'll use this information to updatemw:Page Previews § FAQ. —Chrisahn (talk)15:01, 26 November 2025 (UTC)[reply]

Commons icon link on file pages

[edit]

On a Wikipedia file page likeFile:Example.png, where it's a file from Commons, if you click the Commons icon in the top right, it currently takes you to the Wikipedia page for that icon,File:Commons-logo.svg. It used to take you to the Commons version of the file you were looking at.

This is possibly a very recent change to a template or the backend, as I only started encountering it yesterday, presumably it being my muscle memory way of navigating to Commons from a Wikipedia file page.archive.org shows that it changed less than a month ago.

Worth changing back, if this is a simple template issue? Few users would want or expect to be taken to the logo SVG page when clicking the icon.Belbury (talk)10:07, 26 November 2025 (UTC)[reply]

It's a change made for licensing reasons. It has been recently discussed and I'm trying to find the previous discussion.Nthep (talk)11:22, 26 November 2025 (UTC)[reply]
Wikipedia:Village pump (technical)/Archive 225#Change in File Page Link BehaviourNthep (talk)11:24, 26 November 2025 (UTC)[reply]
Aha, thank you. That makes sense, then, as things stand with the licence.Belbury (talk)11:46, 26 November 2025 (UTC)[reply]

Czechia and Türkyie

[edit]

Recently, all international sports federations have been using the names Czechia and Türkyie, instead of the official names Czech Republic and Turkey. That's quite weird. And even weirder, many Wikipedia editors use these names as an additional parameter in sports templates:

  • {{bk|CZE|name=Czechia}} produces Czechia
  • {{bk|TUR|name=Türkyie}} produces Türkyie

And that really annoys me. It would be nice to write an essay on this topic; how to use/not use these name parameters. Alternatively, we could start thinking about modifying the country-data templates.Maiō T. (talk)13:35, 26 November 2025 (UTC)[reply]

I don't think this belongs here. It's not a technical question. —Chrisahn (talk)14:02, 26 November 2025 (UTC)[reply]
I wrote a response atUser talk:Maiō T.#Czechia and Türkyie,but I guess you should post your comment on the talk page of the page where you found your example. Maybe you can convince the editors there that other names should be used.Chrisahn (talk)14:08, 26 November 2025 (UTC)[reply]
I just saw that you posted similar requestshere two months ago andhere two days ago, so I'll strike my suggestion above. :-) —Chrisahn (talk)14:43, 26 November 2025 (UTC)[reply]
Agreed, not a technical issue. See the recent move request atTalk:Czech Republic to see why changing the country data template would not be a good thing at the moment.Nthep (talk)14:09, 26 November 2025 (UTC)[reply]
Okay, the discussion regarding "Czechia" continues here:Template talk:Country data Czech Republic#"Czechia" as sports name aliases, and as for "Türkyie", I hope I never find that word in sports articles again.Maiō T. (talk)11:44, 27 November 2025 (UTC)[reply]
If you do encounter "Türkyie", please change it to "Türkiye", as that's the correct spelling. :-) I'd not recommend changing "Türkiye" to "Turkey" though, at least not where "Türkiye" is the name recognized by the respective sport's main international organization. Before you make such changes, you should discuss them. —Chrisahn (talk)12:08, 27 November 2025 (UTC)[reply]

The User Info card will be enabled for patrollers

[edit]
Mockup of the User Info card

Hello, I'm writing on behalf of the Wikimedia FoundationProduct Safety and Integrity team. Over the past few months, we have been working on theUser Info card. When you tap or click on the "user avatar" icon button next to a username, it displays data related to the user account. It helps access key information that can be helpful while patrolling. The feature is available for all users inpreferences as well as global preferences ("User Info" under "Advanced options").

We released the feature on all wikis, saw good feedback and at this point, we believe that we can go further. Enabling it by default for some user groups will make their workflows simpler and more efficient, especially in the temporary accounts world. Specifically in relation to temporary accounts, the User Info card highlights if another user has turned on the ability to view temporary account IPs and provides an estimated number of temporary accounts from associated IP addresses.

We are planning to enable this feature by default foradmins, checkusers, rollbackers and Temporary accounts IP viewers (TAIVs). The feature can be easily disabled in preferences.

We will be making this change tomorrow. Do you have any questions? Thanks!SGrabarczuk (WMF) (talk)16:18, 26 November 2025 (UTC)[reply]

What does by default mean? Will it be enabled for me too even though I enabled/disabled it in the past? (because popups felt superior, and it doesn't require an extra click!) —DVRTed (Talk)22:40, 26 November 2025 (UTC)[reply]
Hey, I'm guessing that it'd appear for each user with any of these rights, regardless of whether they've enabled or disabled the preference before or not. But I will ask my colleagues to confirm this.SGrabarczuk (WMF) (talk)22:52, 26 November 2025 (UTC)[reply]
@DVRTed if you've already disabled it, it should not be re-enabled for you.KHarlan (WMF) (talk)09:37, 27 November 2025 (UTC)[reply]
@KHarlan (WMF): I'd previously enabled then disabled it for testing, but it was re-enabled for me.Graham87 (talk)11:54, 27 November 2025 (UTC)[reply]
Oh. I'm sorry, that is unexpected. When I tested that behavior a few months ago, I recall that conditional defaults would not override a locally or globally set preference.KHarlan (WMF) (talk)11:59, 27 November 2025 (UTC)[reply]
I checked my user preferences and it has become set although I did not set it, but there is no such functionality.Hawkeye7(discuss)18:39, 27 November 2025 (UTC)[reply]
Scratch that. They appeared after I did a forced reload (see below).Hawkeye7(discuss)19:12, 27 November 2025 (UTC)[reply]

I would like to publicly thankSGrabarczuk (WMF) and the other WMF developers who worked on this feature for listening to the feedback that early testers provided and making changes to the cards in order to make them more accurate. Good work. –Jonesey95 (talk)17:48, 27 November 2025 (UTC)[reply]

@SGrabarczuk (WMF) Maybe we can do this for NPP folks as well?Sohom (talk)18:24, 27 November 2025 (UTC)[reply]
Thanks Jonesey! I'm glad that you like the feature and I hope it will help many community members.
@Sohom Datta, this is totally doable, although we'd need to work on themw:Extension:PageTriage to have the button render there. Let's keep in touch on this.SGrabarczuk (WMF) (talk)21:02, 27 November 2025 (UTC)[reply]
@SGrabarczuk (WMF): Can we also have this before the signature of every TA? I find this feature rather helpful, especially the "temporary accounts from all associated IPs" part. It might also be beneficial to have it in SPI socklists (example).ChildrenWillListen (🐄 talk,🫘 contribs)00:40, 28 November 2025 (UTC)[reply]
The user icon is too distracting for me in page histories so I have changed it to with this inyour CSS:
.ext-checkuser-userinfocard-button__icon--userAvatar{mask-image:url("https://upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Infobox_info_icon.svg/20px-Infobox_info_icon.svg.png");}
PrimeHunter (talk)21:43, 27 November 2025 (UTC)[reply]

Tiny heads

[edit]

Is there a way to get rid of the million tiny heads that are now cluttering almost every page that has usernames? It's visually utterly useless.--jpgordon𝄢𝄆𝄐𝄇20:05, 27 November 2025 (UTC)[reply]

InSpecial:Preferences#mw-input-wpcheckuser-userinfocard-enable ("Enable the user info card"), but note that if you click on the icons, it does provide potentially-useful info. See the related thread above#The User Info card will be enabled for patrollers for more context. HTH.Quiddity (WMF) (talk)20:12, 27 November 2025 (UTC)[reply]
@Quiddity (WMF): It's pretty bugged at the moment—likely due to the recent changes to.mw-userlink, I assume.
Screenshot showing too many user account icons in my watchlist. This is with?safemode=1.
DVRTed (Talk)20:23, 27 November 2025 (UTC)[reply]
For idiots like me, please can you confirm how I can remove the little heads? They are annoying and distracting.GiantSnowman21:12, 27 November 2025 (UTC)[reply]
In your user-preferences, turn off the setting for "Enable the user info card". See the link in my comment just above. HTH.Quiddity (WMF) (talk)21:23, 27 November 2025 (UTC)[reply]
Perfect, thanks - but in future, can such changes be announced so people can opt in, rather than forcing us all to have it and then try and turn it off?GiantSnowman21:44, 27 November 2025 (UTC)[reply]
I found that the heads are clickable; clicking produces a pop-up box; near the top of that box is a three-dot icon, clicking that generates a menu which has "Turn off this feature", a direct link to the above setting. --Redrose64 🌹 (talk)22:08, 27 November 2025 (UTC)[reply]
I turned mine off too, via this route. I do use most of the info provided by the box on a regular basis perhaps once or twice a day. If the head icon wasn't so overwhelmingly distracting I might have left them there, but the distraction far far overwhelms the utility of the function. -WalterEgo10:06, 28 November 2025 (UTC)[reply]
Thanks for the feedback. WouldT402103: UserInfoCard: Add preference to display card on hover address your concern?KHarlan (WMF) (talk)10:24, 28 November 2025 (UTC)[reply]
That, for me, would be much better. I see somebody posted a screenshot there that amply demonstrates the problem!! -WalterEgo10:37, 28 November 2025 (UTC)[reply]
fwiw, I found that making the icons a bit lighter helped make them less distracting. I'm using
.ext-checkuser-userinfocard-button.cdx-button.ext-checkuser-userinfocard-button__icon.cdx-button__icon{background-color:#929AA1;}
AntiCompositeNumber (they/them) (talk)22:44, 28 November 2025 (UTC)[reply]
@Quiddity (WMF): Thank you! Unchecking this fixed my watchlist. However, I do wish that these sorts of things were opt-in. –bradv22:15, 27 November 2025 (UTC)[reply]
@DVRTed thanks for the report -- yes it is related to the mw-userlink bug fromT392775: Add link color for temporary usernames in content and discussion pages, and will be fixed on Monday whenFix mw-userlink class being added too broadly (mediawiki/core~1212439) is deployedKHarlan (WMF) (talk)09:58, 28 November 2025 (UTC)[reply]

WP:GEOLINK...what does it mean

[edit]

I came across an article where another editor had changed various geographical wikilinks from complete wikilinks to piped wikilinks:

  • [[Roanoke, Virginia]] to [[Roanoke, Virginia|Roanoke]],Virginia and
  • [[Halifax County, Virginia]] to [[Halifax County, Virginia|Halifax County]], Virginia.

The editor cited WP:GEOLINK as the reason. I know that Geolink states "For a geographical location expressed as a consecutive comma-separated sequence of two or more territorial units, link only the first unit." but the changes just look like a lot of unnecessary piping to me... -Shearonink (talk)03:53, 27 November 2025 (UTC)[reply]

This is not a technical question and you should ask on the relevant MOS talk page.Izno (talk)04:08, 27 November 2025 (UTC)[reply]
OK... Seemed technical to me. Thanks -Shearonink (talk)04:24, 27 November 2025 (UTC)[reply]

Weird shit on Vector save

[edit]

Saving on Vector appears to display the previous section, with the header hidden under the top bar. It looks like someone has tried to correct the old problem where the section header was just too high to be visible, and made it worse, by displaying the wrong header, also too high to be visible. This has been going on a couple of days now. I thought they would notice that it does not work and revert, but it is still happening. It is more annoying than the original problem and something of a time waster. Cheers, · · ·Peter Southwood(talk):06:49, 27 November 2025 (UTC)[reply]

Can you reproduce this bug consistently on a sandbox page? I've been trying to reproduce it in my ownsandbox but I cannot reproduce exactly what you're describing. I can only reproduce a different bug, whereby if two section-headings use identical text, and I edit from the second section-heading, then after saving it will show me the first heading (unexpectedly), but correctly located beneath the window-top (Vector) or the sticky header (Vector-2022).
P.s. Example locations/diffs almostalways helpa lot, in bug-reports! E.g. I tried looking at your contributions to try to identifywhere exactly you had encountered the bug, so that I could attempt to reproduce, and because I suspected it might be caused by collapsible templates/tables; however it doesn't seem to be from that, as I see you'd editedfreediving before writing this post, and I can't see any obvious causes for scrolling-misalignment (or duplicate headings) in that article.Quiddity (WMF) (talk)20:37, 27 November 2025 (UTC)[reply]
The edit does exactly what is supposed to do, it is the screen display that comes up on save that is offset. I can't see how I can show you the result that I get if it doesn't happen for you, but I will give it a go. The sticky header on Vector-2022 covers the section header. · · ·Peter Southwood(talk):04:17, 28 November 2025 (UTC)[reply]
I was getting the bug with every edit previous to the report that changed the content of a section without removing the whole section (I think). · · ·Peter Southwood(talk):04:21, 28 November 2025 (UTC)[reply]
Made a couple of edits in your sandbox and they work normally. I will try again somewhere else. · · ·Peter Southwood(talk):04:30, 28 November 2025 (UTC)[reply]
Made some edits in my sandbox. Adding text seems to work normally, deleting from inside a section returned me to top of page on saving. I tried logging out and it made no difference · · ·Peter Southwood(talk):05:20, 28 November 2025 (UTC)[reply]
This edit to the references section of Freediving returned to section "Fiction and documentaries", but near the bottom of the section. I reverted the edid and did it over, same result, same place. · · ·Peter Southwood(talk):06:08, 28 November 2025 (UTC)[reply]
This edit to section Safety in Freediving returned to section Training on save, also not right at the top · · ·Peter Southwood(talk):06:34, 28 November 2025 (UTC)[reply]

Skin Change sticks

[edit]

I want to change my skin to Vector legacy (2010) but I can't save it at all. All the time the skin is stuck on Vector (2022), even Monobook or other skins don't work. What is the problem?Demigorgen (talk)09:19, 27 November 2025 (UTC)[reply]

Describe the steps you're taking to try to change it.Nardog (talk)09:24, 27 November 2025 (UTC)[reply]
settings>>Preferences>>apperance>>skin>>vectore legacy>> save
but nothing happensDemigorgen (talk)12:06, 27 November 2025 (UTC)[reply]
Given your edit is tagged with "Mobile web edit", what you think is Vector 2022 might be Minerva, the mobile skin. If you see "Desktop" at the bottom of the page, click it.Nardog (talk)09:25, 27 November 2025 (UTC)[reply]
I'm not using mobile wp. I am using it on desktop.Demigorgen (talk)12:08, 27 November 2025 (UTC)[reply]
you were right, mobile versian had been enabled. thank you.Demigorgen (talk)12:14, 27 November 2025 (UTC)[reply]

.mw-userlink now applied to non-interface parts (edit summaries)

[edit]

Themw-userlink class is now applied to links to user in edit summaries and the like, making it impossible for gadgets and scripts to rely on the class being only in core interface parts. This potentially affectsdozens of scripts.Nardog (talk)14:41, 27 November 2025 (UTC)[reply]

They apparently wanted to be able to grey-background links to temporary accounts wherever those might appear, and usurped the "mw-userlink" class to do so. It may be worth filing a Phabricator task requesting they bring back a way to find the performing user in a watchlist orSpecial:RecentChanges row now that mw-userlink can also be applied to the page affected, the diff and history links, and links inside the edit summary.Anomie15:09, 27 November 2025 (UTC)[reply]
That task isphab:T392775.Izno (talk)17:27, 27 November 2025 (UTC)[reply]
That's the task for where they usurped the mw-userlink class.Anomie21:42, 27 November 2025 (UTC)[reply]
Hello! I'm sorry to have caused this issue... Extending the set of cases wheremw-userlinks is applied definitely wasn't planned nor needed for thetask I was working on (which is adding gray backgrounds to selected temp. user links in content area). For that, we had to change the code that's responsible for adding the user-related classes to the links, and alas, we didn't catch the unwanted change to the scope ofmw-userlinks.
Thepatch to fix the behavior has already been prepared and waits for CI and review. Given that this issue probably isn't a reason foremergency backport (which is the only kind of deployment allowed on Fridays), I expect the fix can be deployed to production on Monday morning.
Again, I'm sorry that this happened. As a person, who's part of the wiki communities, I feel how it is when gadgets break and require fixing. Unfortunately, this time, I'm at themore bitter side of things and I can't help immediately. I'll ensure, though, that the fix lands on production as soon as possible (which is unlikely to be today).MSzwarc-WMF (talk)08:35, 28 November 2025 (UTC)[reply]
Well, don't be so hard on yourself. In fact I'm pleasantly surprised you're reverting it—most of the time devs are like "tough luck" when this kind of thing happens.Nardog (talk)13:15, 28 November 2025 (UTC)[reply]

Why are my span.mw-usertoollinks modifier user scripts all messed up suddenly?

[edit]

Hi everyone! I did some code optimizations about a day ago to each of the following user scripts that I've used for a long time:User:Oshwah/History-Log-Links.js,User:Oshwah/Undelete-Log-Links.js,User:Oshwah/CU-Log-Links.js, andUser:Oshwah/AbuseFilter-Log-Links.js.

Basically, they modify the user tool links "(talk | contribs | block)" next to each user listed on the specific special page or area, and add more links to them to make performing actions much quicker.

Since the end of yesterday, suddenly, they're all completely messing up! They're now adding links to the wrong account or user from someone further up the list, and the scripts are now starting to set the "current_user" to "contribs" instead of the username of the current user to add user look links next to.

I'm stumped! I did make some code improvements to some of the scripts, but all four of them are having problems despite me only updating three of them. Rolling back all of my changes and clearing browser cache, the whole works, made no difference. What's going on? Can someone look at these scripts and maybe tell me if something has changed? They were all working perfectly fine up until when the user cards feature was deployed.

PLEASE HELP! I'd be forever in your debt and eternally grateful for any help, input, or guidance.... :-) (Please ping me in your responses, as I'm currently working on cleaning out my watchlist for being way too full...)~Oshwah~(talk)(contribs)17:06, 27 November 2025 (UTC)[reply]

Heyya, @Oshwah: I skimmed throughUser:Oshwah/History-Log-Links.js and wrote a patch atUser:DVRTed/sandbox/temp.js (diff). Note that there's still plenty of room for improvement in the script, but it shouldjust work... for now. Regards, —DVRTed (Talk)19:14, 27 November 2025 (UTC)[reply]
Welp, I didn't notice it's supposed to run onSpecial:Log too—currently, it only works on history pages. —DVRTed (Talk)19:19, 27 November 2025 (UTC)[reply]
DVRTed - Oh,trust me... I'm absolutelynot saying that the script I wrote is the best thing in the world code-wise. I happened to see the discussion made right above mine, and it looks like others have already beat me to it with their observations as well. Okay, cool! I'm justreally happy to know that it wasn't me that overlooked something and caused these scripts scripts to mess up. My thanks toIzno for nesting my cry for help under the discussion located above this one, and my sincere thanks to you,DVRTed, for taking the time to look through my really shitty JS code... :-)~Oshwah~(talk)(contribs)19:25, 27 November 2025 (UTC)[reply]
@OshwahThis should fix it:Special:Diff/1324467072. I've gotten rid of the flimsy indexing[i] too. —DVRTed (Talk)19:42, 27 November 2025 (UTC)[reply]
DVRTed - Thank youso much! Ugh... I was educated in C++ when I went to college, which is what I actually have my bachelor's degree in (whether you believe it or not, based off how awful my code is here...). What I need to do is find a resource that will help me to learn and get more familiar with JS and how it all works on the web vs my object-oriented programming mindset that's engraved into my brain. I wish there was something out there that could help me sharpen my skills with JS and with the MediaWiki libraries and built-in variables and functions... Thanks again; I owe you one... :-)~Oshwah~(talk)(contribs)19:52, 27 November 2025 (UTC)[reply]
Well,my only formal IT qualification is in COBOL. --Redrose64 🌹 (talk)22:11, 27 November 2025 (UTC)[reply]
@Oshwah Re:I wish there was something out there that could help me sharpen my skills with JS and with the MediaWiki libraries and built-in variables and functions. I found it all very overwhelming when I first started working with MW components, APIs, etc. I learned a lot simply by looking at existing userscripts. I've rewritten yourHistory-Log-Links from scratch with way too many comments, which might be useful for maintaining or debugging this script (and other related ones.) SeeUser:DVRTed/sandbox/temp.js.PS: I hope this gesture doesn't come off as patronizing—this is me genuinely trying to be helpful because it seemed like you could use some pointers. PPS: Happy coding! —DVRTed (Talk)01:58, 28 November 2025 (UTC)[reply]
DVRTed - Ohhell yes! Thank you for doing this! What you described and what you did for me isexactly what I needed! Looking at existing user scripts, forking some scripts and changing the code in order to customize them to my personal preference, and (at least attempting to) create some of my own scripts is exactly how I've managed to learn some of the MediaWiki libraries and (if anything) just how different JS is than the object-oriented programming mindset that I'm so used to. No, you're not coming off as patronizing or anything like that at all! This is really awesome and extremely helpful to me, and I seriously appreciate ita lot! Thank you. Now I just need to fix the other .mw-usertoollink scripts I wrote (such asthis one) so that they work properly as well. If I had working examples of these scripts performing exactly what I intent, it would provide mea lot of good information and learning.I hopethis response doesn't come off as me requesting you to spend more time and fix these other scripts as well. Either way, I'll eventually figure it out. Thanks again! :-)~Oshwah~(talk)(contribs)02:10, 28 November 2025 (UTC)[reply]
DVRTed - Ohhh,SWEET JESUS... You have absolutely no idea how awesome this is and how happy you made me. I almost shook my computer monitor violently in excitement when I looked through that code. I obviously have a shit ton to learn with JS vs C++ (as I've been saying), such as how the value assignment works on line 20 with your constant var declaration, why you putpubliclog_link into an array format[publiclog_link] on line 44, what${variable} does vs just enteringvariable, how the different built-in tools and functions work, and many many more things. Ugh, I just need to find a resource that can just teach me JS from the very beginning... You made me very happy, and I thank youvery much! :-)~Oshwah~(talk)(contribs)02:29, 28 November 2025 (UTC)[reply]
C++ is generally harder to learn, but understanding certain basics about Javascript makes it much easier to follow, and also certain basics about Javascript running in a browser environment. So I agree with your assessment about finding a good introductory resource :-). (Some key differences off the top of my head: Javascript is garbage collected, and much like Java and other newer languages, its variables can only hold values of a specific set of types or the equivalent of a C++ reference to an object. Thus an object isn't copied when one variable is assigned to another; both variables point to the same object. Although ECMAscript version 5 does introduce the concept of classes, and thus ways to scope symbols within a class, the older versions do not have classes, and the only way to scope symbols is to declare them locally within a function. That's why you'll see Javascript code do things like declare an anonymous function and invoke it immediately, in order to avoid introducing symbols into the global namespace. Javascript does have an interesting inheritance mechanism where each object can hold an object reference to a prototype object that gets searched for a matching property if none exists in the current object. (The prototype object can have its own prototype property; the search will go up the chain until a match is found or there are no more prototypes to search.) I don't believe Wikipedia supports ECMAScript 5 in user scripts so only prototype-based inheritance can be used. In a browser environment, there is a pre-defined window object, and all global variables are properties of the window object.)isaacl (talk)03:16, 28 November 2025 (UTC)[reply]
I don't believe Wikipedia supports ECMAScript 5 in user scripts so only prototype-based inheritance can be used.: User scripts run on your browser JS engine, and pretty much every modern browser has support for the class keyword.ChildrenWillListen (🐄 talk,🫘 contribs)03:27, 28 November 2025 (UTC)[reply]
As I recall, user scripts are validated before being served by the MediaWiki server, and the validator being used doesn't support ECMAscript 5.isaacl (talk)03:31, 28 November 2025 (UTC)[reply]
I don't recall user scripts being validated anywhere. I do get some spurious warnings when trying tosave some code that uses ES2022 private fields, but it works fine.ChildrenWillListen (🐄 talk,🫘 contribs)03:35, 28 November 2025 (UTC)[reply]
If that were the case, most, if not all, of the scripts I've written would be broken. —DVRTed (Talk)03:36, 28 November 2025 (UTC)[reply]
Well, I should start using classes, too then :-). As I recall, there was a Phabricator ticket about updating the validator; perhaps it has been resolved. (Or maybe I've confused it with a ticket for ECMAscript 6 support.)isaacl (talk)03:44, 28 November 2025 (UTC)[reply]
@Isaacl Weren't let/const, destructuring, etc introduced in ES6? All of them work a-OK!Optional chaining was introduced in ~ES11, which I'm using here:User:DVRTed/author-link.js#L-304. —DVRTed (Talk)03:57, 28 November 2025 (UTC)[reply]
ES6 and ES7 were supported as ofJanuary 2024. I believe ES5 was at a much earlier date.Izno (talk)03:59, 28 November 2025 (UTC)[reply]
Thanks for the update. Last time I suggested to someone to use "let" they told me it was unsupported, which was the last time I looked into it.isaacl (talk)04:01, 28 November 2025 (UTC)[reply]
Oh, and$(something) is functionality added by the jQuery library, so you can add reading a basic jQuery tutorial to the list. Nowadays, there is equivalent functionality in the Document Object Model API provided by the browser for a lot (most?) of the jQuery API, but some may still prefer the syntactic sugar of using something like$(".someParentClass .someChildClass") to fetch all matching elements.isaacl (talk)03:27, 28 November 2025 (UTC)[reply]
I'm glad it's helpful! For line 20,
constis_supported_page =special_pagename&&["Log", "Listusers"].includes(special_pagename);
It's checking ifspecial_pagename is a truthy value (it would befalse on a non-Special page)ANDif the current page name is included in the list of names; if both of these conditions are met,it is a "supported page." (MDN)
const new_links = [publiclog_link]; is so that the publiclog_link is addedbefore anything else; this is to maintain the order from your original script:talk, contribs, publiclog, [ip related links], [other links, i.e, block]. With template literals, instead of something like"Hello " + name + "!", you can simply write`Hello ${name}!`. Seehttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals that explains it very well. Regards, —DVRTed (Talk)03:52, 28 November 2025 (UTC)[reply]

Watchlist

[edit]

My watchlist seems to have become double-spaced. Is it just me?Hawkeye7(discuss)18:36, 27 November 2025 (UTC)[reply]

Mine was double-spaced temporarily, until I did a refresh and it's back to normal.Stefen𝕋ower's got the power!!1!GabGruntwerk18:46, 27 November 2025 (UTC)[reply]
Thanks for that! I did forced reload and mine returned to normal too.Hawkeye7(discuss)19:11, 27 November 2025 (UTC)[reply]
Please describe any preferences you may have set (or not set) on the relevant tab(s; RC options can also impact WL) in Special:Preferences. Also ensure that it is(n't) an issue with?safemode=1 appended.Izno (talk)18:47, 27 November 2025 (UTC)[reply]

Translation of English articles into Persian

[edit]

I want to translate and create articles from Persian (Persian Wikipedia) to English. How do I activate the toen wiki tool? What are the article translation tools and how do I activate them?AndisheyAzad (talk)23:12, 27 November 2025 (UTC)[reply]

You may reviewWP:CX. Your account is too new to use it here.Izno (talk)04:01, 28 November 2025 (UTC)[reply]

Providing the ability of modifying "Edit summary" for its publisher after publishing Wikipedia edits

[edit]

Hi, after publishing an edit, its "Edit summary" text is locked and is not modifiable, even for the publisher. This is not good, because publisher may have some typo or forgot some text ideas. I propose to correct the scenario so that only the publisher of an edit would have the ability of modifying an edit's "Edit summary" after publishing that. For example, in this history of articleTehran which isthis page, edit summaries are not modifiable. Thanks,Hooman Mallahzadeh (talk)11:53, 28 November 2025 (UTC)[reply]

This is a perennial idea which has never gained support. If you need to add to an edit summary, make aWP:Dummy edit to add a new summary.CMD (talk)13:01, 28 November 2025 (UTC)[reply]
@Chipmunkdavis Hi and thanks for your comment. I think this ability improves the "quality of an edit" significantly. A good "Edit summary" is one of the main aspects of an edit (in addition to time, editor name, byte size difference). In addition, I propose that ordinary editors have the ability of modifying "edit summaries" so that if the edit publisher is novice, other editors provide a good summary for that edit. Maybe such edit summary modifications should be logged into a database with a unique id to avoid related confusions. Even though it "has never gained support" I really propose to implement that. Thanks again.Hooman Mallahzadeh (talk)14:25, 28 November 2025 (UTC)[reply]
but then we have a history of a history, and you you would have to explain the change you mad in another edit summary.. in which you can make a mistake that you need to correct again. —TheDJ (talkcontribs)14:28, 28 November 2025 (UTC)[reply]
No! In fact, "Edit Summary Modifications" data should be kept in another Table, named "Edit Metadata Modification Table" and each "Edit Table" item should have a pointer which points to "Edit Metadata Modification Table". Then, modifications to edit summary are logged in that "Edit Metadata Modification Table".Hooman Mallahzadeh (talk)14:34, 28 November 2025 (UTC)[reply]
I also propose a dropdown list for "classification of edit", including items such as "Infobox correction", "Reference correction", "Lead sentence", etc.Hooman Mallahzadeh (talk)14:35, 28 November 2025 (UTC)[reply]

This isn't a technical issue. If you want to propose it, please go toWikipedia:Village pump (proposals) and raise it there.Nthep (talk)16:31, 28 November 2025 (UTC)[reply]

Or don't, since this has been discussed many times before and there's nothing new here. Seephab:T12105,phab:T15937,Wikipedia:Village pump (proposals)/Archive K#Ability to change edit summeries,Wikipedia:Village pump (proposals)/Archive 30#Being able to edit your edit summaries,Wikipedia:Village pump (technical)/Archive 44#Edit summary grace period?,Wikipedia:Village pump (proposals)/Archive 61#Ability to edit edit summary,Wikipedia:Village pump (policy)/Archive 83#Retrospective correcting of edit summaries,Wikipedia:Village pump (technical)/Archive 151#Correctable edit summaries after saving,Wikipedia:Village pump (technical)/Archive 164#Editing edit summaries,Wikipedia:Village pump (idea lab)/Archive 41#Option to change/edit "edit summaries" once published.,Wikipedia:Village pump (technical)/Archive 201#Why can't I correct my own summaries?, andm:Community Wishlist Survey 2015/Miscellaneous#Technical user right to edit summaries.Anomie17:37, 28 November 2025 (UTC)[reply]

Search

[edit]

"An error has occurred while searching: Search is currently too busy. Please try again later."

Just for documentation.—Vchimpanzee • talk •contributions •22:20, 28 November 2025 (UTC)[reply]

Retrieved from "https://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)&oldid=1324657273"
Category:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp