Cannabis Ruderalis

 Policy Technical Proposals Idea lab WMF Miscellaneous 
The technical section of the village pump is used to discuss technical issues about Wikipedia. Bug reports and feature requests should be made in Phabricator (see how to report a bug). Bugs with security implications should be reported differently (see how to report security bugs).

If you want to report a JavaScript error, please follow this guideline. Questions about MediaWiki in general should be posted at the MediaWiki support desk. Discussions are automatically archived after remaining inactive for five days.

Number of watchers[edit]

If you go to ?action=info for any page, you will see a table with various statistics, including two lines about how many people are watching the page, e.g.:

Number of page watchers 375
Number of page watchers who visited recent edits 12

For example, https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)?action=info for this page.

I am finding that the ratio shown here is not at all unusual for older articles, but the first line gets more attention from editors. They think "hundreds of editors are watching this page", when they should be thinking "almost nobody is watching this page". Is there a way we could remove/hide the irrelevant number from this info page? Or should we just change MediaWiki:Pageinfo-watchers to something like "Total number of watchlists (includes inactive editors)"? WhatamIdoing (talk) 04:53, 10 April 2024 (UTC)[reply]

I don't think we should localize that message. This topic was recently more broadly discussed in meta:Community Wishlist Survey 2023/Notifications, Watchlists and Talk Pages/Change information about the number of watchers on a page. — xaosflux Talk 09:38, 10 April 2024 (UTC)[reply]
phab:T336250 is open about this. — xaosflux Talk 09:40, 10 April 2024 (UTC)[reply]
@WhatamIdoing: It's certainly possible, the system message is MediaWiki:Pageinfo-watchers. We haven't created this, so we presently use the MW default message. --Redrose64 🌹 (talk) 16:17, 10 April 2024 (UTC)[reply]
I’m one of those who ‘think "hundreds of editors are watching this page", when they should be thinking "almost nobody is watching this page"’ ...
I think we should have that “second line” added to these pages (or replaced the “first line”):
--Dustfreeworld (talk) 18:30, 11 April 2024 (UTC)[reply]
I bet someone here could write a .css script that would blank that out, or rename it to something like "This is the wrong line – ignore it". I checked a bunch of Special:Random pages, and most of them showed no data, due to there being too few people watching the pages. WhatamIdoing (talk) 21:11, 11 April 2024 (UTC)[reply]
For hiding that row on the page information page on Wikipedia, try #mw-pageinfo-watchers { display: none; } in one of the .css files. –Novem Linguae (talk) 22:43, 11 April 2024 (UTC)[reply]
Thanks, @Novem Linguae. That seems to have worked for me. That suggests that iff we ever decided that we wanted to do that globally, it could be done in (e.g.,) global.css. I'm going to try this out for a while. I suspect that I'll like it. WhatamIdoing (talk) 22:32, 12 April 2024 (UTC)[reply]
#til:
If it's on <30 watchlists, no number is given for either item (the second item is simply suppressed).
If it's on ≥30 watchlists, an exact number is given for both items.
If the second number is zero, it says "There may or may not be a watching user visiting recent edits" instead of a second number. WhatamIdoing (talk) 23:53, 10 April 2024 (UTC)[reply]
Is there a way we could remove/hide the irrelevant number from this info page? I would not support removing this. Presenting both numbers, and letting the user decide which they want or need, seems like an acceptable status quo here. The less than 30 thing for non admins is for security reasons. Admins can see both numbers at all times. The linked phab ticket mentions changing the second message to mention 30 days explicitly. I could get behind a change like that. –Novem Linguae (talk) 02:05, 11 April 2024 (UTC)[reply]
Under what circumstances do you think it would it be useful for to you to know that the watchlists associated with 1,991 mostly inactive (and sometimes actually dead) include the defunct Wikipedia:WikiProject Contents?
The number of active editors presently watching that page is a single-digit number. I can understand why that number would be useful to know, but not why the first has practical value. WhatamIdoing (talk) 02:56, 11 April 2024 (UTC)[reply]
As far as I can tell, pages can be watched actively, without the user being considered active there - such as through email or syndication. — xaosflux Talk 08:45, 11 April 2024 (UTC)[reply]
Or by looking at the watchlist but not visiting the links. Nardog (talk) 09:43, 11 April 2024 (UTC)[reply]
I suspect that the scenario Nardog describes is far more common than the one Xaosflux describes. WhatamIdoing (talk) 18:32, 11 April 2024 (UTC)[reply]
That was an argument against hiding the total number of watchers. I was echoing Xaosflux. Nardog (talk) 05:58, 13 April 2024 (UTC)[reply]
I've never spent much time reading about the internal mechanism, but I believe that it works like this:
  • If you have some pages on your watchlist, and then get permanently locked out of your account, you are "a watcher" for all of those pages forever, even though you can't actually watch anything from that account.
  • If you have some pages on your watchlist, go to Special:Watchlist, close the tab without clicking on any link or visiting an article at all, and then get permanently locked out of your account, you are counted as "an active watcher" for all the pages on your entire watchlist for the next 30 days (including pages that did not have any changes made, so they weren't listed at Special:Watchlist on the day that you visited that page).
This means that there are 9 active editors with this page on their watchlist, of which an unknown number – but it is quite possibly zero – actually looked at the page in question during the last month.
So Xaosflux says, yes, there may only 9 editors who have that page on their watchlists and actually went to Special:Watchlist at any point during the last 30 days, but maybe a few more people also get e-mail messages about changes to articles on their watchlist, so the "9" might be a slight undercount.
The scenario you describe – visiting the watchlist but not checking every page – is certainly common. The "9" is probably an overcount, if the goal is to know whether anyone actually checked the specific page. WhatamIdoing (talk) 02:54, 15 April 2024 (UTC)[reply]
WhatamIdoing, I don't believe merely viewing the watchlist makes you an active watcher. — Qwerfjkltalk 07:45, 15 April 2024 (UTC)[reply]
You're correct. The count uses the same "first unseen timestamp" data used for highlighting of unseen edits on the history page. If a revision older than the configured age would be highlighted, the user is not counted as having visited recent edits. Viewing the watchlist or history page doesn't reset that, while visiting the page itself will and viewing old revisions or diffs may. Anomie 11:41, 15 April 2024 (UTC)[reply]
Thanks. I have corrected the errors I introduced last week to Help:Watchlist ("Number of page watchers:  3,644; Number of page watchers who visited recent edits: 29; Number of editors who noticed my error:  0").
The "visited recent edits" should probably be changed to "visited the page recently". I think most editors will interpret this as "checked a diff" (i.e., the edit) instead of "clicked on the article" (e.g., displayed the page via Special:Random). WhatamIdoing (talk) 16:42, 15 April 2024 (UTC)[reply]
Does hovering over the diff with WP:POPUPS count as "visiting" the edit? I rarely click on anything unless the popups diff is unclear, or I want to investigate the history. Suffusion of Yellow (talk) 16:47, 15 April 2024 (UTC)[reply]
That doesn't reset the "first unseen timestamp" (a fact that I've found particularly convenient). WhatamIdoing (talk) 17:43, 15 April 2024 (UTC)[reply]
Personally, I would interpret "visited the page recently" to mean "visited the current version of the page recently". I think the natural assumption is that "page" without a qualifier refers to the current version. isaacl (talk) 16:59, 15 April 2024 (UTC)[reply]
Would you feel the same about "visited the page during the last 30 days"? WhatamIdoing (talk) 17:44, 15 April 2024 (UTC)[reply]
I think referring to a time-bound period does change the natural assumption to having viewed the page as it appeared at the time of viewing during the specified period. I don't think it would be interpreted as having checked a diff. isaacl (talk) 16:56, 20 April 2024 (UTC)[reply]
I like the idea of having clarity.
BTW, I'm finding that I'm happy with the script @Novem Linguae wrote for me. I'm still sometimes startled to see that there's only the one line, but it gives me the information that I want, and if for some reason I need to see the number of inactive accounts, it's only one incognito/private window away. WhatamIdoing (talk) 19:11, 22 April 2024 (UTC)[reply]

Why does the talk page visual editor not have a "cite" button?[edit]

Am i missing something, or is it impossible to automatically cite urls from the talk page visual editor? Yes, you can use the source editor, but is there a specfic reason why this is? Is there any way to get a more featured editor on the talk page visual editor? MarkiPoli (talk) 12:14, 16 April 2024 (UTC)[reply]

Not sure if it's intentional, but the keyboard shortcut Ctrl+Shift+K (Cmd+Shift+K on macOS) still works for this. the wub "?!" 13:17, 16 April 2024 (UTC)[reply]
Yeah, i noticed that too. Its still annoying not having a full featured editor exactly the same as the main page editor MarkiPoli (talk) 09:39, 17 April 2024 (UTC)[reply]
There's some things that're not allowed there because they don't work well in list-indented discussions, but mostly it's because of space constraints for the toolbar. The compromise is that the things left out are more on the power-user end (e.g. citations are very rarely used in discussions), and we hope that power-users will be able to use keyboard shortcuts and sequence triggers for these things. (You can press ctrl/cmd + ? to see all the options here. Or type \ if you're in visual mode for a nifty command-palette...) DLynch (WMF) (talk) 16:04, 17 April 2024 (UTC)[reply]
Or edit the full page in source mode with all the bells and whistles of course. —TheDJ (talk • contribs) 19:49, 17 April 2024 (UTC)[reply]
Yeah, but they said they already knew about that. :D DLynch (WMF) (talk) 21:05, 18 April 2024 (UTC)[reply]
@MarkiPoli, it's at least theoretically possible. Look at this diff (noting that @DLynch (WMF) has not yet promised to maintain it for the rest of my life). Since we can add a special character button from the visual editor, it should be possible to add other buttons. WhatamIdoing (talk) 19:17, 22 April 2024 (UTC)[reply]
Maybe I'm missing something, but I don't see a need for this. Could you give me an example? Thanks --- thetechie@enwiki: ~/talk/ $ 19:32, 22 April 2024 (UTC)[reply]
If you want to make a citation so that others can easily see it and potentially copy paste it into the article if useful (if its part of a discussion and can't be immediately put in the article for some reason i.e. its contentious). Also, a gaping flaw that's worse in my opinion is there's no real way to even insert templates at all in the replier (it literally says that wikitext is not allowed in the visual reply editor when it doesnt say this in the article editor). Is there any way at all to insert templates in the visual talk page editor without switching to source? MarkiPoli (talk) 19:49, 22 April 2024 (UTC)[reply]

AFD Stats not updating grid templates[edit]

AFD Stats not updating on the individual grid templates — Maile (talk) 18:23, 16 April 2024 (UTC)[reply]

@Maile66 It looks okay to me. Can you describe in more detail the problem that you are experiencing? --Ahecht (TALK
PAGE
) 18:33, 16 April 2024 (UTC)[reply]
The top listings are from yesterday, the 15th. I have made two deletes today that are not showing up there. The change is usually instantaneous if I reload the grid page. — Maile (talk) 18:41, 16 April 2024 (UTC)[reply]
@Maile66 Per toolforge:replag, there is currently about 2 hours of lag on the enwiki database replicas that all toolforge tools use, likely related to the database maintenance mentioned in #pagelinks normalization above. --Ahecht (TALK
PAGE
) 19:12, 16 April 2024 (UTC)[reply]
Thanks. I'll just wait out. — Maile (talk) 19:19, 16 April 2024 (UTC)[reply]
And now it's up to over 4 hour lag and my Quarry and bot reports are not updated. I hope this is not a maintenance tasks that takes several days. Work will just pile up. Thanks for pointing out the message from yesterday. I assume this will affect database and bot reports and not article content, right? Liz Read! Talk! 22:03, 16 April 2024 (UTC)[reply]
Yeah, I was just re-checking, and it's now been 4-plus hours for me on the above AFD Stats. — Maile (talk) 22:30, 16 April 2024 (UTC)[reply]
@Liz and Maile66: do you think we start a bug report? Found this thread through my watchlist and looks like it is a bug that should be reported. thetechie@enwiki: ~/talk/ $ 22:32, 16 April 2024 (UTC)[reply]
I think that's a good idea. Do you know how to do that? This might affect even more processes than we've mentioned above. — Maile (talk) 22:36, 16 April 2024 (UTC)[reply]
@Maile66: This page is a good start. You should follow the instructions there to create a Phabricator account, then you can create a bug report. If you need me to, I can, and I can give you the link. If you or Liz does, please put the link in this thread, I'd like to keep track of it. thetechie@enwiki: ~/talk/ $ 22:44, 16 April 2024 (UTC)[reply]
@TheTechie: that would be great if you would start it. — Maile (talk) 22:51, 16 April 2024 (UTC)[reply]
Okay, I will when I can, and will drop the link below. I'll be sure to ping you. thetechie@enwiki: ~/talk/ $ 22:52, 16 April 2024 (UTC)[reply]
Done, see here: https://phabricator.wikimedia.org/T362732 thetechie@enwiki: ~/talk/ $ 23:26, 16 April 2024 (UTC)[reply]
Thanks, TheTechie, for starting this but the bug report just mentions AFD stats, not Quarry queries or any of the bot reports. Liz Read! Talk! 23:31, 16 April 2024 (UTC)[reply]
I edited my original post. thetechie@enwiki: ~/talk/ $ 01:48, 17 April 2024 (UTC)[reply]
 Thanks I added my issue. Seems I already had a Phabricator account. It's been such a long time since I was over there, I had forgetten. — Maile (talk) 23:39, 16 April 2024 (UTC)[reply]
Yes, my primary participation is subscribing and following problems not filing reports. The discussion there goes over my head once it stops being English and starts into code. Liz Read! Talk! 01:15, 17 April 2024 (UTC)[reply]
Looks like it's fixed. Now finally, I can view my mainspace edit count without 1 day of lag. Stay safe, thetechie@enwiki: ~/talk/ $ 00:16, 18 April 2024 (UTC)[reply]
As of today, April 24, the issue has returned. I have filed Phabricator Task T363077, hoping this resolve it once and for all. — Maile (talk) 21:03, 21 April 2024 (UTC)[reply]
This issue cannot be resolve[d] once and for al[l]. There will be spurts of replag lasting a few hours to a day from time to time, for the foreseeable future. * Pppery * it has begun... 21:10, 21 April 2024 (UTC)[reply]
And my understanding is that these Phabricator tasks are not helpful - with only one exception I can think of replag has been due to deliberate database maintenance that the people involved are aware of the impact of, and it will resolve itself when its done. * Pppery * it has begun... 21:15, 21 April 2024 (UTC)[reply]
Thank you. At last, someone has given us some insight on how this works. — Maile (talk) 21:21, 21 April 2024 (UTC)[reply]
Well, looks like I was mistaken and this report was helpful, and this replag instance was a real standalone bug not an expected consequence of database maintenance. So, I guess you can report it, but sometimes you will get "this is a known issue that the DBAs are working on" ("DBA" is an acronym for database administrator). * Pppery * it has begun... 21:29, 21 April 2024 (UTC)[reply]
Thank you for all this insight. I have previously come across "this is a known issue ... " and usually just back off on those types. — Maile (talk) 21:41, 21 April 2024 (UTC)[reply]
As of right now, this has not yet been resolved. — Maile (talk) 11:31, 22 April 2024 (UTC)[reply]
maybe resolved at ~16 UTC. see phab:T363077#9733128. Jeremyb (talk) 15:27, 22 April 2024 (UTC)[reply]
thumbs up Great! Wow - it's working today. Thanks. — Maile (talk) 15:53, 22 April 2024 (UTC)[reply]

Infobox television[edit]

Infoboxes keep shrinking on mobile view. Can someone please fix. Key limes (talk) 23:41, 16 April 2024 (UTC)[reply]

@Key limes Please provide an example article where you are having this issue. Izno (talk) 23:48, 16 April 2024 (UTC)[reply]
Local 58, Backrooms (web series) etc. I believe someone changed the parameters. Key limes (talk) 23:53, 16 April 2024 (UTC)[reply]
Ok, I don't see any "shrinking" in mobile view for the Backrooms article. What do you mean by that statement? Izno (talk) 00:00, 17 April 2024 (UTC)[reply]
When logged in, it’s normal. When logged out it is smaller,skinnier. Lines separating director, genre etc are gone. Words are squished together. Key limes (talk) 00:05, 17 April 2024 (UTC)[reply]
@Jon (WMF), I can reproduce this in a private window. hacks.less seems not to be loading for mobile right now? The styles show up when I plug ?debug=1 into the URL but not without. Izno (talk) 01:39, 17 April 2024 (UTC)[reply]
Filed phab:T362747. hgzh 06:31, 17 April 2024 (UTC)[reply]
I need a bit more information for this one. Can someone upload a screenshot or a video of the issue? And just to double confirm we are talking about the mobile domain in an incognito window, right? e.g. https://en.m.wikipedia.org/wiki/Backrooms_(web_series)
Since Izno could fix this with debug=1 I'm currently inclined to think this is some kind of caching problem that can be fixed by ?action=purge but I want to make sure there isn't a bigger issue here.
https://en.m.wikipedia.org/wiki/Backrooms_(web_series) looks like it's working as expected right now. Can somebody also please confirm that's true? Jon (WMF) (talk) 14:11, 17 April 2024 (UTC)[reply]
Yes, that page looks correct now. I'm kind of wondering how this could have been caused by caching I guess, since the rules were added/removed at the same time, targeting the same ultimate element. Izno (talk) 20:48, 17 April 2024 (UTC)[reply]

Print options gadgets[edit]

It's been a few years now that this hasn't worked User:TheDJ/Print options..... Should we not remove this from our Gadgets€preferences under gadgets? It doesn't come up often but a few times a year I see people inquiring about this at the help desk. Just wondering if there's routine testing of our gadgets to ensure they're still functioning? Moxy🍁 03:29, 17 April 2024 (UTC)[reply]

What do you mean hasn't worked ? Works fine for me. Where are the bug reports ? —TheDJ (talk • contribs) 10:03, 17 April 2024 (UTC)[reply]
When selecting something like hide images or high references... these function do not work. For example can't get an output like this. User talk:TheDJ/Print options mentions this but to no avail.Moxy🍁 21:38, 17 April 2024 (UTC)[reply]
I just tested again with both Safari and Chrome and both options work for me. —TheDJ (talk • contribs) 08:42, 18 April 2024 (UTC)[reply]

Database replication lag[edit]

Replication lag

The database on which this query was executed has a synchronization delay with the wiki. This can be caused by maintenance or incident on database, and should be resolved soon. The modifications that was made in last 20 hours on the wiki are not taken into account in results bellow.

Just bellowing here to make sure that someone in charge is aware of this, and working to resolve it. Every time I've checked in for the past several hours, the lag has grown longer; there is no sign as yet that it's started to get shorter again. I searched for a Phabricator, and couldn't find any. Would like to have some idea of the meaning of "soon" in this case. wbm1058 (talk) 14:08, 17 April 2024 (UTC)[reply]

@Wbm1058 See the #AFD Stats not updating grid templates discussion above or T352010. Per the phab ticket, it should resolve itself in the next 2-4 hours. --Ahecht (TALK
PAGE
) 14:41, 17 April 2024 (UTC)[reply]
Thanks! Aha, I didn't find this because T362732 "enwiki_p database replica has stopped updating" doesn't match the search string "replication lag".
I was pinged to the #pagelinks normalization discussion, but that discussion did not warn me that the process of "normalizing" pagelinks would temporarily abnormalize database replication. – wbm1058 (talk) 15:03, 17 April 2024 (UTC)[reply]
"normalize" in this context refers to database normalization. * Pppery * it has begun... 15:08, 17 April 2024 (UTC)[reply]
Lag is now 12 hours and rising again. Certes (talk) 10:32, 22 April 2024 (UTC)[reply]
I noticed that too. Also discussed above at #AFD Stats not updating grid templates.
"FWIW, this is a data corruption issue. Last time it happened on sanitarium hosts the whole system went down for a week. I'm trying to figure out if I can avoid re-cloning the whole host (which would take a lot of time, potentially weeks) and only reclone the corrupted table but there is no easy way to do this AFAICS." wbm1058 (talk) 10:51, 22 April 2024 (UTC)[reply]
maybe resolved at ~16 UTC. see phab:T363077#9733128. Jeremyb (talk) 15:26, 22 April 2024 (UTC)[reply]

"Reviewed an image suggestion" user log entry[edit]

Does anyone know what "reviewed an image suggestion" means and its use? See this user's log for an example. S0091 (talk) 20:35, 17 April 2024 (UTC)[reply]

This appears to be coming from the Android app. I can't find the option to try it out, even in the Alpha version, but at first glance this seems to be a privacy violation. We've never publicly logged pages that people were just viewing (or previewing an edit for) but decided not to edit. Is it being disclosed, up front and clearly, that the choice not to edit will be visible to the whole world? Suffusion of Yellow (talk) 21:03, 17 April 2024 (UTC)[reply]
@DBrant (WMF): How can I try out this feature? All I see under "suggested edits" is "Article descriptions", "Image captions", and "Image tags". And is my assumption correct, that we are logging when someone decides not to edit a page? If so, are they told that their username, along with the page they were viewing, is being publicly logged? Suffusion of Yellow (talk) 21:36, 17 April 2024 (UTC)[reply]
Alright, for some reason it doesn't work for me on the enwiki or testwiki, but I found it on the desktop site at es:Special:Homepage. I was told that Your answers improve future suggestions. but for all I would know, that just means I'm training an AI or something. There was no indication that by clicking "Submit", this log entry would be created, and my name would be publicly recorded. This feature needs to be disabled. Suffusion of Yellow (talk) 23:08, 17 April 2024 (UTC)[reply]
  • This is a "growthexperiment" log type. Pings to @Trizek (WMF) and KStoller-WMF: who can hopefully point to the documentation. Notably, @Suffusion of Yellow: this doesn't say it is about "viewing" but about "reviewing" so I'm assuming there was an affirmative user action performed here other than reading. — xaosflux Talk 00:07, 18 April 2024 (UTC)[reply]
    You're asked if an AI-selected image should be in an article. If you click "Yes", you're given an opportunity to add it. If you click "No", you're asked why, but not told that your "No" is going to be made public. This is equivalent to logging every time someone previews an edit, and then abandons it. Suffusion of Yellow (talk) 00:17, 18 April 2024 (UTC)[reply]
    I think that is a bit of a stretch. Patrolling essentially is similar in nature and we don't warn from the interface that those actions are publicly logged either. I do see however that the barrier to entry is significantly lower here, so some additional caution might indeed be warranted. —TheDJ (talk • contribs) 08:28, 18 April 2024 (UTC)[reply]
    Thanks for the ping! The Android app is indeed using the same underlying API as the Growth team, but their implementation is a little different: Android/Image_Recommendations I'll follow up with that team and ask them to review this discussion. Thanks, - KStoller-WMF (talk) 16:51, 18 April 2024 (UTC)[reply]
Hi @S0091@Suffusion of Yellow@TheDJ and @Xaosflux,
@DBrant (WMF) is under the weather, I think I've coordinated with each of you before at some point, but I am Jaz the PM for the apps.
"Reviewed an image suggestion" means that someone determined that an Machine suggested image for an article is either adequate for an article, and the subsequently adds that image OR the image is not adequate (rejected). The reason it is important to track is so that we can remove bad recommendations from the stack that we share with the Growth experiments. Do we need to publicly log this information? Probably not, I am investigating why we are showing rejecting a suggestion publicly, if there isn't a super compelling reason, I will ensure we suppress the public log but still send the API call that is necessary for the feature.
As far as accessing the feature, you'll need to be:
  • Logged In
  • Set your app primary language as one where you have more than 50 unreverted edits
If you follow these steps and are still unable to see the feature, would you kindly file a task and screen record the steps you are taken, because that would be a bug. The feature is available in both the Beta version of the app and the production version.
The requirement of having over 50 unreverted edits for the language wiki you are using the feature in is the implementation difference that @KStoller-WMF. Under the hood and the flow of the feature is the same, however who has access to it is different. The Growth implementation is available to new editors on select wikis and we use the same API. New editors do not have access to this suggested edit task on the app.
The onboarding and guidance for the feature on Desktop is not the same as on Android. For example, on this screen we do let users know that their answers improve future suggestions.
Once DBrant is back in office (fingers crossed he's feeling better tomorrow) our team will update this thread about removing the rejection log. JTanner (WMF) (talk) 19:05, 18 April 2024 (UTC)[reply]
Thanks. I don't like putting using my main password on my phone, so I had used an alternate account with only a few edits. Honestly I spoke too quickly when I said "this feature needs to be disabled". So long as the messaging is changed to be more like MediaWiki:Thanks-confirmation2 ("Publicly send thanks?") I don't think the log needs to be removed. The problem with "Your answers improve future suggestions" is that it sounds like I'm training an AI ("select all squares containing Sarah Connor"), or taking an anonymous survey. Suffusion of Yellow (talk) 19:42, 18 April 2024 (UTC)[reply]
Thanks @Suffusion of Yellow this is helpful, digging into the code we were able to determine the rejection log is coming from the Growth Experiments API, which means the rejection log publishes for the Growth Experiment implementation as well. We are going to coordinate with them on next steps to see what makes sense regarding the public log. @ARamadan-WMF will follow up with the link to any phab tickets should they be created to make the rejection log private.
In the meantime, I've created task T362935 to update the copy in the UI for the app should the decision be to keep it public. I've subscribed you to it @Suffusion of Yellow, I welcome all of you to subscribe and comment on the proposed language change. JTanner (WMF) (talk) 20:37, 18 April 2024 (UTC)[reply]
Thanks @Suffusion of Yellow and the WMF team for digging into this! S0091 (talk) 15:52, 19 April 2024 (UTC)[reply]

Both of these articles feature a template ({{Excerpt|) that is meant to display the material entered on a third article (Meryl Davis and Charlie White). The section marked Competitive highlights displays properly, while the section marked Detailed results does not. The templates appear to be identical. Please advise, and thank you! Bgsu98 (Talk) 20:53, 17 April 2024 (UTC)[reply]

@Bgsu98: {{Excerpt}} does not include subsections, so maybe that's what is omitted in that case? RudolfRed (talk) 01:16, 18 April 2024 (UTC)[reply]

Load the mobile version of this album on a cell phone. The section title "Song overview" displays vertically along the left side of the page, over top of the professional ratings. This does not duplicate on a desktop machine whether you load the mobile version or not. Home Lander (talk) 23:02, 17 April 2024 (UTC)[reply]

Fixed with https://en.wikipedia.org/w/index.php?title=Module:Music_ratings&diff=prev&oldid=1219528952 but this module should use template styles if anyone has the time to implement it. —TheDJ (talk • contribs) 08:52, 18 April 2024 (UTC)[reply]

Getting table captions to render with conditional statements[edit]

Per MOS:DTAB (and general accessibility best practices), all data tables must have a table caption. {{Linescore}} is a template that generates a data table and it ostensibly has a parameter Header that should generate one, but in reality, it does not. See Lee Richmond's perfect game where the HTML is:

line 82:<caption><span class="nowrap"> </span>
line 83:</caption>

rather than actually generating the caption "Line score for Lee Richmond's perfect game". I briefly made a fix for this that just removed some if/then statements and I previewed it on many pages (2001 World Series, Disco Demolition Night, 2009 Claxton Shield, box score (baseball)) and no problems appeared, but since there are 1,400+ transclusions, I wanted to be conservative so I reverted myself and came here to see if anyone thought there was a better solution or saw any problems with my approach. If anyone can debug this as-is, that would be great, but I can't and it seems like my solution actually works. ―Justin (koavf)T☮C☺M☯ 01:59, 18 April 2024 (UTC)[reply]

@Koavf: Template:Linescore#Optional parameters doesn't say Header is supposed to be displayed. It's a flag to hide other parameters which can be used to generate a heading. You could use Other for your wanted heading. PrimeHunter (talk) 14:31, 18 April 2024 (UTC)[reply]
Resolved
Brilliant. It works. Yeesh. ―Justin (koavf)T☮C☺M☯ 15:46, 18 April 2024 (UTC)[reply]

New posts not showing up as separate posts on a user talk[edit]

Myself and one other editor have posted on Jweaver28's user talk and I just realized our posts are showing up all mashed-together. Any subsequent posts will also show up all mashed together under the wrong header. Someone with more bandwidth than myself please take a look at User talk:Jweaver28 and the oddness going on at Unblock request for library wifi address. I've tried and tried to figure out how to fix it and have given up. Thanks, Shearonink (talk) 18:35, 18 April 2024 (UTC)[reply]

Something got messed up with the unblock request template on that page, and it had an unclosed <nowiki> tag. I fixed the markup: [1] Matma Rex talk 18:46, 18 April 2024 (UTC)[reply]
Thank you! Those darn unclosed tags...At first I thought it might be some stray }} but that obvi wasn't the issue. Thanks again, Shearonink (talk) 19:12, 18 April 2024 (UTC)[reply]
Sometimes, a blocked user doesn't read the instructions properly and screws up the Wikimarkup when attempting to request unblock. --Redrose64 🌹 (talk) 21:15, 18 April 2024 (UTC)[reply]

Image sizes on mobile version[edit]

Could someone have a look at the issue raised at Talk:2024 London mayoral election#Susan Hall’s photo is larger than the others, please? I asked at the help desk but it seems to need a technical fix. Cavrdg (talk) 19:04, 18 April 2024 (UTC)[reply]

I don't understand these edit summaries[edit]

that I've seen pop up recently, like the following:

#talk-full-source-editor and #talk-topic on Talk:Robert E. Lee.

They don't quite make sense to me and don't seem to be telling me anything useful about the edit. Anyone care to explain? Thanks, Shearonink (talk) 19:38, 18 April 2024 (UTC)[reply]

This seems to be more of phab:T361495. — xaosflux Talk 19:57, 18 April 2024 (UTC)[reply]
Oh interesting. So it's the Android and iOS apps appending these strings to the edit summaries? –Novem Linguae (talk) 05:37, 19 April 2024 (UTC)[reply]
The two examples provided by Shearonink can be found in the source code of the iOS app. —⁠andrybak (talk) 12:36, 20 April 2024 (UTC)[reply]

User page doesn't contain a language[edit]

Resolved

Hello, I have 2 user pages, one in Arabic and another one in English, but the problem is that when I click on the languages tab on any of them it says "No languages yet"

May I know why? AmeenTN (talk) 21:00, 18 April 2024 (UTC)[reply]

@AmeenTN: You need to set up some interlanguage links. At en:User:AmeenTN, add this line at the bottom:
[[ar:User:AmeenTN]]
similarly, at ar:User:AmeenTN, add this line at the bottom:
[[en:User:AmeenTN]]
--Redrose64 🌹 (talk) 21:36, 18 April 2024 (UTC)[reply]
Thank you very much!
That worked AmeenTN (talk) 22:59, 18 April 2024 (UTC)[reply]

Could there be a stopgap solution for the Graph module until its replacement is developed?[edit]

It has been 1 year since Graphs were disabled due to security vulnerabilities in the extension. The update plan as of now is to completely replace the Graph extension, because the other solutions to upgrade it were found to not be feasible. This process has only just started to gather the members necessary and will not start in earnest until July, per the update posted. This extension will then obviously take time to develop. In the meantime, there's 18k articles, per Category:Pages with disabled graphs, with data that is completely inaccessible unless you view the page source. We could either put the data in a table so at least the data is there, in an expando if there are many rows. We could even have a link to an external graphing service that graphs it visually on a separate page (Quickchart.io being an example that works simply, simply putting the data in JSON format in the URL.). Thoughts? MarkiPoli (talk) 15:48, 19 April 2024 (UTC)[reply]

See relevant discussion, including a couple replies from WMF staff, at Wikipedia:Wikipedia Signpost/2024-03-29/Technology report and its talk page. —⁠andrybak (talk) 09:13, 21 April 2024 (UTC)[reply]
Also, the situation with the graphs is mentioned and discussed at the WMF section of the Village pump. —⁠andrybak (talk) 13:30, 21 April 2024 (UTC)[reply]

Help with phabricator ticket -- Unable to login on iPhone with Passkey Enabled[edit]

6 weeks ago I did a deep dive for 1-2 days helping to debug, reproduce, identify the root case and help formulate a fix for the following issue. [2] This issue affects any user using webauthn aka 2FA security tokens across wikimedia. @Reedy (WMF) was very responsive and back-ported a fix from another repository. The fix was committed March 5.

Could I ask your help getting more detail on what the next steps are to integrate and deploy the fix? Tonymetz 💬 20:20, 19 April 2024 (UTC)[reply]

cc: @Novem Linguae Tonymetz 💬 20:35, 19 April 2024 (UTC)[reply]

There's nothing anyone on the English Wikipedia can do about problem with webauthn directly. See Help:Two-factor_authentication#WebAuthn. I suggest no one use this method with any account they care about. There is now a ticket open, so some developers may eventually work on phab:T358771. If you want to personally work on this see: mw:How to become a MediaWiki hacker. — xaosflux Talk 21:01, 19 April 2024 (UTC)[reply]
my issue is more about getting help from WMF to deploy the fix that is ready to go. maybe this is better for village pump WMF Tonymetz 💬 21:08, 19 April 2024 (UTC)[reply]
Patches are primarily deployed by volunteer developers not "the WMF". There are currently over 70 tasks open for OATHAUTH alone, most of which are significantly older. This isn't anything specific to the English Wikipedia, so none of our noticeboards are the right venue. You could email the mailing list that has a team of volunteers that look over technical matters relating to MediaWiki software and interface - this team can be reached at mediawiki-l@lists.wikimedia.org. — xaosflux Talk 22:25, 19 April 2024 (UTC)[reply]

Agreed this is the wrong venue, but the fact that patches are as usual not getting reviewed in a timely fashion is ridiculous. * Pppery * it has begun... 21:25, 19 April 2024 (UTC)[reply]

Patches are primarily deployed by volunteer developers not "the WMF". It might be more accurate to say that patches are auto-deployed by the weekly train for most repos. And a combination of volunteers and wmf do both the patch writing and the patch approvals. What's needed here is a patch approval (+2). Which can be a lot of brain power, because it involves wrapping your head around the ticket and the code, reviewing the patch code, and loading up the patch code in a localhost environment and testing it. But sadly, many repos are backlogged or do not have active maintainers or do not have any wmf team currently assigned to them. –Novem Linguae (talk) 22:58, 19 April 2024 (UTC)[reply]
Is there more information on how to apply to be a maintainer? I had assumed we were blocked by WMF. I’m happy to help contribute as a maintainer if it would help. Tonymetz 💬 23:26, 19 April 2024 (UTC)[reply]
First, you'd need to write a bunch of patches in gerrit for the repo you want to apply for. Do you have a gerrit account yet? Then you'd also want to get the support of the existing maintainers. Seems like an existing maintainer is a little frustrated with you in the linked phab ticket, so would need to mend that. Finally, when those two things are looking good, you'd ask the community for +2 of that repo via a Phabricator ticket. Example.Novem Linguae (talk) 23:57, 19 April 2024 (UTC)[reply]
thanks for the guidance and the example that's helpful. i'll look into it. Tonymetz 💬 03:37, 20 April 2024 (UTC)[reply]

Cursor keeps teleporting to the very start of the box I'm editing whenever I press shift[edit]

Is there any way to make the cursor stop teleporting to the beginning of the line or paragraph if I press shift? Shadow311 (talk) 00:47, 20 April 2024 (UTC)[reply]

did you think that was enough information for anyone to know what box you're referring to? See mw:How to report a bug. Jeremyb (talk) 01:59, 20 April 2024 (UTC)[reply]
At the same time, maybe the answers at Wikipedia:Village pump (technical)/Archive 208#When editing, pressing shift causes cursor to jumps to start of edit text box are helpful. – 143.208.238.228 (talk) 03:05, 20 April 2024 (UTC)[reply]
@Jeremyb-phone, literally the box that you type in when you press reply. Shadow311 (talk) 17:08, 20 April 2024 (UTC)[reply]
also thanks 143.208.238.228, that's what I was talking about. Shadow311 (talk) 17:14, 20 April 2024 (UTC)[reply]
Sounds like mw:Extension:DiscussionTools is the box you're using. According to the linked thread, turning off the GoogleTrans gadget may fix the issue. Can you go ahead and try turning off the GoogleTrans gadget via Special:Preferences and report back? –Novem Linguae (talk) 11:04, 22 April 2024 (UTC)[reply]
@Shadow311, if you didn't have the GoogleTrans gadget enabled, then it might be phab:T316838. Please ping me if that's the case.
If you do have GoogleTrans enabled, and you need to keep it enabled, then there's a chance that you could bypass this bug, in the Reply tool and New Topic tool only (e.g., not in the visual editor, which you don't seem to be using) by going to Special:Preferences#mw-prefsection-editing-discussion and turning off "Enable editing tools in source mode". You'd lose the whole toolbar, including the button to @ ping someone. WhatamIdoing (talk) 22:52, 22 April 2024 (UTC)[reply]

Lua error[edit]

i keep getting a Lua error everytime I try to put a picture, is there a way to solve this issue? thanks Cassopeia ...talk?... 18:37, 20 April 2024 (UTC)[reply]

First posted in Wikipedia:Teahouse#Lua error. --Redrose64 🌹 (talk) 19:10, 20 April 2024 (UTC)[reply]
Please always say which page or code a question is about. I guess it's about User:Penny(Cassopeia) where you used {{Portal image banner}}. Like many image-displaying templates, it takes raw file names as parameters and not image code: {{Portal image banner|Zinnia elegans with Bombus 01.JPG|...}}. PrimeHunter (talk) 19:24, 20 April 2024 (UTC)[reply]

Process template parameter in Lua before MediaWiki does its thing[edit]

Requesting pictorial, video or tutorial help[edit]

  • Request: To provide /update pictorial, video or tutorial help on how to use Template:Citation#Quote.
    • The policy regarding these types of quotes is briefly covered at WP:FOOTQUOTE.
  • Description: In the visual editor, under the 'cite' button, you first put in the basic parameters (sometimes just a URL is sufficient to get started), then scroll down the list of fields to find the one named 'Quote', which is a text box you can enter the quote into. (This is too verbose does not seem to save first time readers from confusion)
  • Why needed:
as a help in verification if needed

WP:VERIFY states "..Readers must be able to check that any of the information within Wikipedia articles is not just made up. .."

When we refer to academic sources many times those are not easily accessible to readers / copy editors and also who wish to verify. Specially in contentious topic area providing original quote from the source remains easier for transparency and verification and saves a lot of misunderstanding, stress and time.
When some user urged me to provide quotes from sources it took me months to understand what that user was urging about and how to do that although it is very easily accessible in visual editor.
When I also urge other editors I find they are confused what I am requesting all about.
I do have strong perception that updating related help pages with pictorial, video or tutorial help can save lot of hassle.

Idk if this is the right place to seek help in this respect, if not then please guide me where to make this request.

Bookku (talk) 13:26, 21 April 2024 (UTC)[reply]

@Bookku, I think you need to read Wikipedia:Reliable sources/Cost. We are not required to make it easy to check sources.
Also, quotations are not sufficient. If an editor were willing to put false information in the article, then that editor could just as easily put false information in the quotation field of the template. WhatamIdoing (talk) 22:58, 22 April 2024 (UTC)[reply]

IP Information feature issue on the English Wikipedia on iPhones[edit]

When I click on an IP address's contributions and click on the IP information window, it shows The IP information could not be retrieved. even though it works on other wikis, such as the Simple English Wikipedia.

This issue can only affect users who use iPhones and not on computers, so is anybody who uses this beta feature experiencing this issue when using it on their iPhone (including me)? Codename Noreste 🤔 La Suma 03:34, 22 April 2024 (UTC)[reply]

Does the tool work on the Simple English Wikipedia when on your iPhone?
It personally works for me when using my android phone. Dreamy Jazz talk to me | my contributions 10:03, 22 April 2024 (UTC)[reply]
I don't have an iPhone, so I cannot personally test this. The tool displays the The IP information could not be retrieved. error on any kind of "generic" error, which doesn't have a defined message. This could suggest that the request has not been getting through to the servers. Dreamy Jazz talk to me | my contributions 10:06, 22 April 2024 (UTC)[reply]
Yes, it works on simplewiki on my iPhone. Codename Noreste 🤔 La Suma 16:08, 22 April 2024 (UTC)[reply]
Smells like an API error. Are you using a browser on your phone, or the official Wikipedia iOS app? Are you still getting the error right now? Is it one IP only (please share which one if you can), or all IPs you try? –Novem Linguae (talk) 11:00, 22 April 2024 (UTC)[reply]
I am using Safari, and this applies to all IP addresses. Codename Noreste 🤔 La Suma 16:05, 22 April 2024 (UTC)[reply]
Can you provide a screenshot so that we can see your skin, screen size, what page you're on, if you're logged in, and what IP you're trying to view? Also, does the problem go away in WP:SAFEMODE? –Novem Linguae (talk) 20:33, 22 April 2024 (UTC)[reply]

The screenshot is here. About the IP addresses, this do not matter since the error applies to every IP addresses' contribution pages, and for safemode, the issue still persists. Codename Noreste 🤔 La Suma 22:47, 22 April 2024 (UTC)[reply]

Thanks. I've filed phab:T363118 for you to help get dev attention. They may be able to search server logs to help see what the bad API query is. Please reply to devs if they ask you questions there since they are the most likely to be able to debug this. –Novem Linguae (talk) 23:55, 22 April 2024 (UTC)[reply]
@Codename Noreste: Are you able to edit from the same device and browser? I get the same error if I try to view the IP info when my IP is hardblocked. Perhaps this has something to do with iCloud Private Relay? Suffusion of Yellow (talk) 00:07, 23 April 2024 (UTC)[reply]
To your question, my answer is that I edit from the Safari browser in my iPhone and I don't have iCloud+, so iCloud Private Relay is not enabled for my iPhone. Codename Noreste 🤔 La Suma 00:21, 23 April 2024 (UTC)[reply]
I think SoY's question is if you get a block notice when you try to edit articles on this device. SoY suspects that you might be editing from a blocked IP range and wants to rule it out. –Novem Linguae (talk) 00:22, 23 April 2024 (UTC)[reply]
My other answer would be no, since I'm not currently hardblocked. Codename Noreste 🤔 La Suma 00:26, 23 April 2024 (UTC)[reply]
Someone else in the phab ticket was able to reproduce. Also on iphone and safari. –Novem Linguae (talk) 01:34, 23 April 2024 (UTC)[reply]

Edit summary search[edit]

I've been using the standard tool for edit summary search, https://sigma.toolforge.org/summary.py but unfortunately it's not working correctly. For example this search ("timesofindia.indiatimes") returns zero results, even though I made 2,344 edits (eg. Special:Diff/1220101115/1220148337). Are there other similar tools? -- GreenC 13:52, 22 April 2024 (UTC)[reply]

None that would have seen that edit. —Cryptic 14:05, 22 April 2024 (UTC)[reply]
Ok that explains it. Thanks. -- GreenC 19:58, 22 April 2024 (UTC)[reply]
@GreenC: You already reported the problem at User talk:Σ#Edit summary search. --Redrose64 🌹 (talk) 19:24, 22 April 2024 (UTC)[reply]

Integrating one template into another[edit]

I hope I'm posting this in the right place, I'm happy to repost elsewhere if it would be better. I want to integrate template:Party name with color into template:STV Election box candidate2. This has arisen in, for example, South (European Parliament constituency), where there's a microparty called The Irish People contesting. It's a non-notable organisation, but is registered, so has an entry on Module:Political party/T. It has a disambiguation to distinguish it from various newspapers collected under The Irish People. In tables that use template:Party name with color, its shortname is invoked. See, e.g., List of political parties in the Republic of Ireland#Parties with no elected representation. However, in the election results table at South (European Parliament constituency) or 2024 Kerry County Council election#Kenmare, the disambiguation is visible, because the STV candidate template only uses the shortname if the page actually exists. I think the best solution would be to invoke Party name with color itself in template:STV Election box candidate2, but I'm not sure how best to do that without breaking the code. Thanks for any insights! Iveagh Gardens (talk) 17:32, 22 April 2024 (UTC)[reply]

Would it solve the problem if the STV candidate template used the shortname in all cases? — Martin (MSGJ · talk) 20:24, 22 April 2024 (UTC)[reply]
I tried to do that with this edit, but ended up breaking the links in all cases. Could you see a means to include the shortname linked if there is an article, not linked if there is not? Iveagh Gardens (talk) 06:50, 23 April 2024 (UTC)[reply]
This should do it. I've put that in the sandbox so you can test it before deploying if you wish — Martin (MSGJ · talk) 08:07, 23 April 2024 (UTC)[reply]
I have redirected The Irish People (party) to List of political parties in the Republic of Ireland#Parties with no elected representation. The existence of the page name appears to have solved the issue for this party. I don't know what is supposed to be listed at Module:Political party/T if a party has no page. The documentation doesn't even say that the page name should be given if there is a page, but I guess so based on examples. PrimeHunter (talk) 21:16, 22 April 2024 (UTC)[reply]
Thanks, that does fix it, although I'm not sure the existence of a page is required. It can be useful for once-off microparties that have become defunct, as with Seniors Solidarity at 2009 Fingal County Council election, to have an entry there, without needing a page. In ten years, if The Irish People is no longer registered, it might not even warrant a redirect. Iveagh Gardens (talk) 06:48, 23 April 2024 (UTC)[reply]

Easier way to mark an edit as minor[edit]

The minor edit button is very small and not very mobile or laptop trackpad friendly. Its too bothersome for me to actually use it. I do mark these edits as minor in the edit summary with the letter "m". Leaving "m" in the edit summary should tag the edit as a minor edit. This would encourage use of the minor edit button for minor edits and help declutter the watchlist (for those that filter minor edits from their watchlists). How easy would this be to from a technical standpoint? Schierbecker (talk) 18:33, 22 April 2024 (UTC)[reply]

I can't help with the change you're proposing, but in case it helps, there are actually some more accessible ways to toggle the "minor edit" checkbox: you can click (or tap) its textual label as well, not just the box; or on a laptop, while writing the edit summary, you can press Tab and then Space to move to and toggle the checkbox. This works with all other checkboxes on Wikipedia too, and also in most other websites and apps. Matma Rex talk 21:10, 22 April 2024 (UTC)[reply]
Then there's Alt+⇧ Shift+I. --Redrose64 🌹 (talk) 22:02, 22 April 2024 (UTC)[reply]
Or you could just not use it. Using it is never required. WhatamIdoing (talk) 23:00, 22 April 2024 (UTC)[reply]
I'm rather inclined not to use edit summaries either! Just trust me, bro! Schierbecker (talk) 06:23, 23 April 2024 (UTC)[reply]

Tech News: 2024-17[edit]

MediaWiki message delivery 20:25, 22 April 2024 (UTC)[reply]

Is there a convenient functionality to merge/extend Lua arrays?[edit]

I know I could iterate over the second array and append the values at the end of the first array, but I thought "hang on, there must be a closed function/method like Python's list.extend defined somewhere"... Am I right? Alexis Coutinho (talk) [ping me] 20:30, 22 April 2024 (UTC)[reply]

Hahahahaha Lua is not batteries included. You are perhaps looking for Module:TableTools or Module:Set. Izno (talk) 21:54, 22 April 2024 (UTC)[reply]
I had checked Module:TableTools to no avail. I guess I could use the "union" functions from Module:Set, but that seems like overkill as those are not optimized for arrays. I think such simple function should be added to Module:TableTools. Ideally, it should actually be in the standard Scribuntu table library, alongside table.concat... Alexis Coutinho (talk) [ping me] 22:26, 22 April 2024 (UTC)[reply]
That's one of the functions in the Lua standard library, not added by Scribunto. Your other options besides the modules are 1) iterating over table 2 and table.inserting into table 1, or 2) doing it with indices. Izno (talk) 23:11, 22 April 2024 (UTC)[reply]
Well, I've proposed adding it to TableTools here. Alexis Coutinho (talk) [ping me] 00:11, 23 April 2024 (UTC)[reply]

Anyone know why this is happening?[edit]

This isn't really a problem, per se, but I'm just curious if anyone has a similar thing going on. When I go to Template talk:Did you know (and only there; I've tried this on other talk pages of templates as well and all of the other namespaces work fine), my toolbox on the left side of my screen (I use vector legacy dark mode) turns white. I tried switching to light mode, and nothing happens. Is anyone experiencing something similar?

DYKTemplateinVectorLegacyLightMode DYKTemplateinVectorLegacyDarkMode

The image on the left is my screen in light mode, and the image on the right is my screen in dark mode. Relativity ⚡️ 00:13, 23 April 2024 (UTC)[reply]

@Relativity: It's caused by importScript('User:Shubinator/DYKcheck.js') in User:Relativity/common.js. I haven't examined exactly why User:Shubinator/DYKcheck.js has this effect but it only affects users with both that script and dark mode so it's not important when the sidebar is still readable. PrimeHunter (talk) 01:49, 23 April 2024 (UTC)[reply]

Leave a Reply