m →Help with regex statement: We're doubling \ here, presumably because the regexp goes in a string in some language that uses a \ escape. |
→Non free file upload bug: depends where you fire it from |
||
(42 intermediate revisions by 23 users not shown) | |||
Line 32: | Line 32: | ||
--> |
--> |
||
== Number of watchers == |
|||
{{Tracked|T336250}} |
|||
If you go to <code>?action=info</code> for any page, you will see a table with various statistics, including two lines about how many people are watching the page, e.g.: |
|||
{| class="wikitable" |
|||
|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)"? [[User:WhatamIdoing|WhatamIdoing]] ([[User talk:WhatamIdoing|talk]]) 04:53, 10 April 2024 (UTC) |
|||
: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]]. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 09:38, 10 April 2024 (UTC) |
|||
::[[phab:T336250]] is open about this. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 09:40, 10 April 2024 (UTC) |
|||
:::{{replyto|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. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] 🌹 ([[User talk:Redrose64|talk]]) 16:17, 10 April 2024 (UTC) |
|||
::::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"’ ... {{smiley|:-o}}{{pb}} I think we should have that “second line” added to these pages (or replaced the “first line”): |
|||
::::*https://xtools.wmcloud.org/articleinfo/en.wikipedia.org/Wikipedia:WikiProject_Contents |
|||
::::*https://pageviews.wmcloud.org/?project=en.wikipedia.org&platform=all-access&agent=user&redirects=0&range=latest-20&pages= |
|||
::::--[[User:Dustfreeworld|<span style="color: navy">'''Dustfreeworld'''</span>]] ([[User talk:Dustfreeworld|talk]]) 18:30, 11 April 2024 (UTC) |
|||
:::::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. [[User:WhatamIdoing|WhatamIdoing]] ([[User talk:WhatamIdoing|talk]]) 21:11, 11 April 2024 (UTC) |
|||
::::::For hiding that row on the page information page on Wikipedia, try <code>#mw-pageinfo-watchers { display: none; }</code> in one of the .css files. –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 22:43, 11 April 2024 (UTC) |
|||
:::::::Thanks, @[[User:Novem Linguae|Novem Linguae]]. [https://en.wikipedia.org/w/index.php?title=User:WhatamIdoing/common.css&diff=prev&oldid=1218640646 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. [[User:WhatamIdoing|WhatamIdoing]] ([[User talk:WhatamIdoing|talk]]) 22:32, 12 April 2024 (UTC) |
|||
:[[Til#Other uses|#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. [[User:WhatamIdoing|WhatamIdoing]] ([[User talk:WhatamIdoing|talk]]) 23:53, 10 April 2024 (UTC) |
|||
:{{Tq|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. –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 02:05, 11 April 2024 (UTC) |
|||
::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 [[Wikipedia:Deceased Wikipedians|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. [[User:WhatamIdoing|WhatamIdoing]] ([[User talk:WhatamIdoing|talk]]) 02:56, 11 April 2024 (UTC) |
|||
:::As far as I can tell, pages can be watched actively, without the user being considered active there - such as through email or syndication. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 08:45, 11 April 2024 (UTC) |
|||
::::Or by looking at the watchlist but not visiting the links. [[User:Nardog|Nardog]] ([[User talk:Nardog|talk]]) 09:43, 11 April 2024 (UTC) |
|||
:::::I suspect that the scenario Nardog describes is far more common than the one Xaosflux describes. [[User:WhatamIdoing|WhatamIdoing]] ([[User talk:WhatamIdoing|talk]]) 18:32, 11 April 2024 (UTC) |
|||
::::::That was an argument ''against'' hiding the total number of watchers. I was echoing Xaosflux. [[User:Nardog|Nardog]] ([[User talk:Nardog|talk]]) 05:58, 13 April 2024 (UTC) |
|||
:::::::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. [[User:WhatamIdoing|WhatamIdoing]] ([[User talk:WhatamIdoing|talk]]) 02:54, 15 April 2024 (UTC) |
|||
::::::::[[User:WhatamIdoing|WhatamIdoing]], I don't believe merely viewing the watchlist makes you an active watcher.<span id="Qwerfjkl:1713167146121:WikipediaFTTCLNVillage_pump_(technical)" class="FTTCmt"> — [[User:Qwerfjkl|<span style="background:#1d9ffc; color:white; padding:5px; box-shadow:darkgray 2px 2px 2px;">Qwerfjkl</span>]][[User talk:Qwerfjkl|<span style="background:#79c0f2;color:white; padding:2px; box-shadow:darkgray 2px 2px 2px;">talk</span>]] 07:45, 15 April 2024 (UTC)</span> |
|||
::::::::: 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. [[User:Anomie|Anomie]][[User talk:Anomie|⚔]] 11:41, 15 April 2024 (UTC) |
|||
::::::::::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). [[User:WhatamIdoing|WhatamIdoing]] ([[User talk:WhatamIdoing|talk]]) 16:42, 15 April 2024 (UTC) |
|||
:::::::::::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. [[User:Suffusion of Yellow|Suffusion of Yellow]] ([[User talk:Suffusion of Yellow|talk]]) 16:47, 15 April 2024 (UTC) |
|||
::::::::::::That doesn't reset the "first unseen timestamp" (a fact that I've found particularly convenient). [[User:WhatamIdoing|WhatamIdoing]] ([[User talk:WhatamIdoing|talk]]) 17:43, 15 April 2024 (UTC) |
|||
:::::::::::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. [[User:Isaacl|isaacl]] ([[User talk:Isaacl|talk]]) 16:59, 15 April 2024 (UTC) |
|||
::::::::::::Would you feel the same about "visited the page during the last 30 days"? [[User:WhatamIdoing|WhatamIdoing]] ([[User talk:WhatamIdoing|talk]]) 17:44, 15 April 2024 (UTC) |
|||
:::::::::::::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. [[User:Isaacl|isaacl]] ([[User talk:Isaacl|talk]]) 16:56, 20 April 2024 (UTC) |
|||
::::::::::::::I like the idea of having clarity. |
|||
::::::::::::::BTW, I'm finding that I'm happy with the script @[[User:Novem Linguae|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. [[User:WhatamIdoing|WhatamIdoing]] ([[User talk:WhatamIdoing|talk]]) 19:11, 22 April 2024 (UTC) |
|||
== Why does the talk page visual editor not have a "cite" button? == |
|||
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? [[User:MarkiPoli|MarkiPoli]] ([[User talk:MarkiPoli|talk]]) 12:14, 16 April 2024 (UTC) |
|||
:Not sure if it's intentional, but the keyboard shortcut Ctrl+Shift+K (Cmd+Shift+K on macOS) still works for this. [[User:the wub|the wub]] [[User_talk:The wub|<span style="color: #080;">"?!"</span>]] 13:17, 16 April 2024 (UTC) |
|||
::Yeah, i noticed that too. Its still annoying not having a full featured editor exactly the same as the main page editor [[User:MarkiPoli|MarkiPoli]] ([[User talk:MarkiPoli|talk]]) 09:39, 17 April 2024 (UTC) |
|||
:::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 <code>ctrl/cmd + ?</code> to see all the options here. Or type <code>\</code> if you're in visual mode for a nifty command-palette...) [[User:DLynch (WMF)|DLynch (WMF)]] ([[User talk:DLynch (WMF)|talk]]) 16:04, 17 April 2024 (UTC) |
|||
::::Or edit the full page in source mode with all the bells and whistles of course. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 19:49, 17 April 2024 (UTC) |
|||
:::::Yeah, but they said they already knew about that. :D [[User:DLynch (WMF)|DLynch (WMF)]] ([[User talk:DLynch (WMF)|talk]]) 21:05, 18 April 2024 (UTC) |
|||
:@[[User:MarkiPoli|MarkiPoli]], it's at least theoretically possible. [https://meta.wikimedia.org/w/index.php?title=User:WhatamIdoing/global.js&diff=prev&oldid=22488130 Look at this diff] (noting that @[[User:DLynch (WMF)|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. [[User:WhatamIdoing|WhatamIdoing]] ([[User talk:WhatamIdoing|talk]]) 19:17, 22 April 2024 (UTC) |
|||
:Maybe I'm missing something, but I don't see a need for this. Could you give me an example? Thanks --- <span style="font-family:monospace; font-weight: bold"><span style="color:ForestGreen">[[W:EN:User:TheTechie|<span style="color:Green">thetechie@enwiki</span>]]</span>: [[User talk:TheTechie|<span style="MediumBlue">~/talk/</span>]] <span style="">$</span></span> 19:32, 22 April 2024 (UTC) |
|||
::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? [[User:MarkiPoli|MarkiPoli]] ([[User talk:MarkiPoli|talk]]) 19:49, 22 April 2024 (UTC) |
|||
== AFD Stats not updating grid templates == |
|||
{{tracked|T363077}} |
|||
{{tracked|T362732}} |
|||
{{tracked|T352010}} |
|||
AFD Stats not updating on the individual [https://afdstats.toolforge.org/afdstats.py?name=Maile66&max=&startdate=&altname= grid templates] [[User:Maile66|— Maile ]] ([[User talk:Maile66|talk]]) 18:23, 16 April 2024 (UTC) |
|||
:@[[User:Maile66|Maile66]] It looks okay to me. Can you describe in more detail the problem that you are experiencing? --[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<span style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:-.3em;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</span>]]) 18:33, 16 April 2024 (UTC) |
|||
::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. [[User:Maile66|— Maile ]] ([[User talk:Maile66|talk]]) 18:41, 16 April 2024 (UTC) |
|||
:::@[[User:Maile66|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. --[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<span style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:-.3em;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</span>]]) 19:12, 16 April 2024 (UTC) |
|||
::::Thanks. I'll just wait out. [[User:Maile66|— Maile ]] ([[User talk:Maile66|talk]]) 19:19, 16 April 2024 (UTC) |
|||
:::::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? <span style="font-family:Papyrus; color:#800080;">[[User:Liz|'''''L'''''iz]]</span> <sup style="font-family: Times New Roman; color: #006400;">[[Special:Contributions/Liz|'''''Read!''''']] [[User talk:Liz|'''''Talk!''''']]</sup> 22:03, 16 April 2024 (UTC) |
|||
::::::Yeah, I was just re-checking, and it's now been 4-plus hours for me on the above AFD Stats. [[User:Maile66|— Maile ]] ([[User talk:Maile66|talk]]) 22:30, 16 April 2024 (UTC) |
|||
:::::::{{re|Liz|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. <span style="font-family:monospace; font-weight: bold"><span style="color:ForestGreen">[[W:EN:User:TheTechie|<span style="color:Green">thetechie@enwiki</span>]]</span>: [[User talk:TheTechie|<span style="MediumBlue">~/talk/</span>]] <span style="">$</span></span> 22:32, 16 April 2024 (UTC) |
|||
::::::::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. [[User:Maile66|— Maile ]] ([[User talk:Maile66|talk]]) 22:36, 16 April 2024 (UTC) |
|||
:::::::::{{re|Maile66}} [[Wikipedia:Bug_reports_and_feature_requests|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. <span style="font-family:monospace; font-weight: bold"><span style="color:ForestGreen">[[W:EN:User:TheTechie|<span style="color:Green">thetechie@enwiki</span>]]</span>: [[User talk:TheTechie|<span style="MediumBlue">~/talk/</span>]] <span style="">$</span></span> 22:44, 16 April 2024 (UTC) |
|||
::::::::::{{re|TheTechie}} that would be great if you would start it. [[User:Maile66|— Maile ]] ([[User talk:Maile66|talk]]) 22:51, 16 April 2024 (UTC) |
|||
:::::::::::Okay, I will when I can, and will drop the link below. I'll be sure to ping you. <span style="font-family:monospace; font-weight: bold"><span style="color:ForestGreen">[[W:EN:User:TheTechie|<span style="color:Green">thetechie@enwiki</span>]]</span>: [[User talk:TheTechie|<span style="MediumBlue">~/talk/</span>]] <span style="">$</span></span> 22:52, 16 April 2024 (UTC) |
|||
::::::::::::Done, see here: https://phabricator.wikimedia.org/T362732 <span style="font-family:monospace; font-weight: bold"><span style="color:ForestGreen">[[W:EN:User:TheTechie|<span style="color:Green">thetechie@enwiki</span>]]</span>: [[User talk:TheTechie|<span style="MediumBlue">~/talk/</span>]] <span style="">$</span></span> 23:26, 16 April 2024 (UTC) |
|||
:Thanks, [[User:TheTechie|TheTechie]], for starting this but the bug report just mentions AFD stats, not Quarry queries or any of the bot reports. <span style="font-family:Papyrus; color:#800080;">[[User:Liz|'''''L'''''iz]]</span> <sup style="font-family: Times New Roman; color: #006400;">[[Special:Contributions/Liz|'''''Read!''''']] [[User talk:Liz|'''''Talk!''''']]</sup> 23:31, 16 April 2024 (UTC) |
|||
::I edited my original post. <span style="font-family:monospace; font-weight: bold"><span style="color:ForestGreen">[[W:EN:User:TheTechie|<span style="color:Green">thetechie@enwiki</span>]]</span>: [[User talk:TheTechie|<span style="MediumBlue">~/talk/</span>]] <span style="">$</span></span> 01:48, 17 April 2024 (UTC) |
|||
:{{Thank}} 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. [[User:Maile66|— Maile ]] ([[User talk:Maile66|talk]]) 23:39, 16 April 2024 (UTC) |
|||
::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. <span style="font-family:Papyrus; color:#800080;">[[User:Liz|'''''L'''''iz]]</span> <sup style="font-family: Times New Roman; color: #006400;">[[Special:Contributions/Liz|'''''Read!''''']] [[User talk:Liz|'''''Talk!''''']]</sup> 01:15, 17 April 2024 (UTC) |
|||
:Looks like it's fixed. ''Now finally, I can view my mainspace edit count without 1 day of lag.'' Stay safe, <span style="font-family:monospace; font-weight: bold"><span style="color:ForestGreen">[[W:EN:User:TheTechie|<span style="color:Green">thetechie@enwiki</span>]]</span>: [[User talk:TheTechie|<span style="MediumBlue">~/talk/</span>]] <span style="">$</span></span> 00:16, 18 April 2024 (UTC) |
|||
:As of today, April 24, the issue has returned. I have filed Phabricator Task T363077, hoping this resolve it once and for all. [[User:Maile66|— Maile ]] ([[User talk:Maile66|talk]]) 21:03, 21 April 2024 (UTC) |
|||
:: This issue cannot be {{tq|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. [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 21:10, 21 April 2024 (UTC) |
|||
:: 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. [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 21:15, 21 April 2024 (UTC) |
|||
:::Thank you. At last, someone has given us some insight on how this works. [[User:Maile66|— Maile ]] ([[User talk:Maile66|talk]]) 21:21, 21 April 2024 (UTC) |
|||
:::: 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]]). [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 21:29, 21 April 2024 (UTC) |
|||
:::::Thank you for all this insight. I have previously come across "this is a known issue ... " and usually just back off on those types. [[User:Maile66|— Maile ]] ([[User talk:Maile66|talk]]) 21:41, 21 April 2024 (UTC) |
|||
::::::As of right now, this has not yet been resolved. [[User:Maile66|— Maile ]] ([[User talk:Maile66|talk]]) 11:31, 22 April 2024 (UTC) |
|||
:::::::maybe resolved at ~16 UTC. see [[phab:T363077#9733128]]. [[User:Jeremyb-phone|Jeremyb]] ([[User talk:Jeremyb-phone|talk]]) 15:27, 22 April 2024 (UTC) |
|||
:::::::: {{Great}} Wow - it's working today. Thanks. [[User:Maile66|— Maile ]] ([[User talk:Maile66|talk]]) 15:53, 22 April 2024 (UTC) |
|||
== Database replication lag == |
|||
'''Replication lag''' |
|||
{{quote box|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 '''[[wikt:bellow|bellow]]ing''' 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. [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 14:08, 17 April 2024 (UTC) |
|||
:@[[User:Wbm1058|Wbm1058]] See the [[#AFD Stats not updating grid templates]] discussion above or {{phab|T352010}}. Per the phab ticket, it should resolve itself in the next 2-4 hours. --[[User:Ahecht|Ahecht]] ([[User talk:Ahecht|<span style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:-.3em;font:bold 50%/1 sans-serif;text-align:center">TALK<br />PAGE</span>]]) 14:41, 17 April 2024 (UTC) |
|||
::Thanks! Aha, I didn't find this because {{Phabricator|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. – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 15:03, 17 April 2024 (UTC) |
|||
::: "normalize" in this context refers to [[database normalization]]. [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 15:08, 17 April 2024 (UTC) |
|||
{{tracked|T363077}} |
|||
:Lag is now 12 hours and rising again. [[User:Certes|Certes]] ([[User talk:Certes|talk]]) 10:32, 22 April 2024 (UTC) |
|||
::I noticed that too. Also discussed above at [[#AFD Stats not updating grid templates]]. |
|||
::"{{tq|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.}}" {{frown}} [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 10:51, 22 April 2024 (UTC) |
|||
:::maybe resolved at ~16 UTC. see [[phab:T363077#9733128]]. [[User:Jeremyb-phone|Jeremyb]] ([[User talk:Jeremyb-phone|talk]]) 15:26, 22 April 2024 (UTC) |
|||
== "Reviewed an image suggestion" user log entry == |
|||
Does anyone know what "reviewed an image suggestion" means and its use? See this [https://en.wikipedia.org/w/index.php?title=Special%3ALog&user=BetoTheDJ user's log] for an example. [[User:S0091|S0091]] ([[User talk:S0091|talk]]) 20:35, 17 April 2024 (UTC) |
|||
:This appears to be [[mw:Wikimedia Apps/Android Suggested edits#Article images|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? [[User:Suffusion of Yellow|Suffusion of Yellow]] ([[User talk:Suffusion of Yellow|talk]]) 21:03, 17 April 2024 (UTC) |
|||
:{{ping|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? [[User:Suffusion of Yellow|Suffusion of Yellow]] ([[User talk:Suffusion of Yellow|talk]]) 21:36, 17 April 2024 (UTC) |
|||
: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 {{tq|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", [https://es.wikipedia.org/w/index.php?title=Especial:Registro&logid=26346781 this log entry] would be created, and ''my name'' would be publicly recorded. This feature needs to be disabled. [[User:Suffusion of Yellow|Suffusion of Yellow]] ([[User talk:Suffusion of Yellow|talk]]) 23:08, 17 April 2024 (UTC) |
|||
*This is a "growthexperiment" log type. Pings to {{ping|Trizek (WMF)|KStoller-WMF}} who can hopefully point to the documentation. Notably, {{ping|Suffusion of Yellow}} this doesn't say it is about "viewing" but about "'''re'''viewing" so I'm assuming there was an affirmative user action performed here other than reading. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 00:07, 18 April 2024 (UTC) |
|||
*: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. [[User:Suffusion of Yellow|Suffusion of Yellow]] ([[User talk:Suffusion of Yellow|talk]]) 00:17, 18 April 2024 (UTC) |
|||
*::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. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 08:28, 18 April 2024 (UTC) |
|||
*: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: [[mw:Wikimedia_Apps/Team/Android/Image_Recommendations|Android/Image_Recommendations]] I'll follow up with that team and ask them to review this discussion. Thanks, - [[User:KStoller-WMF|KStoller-WMF]] ([[User talk:KStoller-WMF|talk]]) 16:51, 18 April 2024 (UTC) |
|||
:Hi @[[User:S0091|S0091]]@[[User:Suffusion of Yellow|Suffusion of Yellow]]@[[User:TheDJ|TheDJ]] and @[[User:Xaosflux|Xaosflux]], |
|||
:@[[User:DBrant (WMF)|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 @[[User:KStoller-WMF|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, [[mw:Wikimedia_Apps/Team/Android/Image_Recommendations#/media/File:Image_Recommendations_Rejection_dialog.png|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. [[User:JTanner (WMF)|JTanner (WMF)]] ([[User talk:JTanner (WMF)|talk]]) 19:05, 18 April 2024 (UTC) |
|||
::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. [[User:Suffusion of Yellow|Suffusion of Yellow]] ([[User talk:Suffusion of Yellow|talk]]) 19:42, 18 April 2024 (UTC) |
|||
:::Thanks @[[User:Suffusion of Yellow|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. @[[User:ARamadan-WMF|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 [[phab:T362935|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 @[[User:Suffusion of Yellow|Suffusion of Yellow]], I welcome all of you to subscribe and comment on the proposed language change. [[User:JTanner (WMF)|JTanner (WMF)]] ([[User talk:JTanner (WMF)|talk]]) 20:37, 18 April 2024 (UTC) |
|||
::::Thanks @[[User:Suffusion of Yellow|Suffusion of Yellow]] and the WMF team for digging into this! [[User:S0091|S0091]] ([[User talk:S0091|talk]]) 15:52, 19 April 2024 (UTC) |
|||
:::::Hello @[[User:S0091|S0091]], @[[User:Suffusion of Yellow|Suffusion of Yellow]]! |
|||
:::::This is Amal Ramadan, I am Sr. Movment Communications Specialist supporting the Mobile Applications team; I wanted to provide you with an update: both the Growth and the Apps teams are going to discontinue publicly logging rejections. If you're interested in following the progress of this change, please subscribe to ticket [[phab:T363002|T363002]]. |
|||
:::::Thank you for initiating and engaging in this conversation. |
|||
:::::--[[User:ARamadan-WMF|ARamadan-WMF]] ([[User talk:ARamadan-WMF|talk]]) 14:58, 23 April 2024 (UTC) |
|||
::::::Hi @[[User:ARamadan-WMF|ARamadan-WMF]] another question. If they add a suggested image, the tag "#suggestededit-add-image-top" is included in the edit summary ([https://en.wikipedia.org/w/index.php?title=B%C3%B6l%C3%BCkl%C3%BC,_Eruh&diff=prev&oldid=1218102749 example]). Are both logging and tagging really needed? It seems like overkill (maybe?). If both are not needed, then I suggest using the edit summary as it is more transparent to editors than it being buried in logs. [[User:S0091|S0091]] ([[User talk:S0091|talk]]) 18:26, 23 April 2024 (UTC) |
|||
:::::::Actually, we are aware of this, and actively working on making the change; the work progress on this can be found in this ticket [[phab:T360164|T360164]], I tried to sign you up, but couldn't find your account. You can follow to stay updated instead. |
|||
:::::::--[[User:ARamadan-WMF|ARamadan-WMF]] ([[User talk:ARamadan-WMF|talk]]) 08:52, 24 April 2024 (UTC) |
|||
== I don't understand these edit summaries == |
|||
{{tracked|T360164}} |
|||
that I've seen pop up recently, like the following: |
|||
:'''<nowiki>#talk-full-source-editor</nowiki>''' and '''<nowiki>#talk-topic</nowiki>''' 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, [[User:Shearonink|Shearonink]] ([[User talk:Shearonink|talk]]) 19:38, 18 April 2024 (UTC) |
|||
:This seems to be more of [[phab:T361495]]. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 19:57, 18 April 2024 (UTC) |
|||
::Oh interesting. So it's the Android and iOS apps appending these strings to the edit summaries? –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 05:37, 19 April 2024 (UTC) |
|||
:::The two examples provided by Shearonink can be [https://github.com/search?q=org%3Awikimedia%20%22talk-full-source-editor%22&type=code found] in the [https://github.com/wikimedia/wikipedia-ios/blob/main/WKData/Sources/WKData/Models/Shared/WKEditSummaryTag.swift source code of the iOS app]. —[[User:Andrybak|andrybak]] ([[User talk:Andrybak|talk]]) 12:36, 20 April 2024 (UTC) |
|||
== Could there be a stopgap solution for the Graph module until its replacement is developed? == |
|||
It has been 1 year since Graphs were disabled due to security vulnerabilities in the extension. [[mw:Extension:Graph/Plans|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? [[User:MarkiPoli|MarkiPoli]] ([[User talk:MarkiPoli|talk]]) 15:48, 19 April 2024 (UTC) |
|||
:See relevant discussion, including a couple replies from WMF staff, at [[Wikipedia:Wikipedia Signpost/2024-03-29/Technology report]] and [[Wikipedia talk:Wikipedia Signpost/2024-03-29/Technology report|its talk page]]. —[[User:Andrybak|andrybak]] ([[User talk:Andrybak|talk]]) 09:13, 21 April 2024 (UTC) |
|||
::Also, the situation with the graphs is mentioned and discussed at [[Wikipedia:Village pump (WMF)#Proposal: WMF should hire a full-time developer to do basic maintenance on MediaWiki|the WMF section of the Village pump]]. —[[User:Andrybak|andrybak]] ([[User talk:Andrybak|talk]]) 13:30, 21 April 2024 (UTC) |
|||
== Help with phabricator ticket -- Unable to login on iPhone with Passkey Enabled == |
|||
{{tracked|T358771}} |
|||
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. [https://phabricator.wikimedia.org/T358771] This issue affects any user using webauthn aka 2FA security tokens across wikimedia. @[[User:Reedy (WMF)|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? [[User:Tonymetz|<small style="border:2px solid;border-radius:4px;padding:0 4px">Tonymetz</small>]] [[User talk:Tonymetz|💬]] 20:20, 19 April 2024 (UTC) |
|||
cc: @[[User:Novem Linguae|Novem Linguae]] [[User:Tonymetz|<small style="border:2px solid;border-radius:4px;padding:0 4px">Tonymetz</small>]] [[User talk:Tonymetz|💬]] 20:35, 19 April 2024 (UTC) |
|||
: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]]. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 21:01, 19 April 2024 (UTC) |
|||
::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 [[User:Tonymetz|<small style="border:2px solid;border-radius:4px;padding:0 4px">Tonymetz</small>]] [[User talk:Tonymetz|💬]] 21:08, 19 April 2024 (UTC) |
|||
:::Patches are primarily deployed by volunteer developers not "the WMF". There are currently [https://phabricator.wikimedia.org/tag/mediawiki-extensions-oathauth/ 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 {{email|mediawiki-l|lists.wikimedia.org}}. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 22:25, 19 April 2024 (UTC) |
|||
{{od}} |
|||
Agreed this is the wrong venue, but the fact that patches are as usual not getting reviewed in a timely fashion is ridiculous. [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 21:25, 19 April 2024 (UTC) |
|||
:{{Tq|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. –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 22:58, 19 April 2024 (UTC) |
|||
::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. [[User:Tonymetz|<small style="border:2px solid;border-radius:4px;padding:0 4px">Tonymetz</small>]] [[User talk:Tonymetz|💬]] 23:26, 19 April 2024 (UTC) |
|||
:::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. [[phab:T324092|Example.]] –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 23:57, 19 April 2024 (UTC) |
|||
::::thanks for the guidance and the example that's helpful. i'll look into it. [[User:Tonymetz|<small style="border:2px solid;border-radius:4px;padding:0 4px">Tonymetz</small>]] [[User talk:Tonymetz|💬]] 03:37, 20 April 2024 (UTC) |
|||
== Cursor keeps teleporting to the very start of the box I'm editing whenever I press shift == |
|||
Is there any way to make the cursor stop teleporting to the beginning of the line or paragraph if I press shift? [[User:Shadow311|Shadow311]] ([[User talk:Shadow311|talk]]) 00:47, 20 April 2024 (UTC) |
|||
:did you think that was enough information for anyone to know what box you're referring to? See [[mw:How to report a bug]]. [[User:Jeremyb-phone|Jeremyb]] ([[User talk:Jeremyb-phone|talk]]) 01:59, 20 April 2024 (UTC) |
|||
::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. – [[Special:Contributions/143.208.238.228|143.208.238.228]] ([[User talk:143.208.238.228|talk]]) 03:05, 20 April 2024 (UTC) |
|||
:::@[[User:Jeremyb-phone|Jeremyb-phone]], literally the box that you type in when you press reply. [[User:Shadow311|Shadow311]] ([[User talk:Shadow311|talk]]) 17:08, 20 April 2024 (UTC) |
|||
::::also thanks 143.208.238.228, that's what I was talking about. [[User:Shadow311|Shadow311]] ([[User talk:Shadow311|talk]]) 17:14, 20 April 2024 (UTC) |
|||
::::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? –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 11:04, 22 April 2024 (UTC) |
|||
:::::@[[User:Shadow311|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. [[User:WhatamIdoing|WhatamIdoing]] ([[User talk:WhatamIdoing|talk]]) 22:52, 22 April 2024 (UTC) |
|||
== Lua error == |
|||
i keep getting a Lua error everytime I try to put a picture, is there a way to solve this issue? thanks [[user:Penny(Cassopeia)|<span style="font-family:Gothic;color:darkslateblue">Cassopeia</span>]] [[user_talk:Penny(Cassopeia)|<span style="font-family:Sans;color:purple">...talk?...</span>]] 18:37, 20 April 2024 (UTC) |
|||
:First posted in [[Wikipedia:Teahouse#Lua error]]. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] 🌹 ([[User talk:Redrose64|talk]]) 19:10, 20 April 2024 (UTC) |
|||
::Please always say which page or code a question is about. I guess it's about [[User:Penny(Cassopeia)]] where you used {{tl|Portal image banner}}. Like many image-displaying templates, it takes raw file names as parameters and not image code: <code><nowiki>{{Portal image banner|Zinnia elegans with Bombus 01.JPG|...}}</nowiki></code>. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 19:24, 20 April 2024 (UTC) |
|||
== Process template parameter in Lua before MediaWiki does its thing == |
|||
{{moved to|Wikipedia talk:Lua#Process template parameter in Lua before MediaWiki does its thing|10:16, 21 April 2024 (UTC)}} |
|||
== Requesting pictorial, video or tutorial help == |
|||
* '''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''': |
|||
{{collapse top| 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. |
|||
{{collapse bottom}} |
|||
: 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. |
|||
[[User:Bookku| Bookku ]] ([[User talk:Bookku|talk]]) 13:26, 21 April 2024 (UTC) |
|||
:@[[User:Bookku|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. [[User:WhatamIdoing|WhatamIdoing]] ([[User talk:WhatamIdoing|talk]]) 22:58, 22 April 2024 (UTC) |
|||
::Thanks for introducing me to [[WP:RSC]] and also share your concerns and part of it is certainly matter for consideration under project [[WP:REFCHECK]]. I wish to discuss these concerns further at [[WT:REFCHECK]] after couple of months since presently I am going bit busy. |
|||
::I had come with above request with a perception that [[User interface]] feature is already available and it is just a matter of improving 'How to manual'. Thanks anyways. [[User:Bookku| Bookku ]] ([[User talk:Bookku|talk]]) 01:56, 24 April 2024 (UTC) |
|||
== IP Information feature issue on the English Wikipedia on iPhones == |
|||
{{Tracked|T363118}} |
|||
When I click on an IP address's contributions and click on the IP information window, it shows {{tq| 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)? [[User:Codename Noreste|<span style="font-family:Verdana;color:#0024FF">'''''Codename Noreste'''''</span>]] 🤔 [[User talk:Codename Noreste|<span style="font-family:Verdana;color:#0A16A5">''La Suma''</span>]] 03:34, 22 April 2024 (UTC) |
|||
:Does the tool work on the Simple English Wikipedia when on your iPhone? |
|||
:It personally works for me when using my android phone. [[User:Dreamy Jazz|Dreamy <i style="color:#d00">'''Jazz'''</i>]] <sup>''[[User talk:Dreamy Jazz|talk to me]]'' | ''[[Special:Contribs/Dreamy Jazz|my contributions]]''</sup> 10:03, 22 April 2024 (UTC) |
|||
::I don't have an iPhone, so I cannot personally test this. The tool displays the {{tq|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. [[User:Dreamy Jazz|Dreamy <i style="color:#d00">'''Jazz'''</i>]] <sup>''[[User talk:Dreamy Jazz|talk to me]]'' | ''[[Special:Contribs/Dreamy Jazz|my contributions]]''</sup> 10:06, 22 April 2024 (UTC) |
|||
::Yes, it works on simplewiki on my iPhone. [[User:Codename Noreste|<span style="font-family:Verdana;color:#0024FF">'''''Codename Noreste'''''</span>]] 🤔 [[User talk:Codename Noreste|<span style="font-family:Verdana;color:#0A16A5">''La Suma''</span>]] 16:08, 22 April 2024 (UTC) |
|||
: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? –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 11:00, 22 April 2024 (UTC) |
|||
::I am using Safari, and this applies to all IP addresses. [[User:Codename Noreste|<span style="font-family:Verdana;color:#0024FF">'''''Codename Noreste'''''</span>]] 🤔 [[User talk:Codename Noreste|<span style="font-family:Verdana;color:#0A16A5">''La Suma''</span>]] 16:05, 22 April 2024 (UTC) |
|||
:::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]]? –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 20:33, 22 April 2024 (UTC) |
|||
{{outdent|:::}} |
|||
[[File:IP info error (Vector 2022).jpeg|right|250px]] |
|||
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. [[User:Codename Noreste|<span style="font-family:Verdana;color:#0024FF">'''''Codename Noreste'''''</span>]] 🤔 [[User talk:Codename Noreste|<span style="font-family:Verdana;color:#0A16A5">''La Suma''</span>]] 22:47, 22 April 2024 (UTC) |
|||
::<small>{{admin note}}: SS <s>removed</s> per [[:foundation:Legal:IP_Information_tool_guidelines|WIPTIG]]. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 10:16, 23 April 2024 (UTC)</small> |
|||
:::@[[User:Xaosflux|Xaosflux]]: Which guideline? "IP information" refers to "information obtained through this tool", so nothing covered by the guidelines is disclosed in the screenshot, no? [[User:Nardog|Nardog]] ([[User talk:Nardog|talk]]) 10:21, 23 April 2024 (UTC) |
|||
::::I second this. If this violates something, we should [[WP:IAR]] here. It's just a screenshot of an error message. –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 10:22, 23 April 2024 (UTC) |
|||
:::::Oops, too many screens open, the screenshot with the successful results would have been the problem, but that is in phab not here. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 10:25, 23 April 2024 (UTC) |
|||
::::::I've removed it in phab just in case. Should be all set. –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 10:30, 23 April 2024 (UTC) |
|||
: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. –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 23:55, 22 April 2024 (UTC) |
|||
:{{re|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]]? [[User:Suffusion of Yellow|Suffusion of Yellow]] ([[User talk:Suffusion of Yellow|talk]]) 00:07, 23 April 2024 (UTC) |
|||
::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. [[User:Codename Noreste|<span style="font-family:Verdana;color:#0024FF">'''''Codename Noreste'''''</span>]] 🤔 [[User talk:Codename Noreste|<span style="font-family:Verdana;color:#0A16A5">''La Suma''</span>]] 00:21, 23 April 2024 (UTC) |
|||
:::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. –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 00:22, 23 April 2024 (UTC) |
|||
::::My other answer would be no, since I'm not currently hardblocked. [[User:Codename Noreste|<span style="font-family:Verdana;color:#0024FF">'''''Codename Noreste'''''</span>]] 🤔 [[User talk:Codename Noreste|<span style="font-family:Verdana;color:#0A16A5">''La Suma''</span>]] 00:26, 23 April 2024 (UTC) |
|||
:::::Someone else in the phab ticket was able to reproduce. Also on iphone and safari. –[[User:Novem Linguae|<span style="color:blue">'''Novem Linguae'''</span>]] <small>([[User talk:Novem Linguae|talk]])</small> 01:34, 23 April 2024 (UTC) |
|||
== Edit summary search == |
|||
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 [https://sigma.toolforge.org/summary.py?name=GreenC+bot&search=timesofindia.indiatimes&max=500&server=enwiki&ns=None&enddate=20240420&startdate=20240423&nosect=on this search] ("timesofindia.indiatimes") returns zero results, even though I made 2,344 edits (eg. [[Special:Diff/1220101115/1220148337]]). Are there other similar tools? -- [[User:GreenC|<span style="color: #006A4E;">'''Green'''</span>]][[User talk:GreenC|<span style="color: #093;">'''C'''</span>]] 13:52, 22 April 2024 (UTC) |
|||
:[[#Database replication lag|None that would have seen that edit]]. —[[User:Cryptic|Cryptic]] 14:05, 22 April 2024 (UTC) |
|||
::Ok that explains it. Thanks. -- [[User:GreenC|<span style="color: #006A4E;">'''Green'''</span>]][[User talk:GreenC|<span style="color: #093;">'''C'''</span>]] 19:58, 22 April 2024 (UTC) |
|||
:{{replyto|GreenC}} You already reported the problem at [[User talk:Σ#Edit summary search]]. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] 🌹 ([[User talk:Redrose64|talk]]) 19:24, 22 April 2024 (UTC) |
|||
== Integrating one template into another == |
|||
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! [[User:Iveagh Gardens|Iveagh Gardens]] ([[User talk:Iveagh Gardens|talk]]) 17:32, 22 April 2024 (UTC) |
|||
:Would it solve the problem if the STV candidate template used the shortname in all cases? — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 20:24, 22 April 2024 (UTC) |
|||
::I tried to do that with [https://en.wikipedia.org/w/index.php?title=Template:STV_Election_box_candidate2&diff=prev&oldid=1219589869 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? [[User:Iveagh Gardens|Iveagh Gardens]] ([[User talk:Iveagh Gardens|talk]]) 06:50, 23 April 2024 (UTC) |
|||
:::[https://en.wikipedia.org/w/index.php?title=Template:STV_Election_box_candidate2/sandbox&diff=prev&oldid=1220355960 This] should do it. I've put that in the sandbox so you can test it before deploying if you wish — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 08:07, 23 April 2024 (UTC) |
|||
::::Thanks Martin! [[User:Iveagh Gardens|Iveagh Gardens]] ([[User talk:Iveagh Gardens|talk]]) 16:34, 23 April 2024 (UTC) |
|||
: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. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 21:16, 22 April 2024 (UTC) |
|||
::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. [[User:Iveagh Gardens|Iveagh Gardens]] ([[User talk:Iveagh Gardens|talk]]) 06:48, 23 April 2024 (UTC) |
|||
== Easier way to mark an edit as minor == |
|||
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? [[User:Schierbecker|Schierbecker]] ([[User talk:Schierbecker|talk]]) 18:33, 22 April 2024 (UTC) |
|||
: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. [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 21:10, 22 April 2024 (UTC) |
|||
::Then there's {{keypress|Alt|Shift|I}}. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] 🌹 ([[User talk:Redrose64|talk]]) 22:02, 22 April 2024 (UTC) |
|||
:::Or you could just not use it. Using it is never required. [[User:WhatamIdoing|WhatamIdoing]] ([[User talk:WhatamIdoing|talk]]) 23:00, 22 April 2024 (UTC) |
|||
::::I'm rather inclined not to use edit summaries either! Just trust me, bro! [[User:Schierbecker|Schierbecker]] ([[User talk:Schierbecker|talk]]) 06:23, 23 April 2024 (UTC) |
|||
:::::Ticking the minor button is a "just trust me" move. Just trust me: it's minor, and nobody with the default watchlist settings needs to pay any attention to this... [[User:WhatamIdoing|WhatamIdoing]] ([[User talk:WhatamIdoing|talk]]) 19:55, 24 April 2024 (UTC) |
|||
== Tech News: 2024-17 == |
|||
<section begin="technews-2024-W17"/><div class="plainlinks"> |
|||
Latest '''[[m:Special:MyLanguage/Tech/News|tech news]]''' from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. [[m:Special:MyLanguage/Tech/News/2024/17|Translations]] are available. |
|||
'''Recent changes''' |
|||
* Starting this week, newcomers editing Wikipedia [[mw:Special:MyLanguage/Growth/Positive reinforcement#Leveling up 3|will be encouraged]] to try structured tasks. [[mw:Special:MyLanguage/Growth/Feature summary#Newcomer tasks|Structured tasks]] have been shown to [[mw:Special:MyLanguage/Growth/Personalized first day/Structured tasks/Add a link/Experiment analysis, December 2021|improve newcomer activation and retention]]. [https://phabricator.wikimedia.org/T348086] |
|||
* You can [[m:Special:MyLanguage/Coolest Tool Award|nominate your favorite tools]] for the fifth edition of the Coolest Tool Award. Nominations will be open until May 10. |
|||
'''Changes later this week''' |
|||
* [[File:Octicons-sync.svg|12px|link=|alt=|Recurrent item]] The [[mw:MediaWiki 1.43/wmf.2|new version]] of MediaWiki will be on test wikis and MediaWiki.org from {{#time:j xg|2024-04-23|en}}. It will be on non-Wikipedia wikis and some Wikipedias from {{#time:j xg|2024-04-24|en}}. It will be on all wikis from {{#time:j xg|2024-04-25|en}} ([[mw:MediaWiki 1.43/Roadmap|calendar]]). [https://wikitech.wikimedia.org/wiki/Deployments/Train][https://wikitech.wikimedia.org/wiki/Deployments/Yearly_calendar] |
|||
'''Future changes''' |
|||
* This is the last warning that by the end of May 2024 the Vector 2022 skin will no longer share site and user scripts/styles with old Vector. For user-scripts that you want to keep using on Vector 2022, copy the contents of [[{{#special:MyPage}}/vector.js]] to [[{{#special:MyPage}}/vector-2022.js]]. There are [[mw:Special:MyLanguage/Reading/Web/Desktop Improvements/Features/Loading Vector 2010 scripts|more technical details]] available. Interface administrators who foresee this leading to lots of technical support questions may wish to send a mass message to your community, as was done on French Wikipedia. [https://phabricator.wikimedia.org/T362701] |
|||
'''''[[m:Special:MyLanguage/Tech/News|Tech news]]''' prepared by [[m:Special:MyLanguage/Tech/News/Writers|Tech News writers]] and posted by [[m:Special:MyLanguage/User:MediaWiki message delivery|bot]] • [[m:Special:MyLanguage/Tech/News#contribute|Contribute]] • [[m:Special:MyLanguage/Tech/News/2024/17|Translate]] • [[m:Tech|Get help]] • [[m:Talk:Tech/News|Give feedback]] • [[m:Global message delivery/Targets/Tech ambassadors|Subscribe or unsubscribe]].'' |
|||
</div><section end="technews-2024-W17"/> |
|||
<bdi lang="en" dir="ltr">[[User:MediaWiki message delivery|MediaWiki message delivery]]</bdi> 20:25, 22 April 2024 (UTC) |
|||
<!-- Message sent by User:Quiddity (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Global_message_delivery/Targets/Tech_ambassadors&oldid=26647188 --> |
|||
== Is there a convenient functionality to merge/extend Lua arrays? == |
|||
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? [[User:Alexiscoutinho|Alexis Coutinho]] ([[User talk:Alexiscoutinho|talk]]) <sup>[''[[WP:PING|ping me]]'']</sup> 20:30, 22 April 2024 (UTC) |
|||
:Hahahahaha Lua is not batteries included. You are perhaps looking for [[Module:TableTools]] or [[Module:Set]]. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 21:54, 22 April 2024 (UTC) |
|||
::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 <code>table.concat</code>... [[User:Alexiscoutinho|Alexis Coutinho]] ([[User talk:Alexiscoutinho|talk]]) <sup>[''[[WP:PING|ping me]]'']</sup> 22:26, 22 April 2024 (UTC) |
|||
:::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 <code>table.insert</code>ing into table 1, or 2) doing it with indices. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 23:11, 22 April 2024 (UTC) |
|||
::::Well, I've proposed adding it to TableTools [[Module talk:TableTools#Protected edit request on 23 April 2024|here]]. [[User:Alexiscoutinho|Alexis Coutinho]] ([[User talk:Alexiscoutinho|talk]]) <sup>[''[[WP:PING|ping me]]'']</sup> 00:11, 23 April 2024 (UTC) |
|||
== Anyone know why this is happening? == |
|||
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? |
|||
[[File:DYKTemplateinVectorLegacyLightMode.png|200px|DYKTemplateinVectorLegacyLightMode]] [[File:DYKTemplateinVectorLegacyDarkMode.png|200px|DYKTemplateinVectorLegacyDarkMode]] |
|||
The image on the left is my screen in light mode, and the image on the right is my screen in dark mode. <span style="border-radius:3em;padding:5px;background:#483D8B;">'''[[User:Relativity|<span style="color:white">Rela</span>]]'''[[User talk:Relativity|<span style="color:white">tivity ⚡️</span>]]</span> 00:13, 23 April 2024 (UTC) |
|||
:{{ping|Relativity}} It's caused by <code><nowiki>importScript('User:Shubinator/DYKcheck.js')</nowiki></code> 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. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 01:49, 23 April 2024 (UTC) |
|||
::@[[User:PrimeHunter|PrimeHunter]] Thank you. Wow, I never would have guessed. <span style="border-radius:3em;padding:5px;background:#483D8B;">'''[[User:Relativity|<span style="color:white">Rela</span>]]'''[[User talk:Relativity|<span style="color:white">tivity ⚡️</span>]]</span> 23:25, 23 April 2024 (UTC) |
|||
== History indexing == |
|||
I got a revdel request for removal from page history of some relatively innocuous adolescent pranks from a couple of years ago. The requester is concerned that it could be found by search engines. I haven't been able to replicate it, and I seriously doubt that search engines care about history like that. In order to reassure the requester that they can quit worrying about it, can somebody clarify whether and to what extent article histories are or aren't indexed or considered by search engines? '''<span style="font-family: Arial;">[[User:Acroterion|<span style="color: black;">Acroterion</span>]] <small>[[User talk:Acroterion|<span style="color: gray;">(talk)</span>]]</small></span>''' 13:49, 23 April 2024 (UTC) |
|||
:Nearly everything that starts with <kbd>/w/</kbd> is disallowed to be indexed by search engines in [https://en.wikipedia.org/robots.txt our robots.txt] (see [[robots.txt|what is robots.txt]]). E.g. google <kbd>site:en.wikipedia.org inurl:/w/index.php</kbd>. There could be theoretically ways to circumvent this, but I haven't found any Google results for old versions and diffs. [[User:JWBTH|Jack who built the house]] ([[User:JWBTH|talk]]) 14:07, 23 April 2024 (UTC) |
|||
::Diffs and old revisions also have [[noindex]] in the HTML so Google and other compliant search engines will not index them if they come across them in other ways at Wikimedia sites. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 14:44, 23 April 2024 (UTC). |
|||
:::Thanks, that's what I thought. I'll reassure them, since their request really doesn't meet revdel criteria. It's the kind of silly thing I'd have done at 16 if we'd had an editable online encyclopedia. '''<span style="font-family: Arial;">[[User:Acroterion|<span style="color: black;">Acroterion</span>]] <small>[[User talk:Acroterion|<span style="color: gray;">(talk)</span>]]</small></span>''' 15:10, 23 April 2024 (UTC) |
|||
== Early access to the dark mode (mobile web, logged-in) == |
|||
[[File:Accessibility for reading mockup with dark mode on.png|thumb]] |
|||
Hi everyone, as [[wmfblog:2023/11/24/dark-mode-is-coming/|announced in November]], the [[mw:Special:MyLanguage/Reading/Web|Web team at the Wikimedia Foundation]] is working on [[mw:Special:MyLanguage/Reading/Web/Accessibility for reading|dark (sometimes also called night) mode]]. Now, we have released the feature for logged-in users of advanced mobile mode across all wikis for testing purposes. But don't worry, the new feature is not disruptive! (See the "known limitations" section below.) It's just important for us to work together with you before we release this feature to a wider audience. Our goals for the early rollout are to: |
|||
* Show what we've built very early. The earlier you are involved, the more your voices will be reflected in the final version |
|||
* Get your help with flagging bugs, issues, and requests |
|||
* Work with technical editors to adjust various templates and gadgets to the dark mode |
|||
Go to the [[mw:Special:MyLanguage/Reading/Web/Accessibility for reading|project page]] and the [[mw:Special:MyLanguage/Reading/Web/Accessibility for reading/Frequently asked questions|FAQ page]] to see more information about the basics of this project. |
|||
'''Known limitations of the initial release''' |
|||
* Currently, dark mode is only available on mobile, for logged-in users who have opted into advanced mode, as an opt-in feature. |
|||
* Gadgets may initially not work well with dark mode and may have to be updated. |
|||
* Our first goal is making dark mode work on articles. Special pages, talk pages, and other namespaces have not been updated to work in dark mode yet. We have temporarily disabled dark mode on some of these pages. |
|||
'''What we would like you to do (the broad community)''' |
|||
If you have questions - ask us! Also, where appropriate, consider linking to the [[mw:Special:MyLanguage/Recommendations for night mode compatibility on Wikimedia wikis|Recommendations for dark mode compatibility on Wikimedia wikis]]. We would like to emphasize that the recommendations may evolve. For this reason, we are not suggesting to create your local wiki copies of recommendations. At some point, the copy could become different from the original version. |
|||
'''What we would like you to do (template editors, interface admins, technical editors)''' |
|||
When most bugs are solved, we'll be able to make the dark mode available for readers on both desktop and mobile. To make this happen, we need to work together with you on reporting and solving the problems. |
|||
# To turn it on, use the mobile website and go to the [[Special:MobileOptions|settings]] part of your menu and opt into advanced mode, if you haven't already. Then, set the color to dark. (Later, we will be allowing the device preferences to set dark mode automatically). |
|||
# Next, go to different articles and look for issues: |
|||
#* If you have noticed an issue with a template but do not know how to fix it |
|||
#*# Go to [[mw:Special:MyLanguage/Recommendations for night mode compatibility on Wikimedia wikis|the recommendations page]] and find a relevant example |
|||
#*# If no relevant example is available or you're not sure of the fix, [[mw:Talk:Reading/Web/Accessibility for reading|contact us]] |
|||
#* If you want to debug many templates in dark mode |
|||
#*# Go to https://night-mode-checker.wmcloud.org/ and identify templates that need to be fixed. The tool flags the top 100 most read articles. |
|||
#*# Go to [[mw:Special:MyLanguage/Recommendations for night mode compatibility on Wikimedia wikis|the recommendations page]] and find a relevant example |
|||
#*# If no relevant example is available or you're not sure of the fix, [[mw:Talk:Reading/Web/Accessibility for reading|contact us]] |
|||
#* If you want to identify problems beyond the top 100 articles. |
|||
#*# Install the WCAG color contrast browser extension ([https://chromewebstore.google.com/detail/wcag-color-contrast-check/plnahcmalebffmaghcpcmpaciebdhgdf Chrome], [https://addons.mozilla.org/en-US/firefox/addon/wcag-contrast-checker/ Firefox]) and visit some articles. Use it to identify problems |
|||
#*# Go to the [[mw:Special:MyLanguage/Recommendations for night mode compatibility on Wikimedia wikis|recommendations page]] and find relevant examples |
|||
#*# If no relevant example is available or you're not sure of the fix, [[mw:Talk:Reading/Web/Accessibility for reading|contact us]] |
|||
#* If you have a bug report for dark mode that is not related to templates |
|||
#*# Take a screenshot of what you are observing. |
|||
#*# [[mw:Talk:Reading/Web/Accessibility for reading|Contact us]]. If possible, please write down your browser version and operating system version. |
|||
Thank you. We're looking forward to your opinions and comments! [[User:SGrabarczuk (WMF)|SGrabarczuk (WMF)]] ([[User talk:SGrabarczuk (WMF)|talk]]) 15:41, 23 April 2024 (UTC) |
|||
== Why is [[USS Triton (SSRN-586)]] cascade-protected? == |
|||
{{resolved}} |
|||
[[USS Triton (SSRN-586)]] is currently showing as cascade-protected, claiming that it is transcluded on the main page and various related pages. While it is linked from [[Wikipedia:Main Page/Tomorrow]], it does not appear to be transcluded anywhere (and pages that are just linked shouldn't be cascade-protected). Is this a known bug of some sort? ''':Jay8g''' <small>[<nowiki />[[User:Jay8g|V]]•[[User talk:Jay8g|T]]•[[Special:Contributions/Jay8g|E]]<nowiki />]</small> 00:25, 24 April 2024 (UTC) |
|||
: Because {{tl|USS}} -> [[Module:WPSHIPS utilities]] checks if the page it is linking to is a redirect, which registers as a transclusion. I would not call this a bug - every individual step is working as it should. [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 00:30, 24 April 2024 (UTC) |
|||
:It's not any more, that template was unnecessary in that blurb - I've replaced it with wikitext. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 00:41, 24 April 2024 (UTC) |
|||
== Weird URLs == |
|||
What causes or is the source of URLs like these? (left side of diff) |
|||
*[[Special:Diff/1216454912/1220485647]] |
|||
[https://en.wikipedia.org/w/index.php?search=insource%3Acdn.ampproject.org+insource%3A%2Fcdn%5B.%5Dampproject%5B.%5Dorg%2F&title=Special:Search&profile=advanced&fulltext=1&ns0=1 192 pages]. Looks like a conspiracy of Google and VE but cdn.ampproject.org is involved somehow also. -- [[User:GreenC|<span style="color: #006A4E;">'''Green'''</span>]][[User talk:GreenC|<span style="color: #093;">'''C'''</span>]] 02:21, 24 April 2024 (UTC) |
|||
:It indicates that [[Accelerated Mobile Pages]] are being used. [[User:MrOllie|MrOllie]] ([[User talk:MrOllie|talk]]) 02:29, 24 April 2024 (UTC) |
|||
:Google will sometimes prioritize amp links in mobile search results so I see them being passed around. At least it's easy to find the original URL. [[User:Skynxnex|Skynxnex]] ([[User talk:Skynxnex|talk]]) 02:35, 24 April 2024 (UTC) |
|||
::[[Special:Diff/1220148479/1220489087]] .. more garbage. [https://en.wikipedia.org/w/index.php?go=Go&search=insource%3Aamp_js+insource%3A%2F%5B%3F%5Damp_js%2F&title=Special%3ASearch&ns0=1 156 pages]. 192+156 = 348 pages. I'll check with AWBREQ. -- [[User:GreenC|<span style="color: #006A4E;">'''Green'''</span>]][[User talk:GreenC|<span style="color: #093;">'''C'''</span>]] 02:39, 24 April 2024 (UTC) |
|||
:::Someone had been making a bot for this, but it's been a while since their last update: [[Wikipedia:Bots/Requests for approval#DoggoBot 10]]. – [[Special:Contributions/2804:F14:8092:9F01:F9F8:9351:41E7:923|2804:F1...E7:923]] ([[User talk:2804:F14:8092:9F01:F9F8:9351:41E7:923|talk]]) 04:31, 24 April 2024 (UTC) |
|||
:::These query strings are for server-side tracking, usually they may be safely removed. I'm sure that I've seen a bot removing them. I don't think that VE can be blamed at all. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] 🌹 ([[User talk:Redrose64|talk]]) 16:52, 24 April 2024 (UTC) |
|||
== What am I missing (translcudes redlink that doesn't appear in source text) == |
|||
I was fixing a few issues on [[Narendra Modi]] and noticed that under "Pages transcluded onto the current version of this page" it has [[Deputy Leader of the House in Lok Sabha]] (what links here from the target shows the same thing[https://en.wikipedia.org/wiki/Special:WhatLinksHere/Deputy_Leader_of_the_House_in_Lok_Sabha]). But I can't find any mention of it in the source text. -- <small>LCU</small> '''[[User:ActivelyDisinterested|A<small>ctively</small>D<small>isinterested</small>]]''' <small>''«[[User talk:ActivelyDisinterested|@]]» °[[Special:Contributions/ActivelyDisinterested|∆t]]°''</small> 17:16, 24 April 2024 (UTC) |
|||
:It's coming from the infobox for sure, even just this snippet causes that to occur: |
|||
<syntaxhighlight lang=wikitext> |
|||
{{Infobox officeholder |
|||
| office2 = [[Leader of the House in Lok Sabha|Leader of the House, Lok Sabha]] |
|||
| deputy2 = anything |
|||
}} |
|||
</syntaxhighlight> |
|||
:— [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 18:11, 24 April 2024 (UTC) |
|||
::Yeah it's building the link by adding 'Deputy' to the wikilinks. If you put [[Test]] in office2 it will try to use [[Deputy Test]]. But why does it appear as transcoded? Wikilinks aren't transcoding, and I can't see why it's happening in the infobox code. -- <small>LCU</small> '''[[User:ActivelyDisinterested|A<small>ctively</small>D<small>isinterested</small>]]''' <small>''«[[User talk:ActivelyDisinterested|@]]» °[[Special:Contributions/ActivelyDisinterested|∆t]]°''</small> 19:15, 24 April 2024 (UTC) |
|||
:::There are many layers there, it looks like this is coming from a nested template, that is then using a hack via {{tl|Linkless exists}} to attempt to see if that page exists. In short, you can ignore it or develop an article for that title. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 19:47, 24 April 2024 (UTC) |
|||
::::Fair enough. -- <small>LCU</small> '''[[User:ActivelyDisinterested|A<small>ctively</small>D<small>isinterested</small>]]''' <small>''«[[User talk:ActivelyDisinterested|@]]» °[[Special:Contributions/ActivelyDisinterested|∆t]]°''</small> 19:49, 24 April 2024 (UTC) |
|||
:::::It's in [[Template:Infobox officeholder/office]], probably the line which transcludes {{tlx|Linkless exists}}.--[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] 🌹 ([[User talk:Redrose64|talk]]) 20:09, 24 April 2024 (UTC) |
|||
== Implications of temporary accounts and [[WP:SIP|sensitive IP addresses]] == |
|||
The [[Wikipedia:Blocking IP addresses|blocking IP addresses]] essay was linked from WP:AN recently (for reasons unrelated) and it had me thinking:<br> |
|||
How will temporary accounts affect the potential blocking of sensitive IP addresses (i.e. IPs assigned to major government organizations and also 'may be a good idea to notify the committee' IPs like major corporations or ones with technical implications like WMF/WEduF IPs)? To quote that essay, it currently says {{tq|"If you block an IP address in any of the following ranges, you are required to immediately notify the [[metawiki:Communications_committee|Wikimedia Foundation Communications Committee]]."}}<br> |
|||
Is the procedure here going to be that every admin is supposed to check the IP address of temporary accounts to see if it's sensitive when blocking? Or does it not matter too much?<br><br> |
|||
<small>... also, should I have made this in [[WP:VPP]]?</small> – [[Special:Contributions/2804:F14:8092:9F01:61D4:EA42:137D:5C91|2804:F1...7D:5C91]] ([[User talk:2804:F14:8092:9F01:61D4:EA42:137D:5C91|talk]]) 22:01, 24 April 2024 (UTC) |
|||
:These addresses are already affected by autoblocks, right? At first glance, I don't see how this would be any different. [[User:Suffusion of Yellow|Suffusion of Yellow]] ([[User talk:Suffusion of Yellow|talk]]) 22:06, 24 April 2024 (UTC) |
|||
::Huh. Didn't pause to consider what was done currently with actual accounts using these IPs... right so it's one account per cookie, even if they use the exact same IP... so that means, blocking a temporary account would only affect that device (until their cache was cleared) and autoblock the IP(IPs?) used (I'm not actually sure how long autoblocks keep autoblocking IPs for, but maybe that's intentional). |
|||
::Not sure if that has public relations implications, I guess not. On that note, maybe if it turns out to be a problem to have temporary accounts (that will be mandatorily/automatically created on editing) using sensitive IPs being blocked then [[MediaWiki:Block-autoblock-exemptionlist]] could be used to mitigate that - looks like a lot of WMF/etc IPs are there already. – [[Special:Contributions/2804:F14:8092:9F01:61D4:EA42:137D:5C91|2804:F1...7D:5C91]] ([[User talk:2804:F14:8092:9F01:61D4:EA42:137D:5C91|talk]]) 22:26, 24 April 2024 (UTC) |
|||
:::I did not know that page existed. Thanks. [[User:Suffusion of Yellow|Suffusion of Yellow]] ([[User talk:Suffusion of Yellow|talk]]) 22:29, 24 April 2024 (UTC) |
|||
::::I didn't either, followed the #Shared and dynamic IP addresses section, through the [[Wikipedia:Autoblock|autoblock problem]] link (the 'Disabling autoblocking' section). – [[Special:Contributions/2804:F14:8092:9F01:61D4:EA42:137D:5C91|2804:F1...7D:5C91]] ([[User talk:2804:F14:8092:9F01:61D4:EA42:137D:5C91|talk]]) 22:34, 24 April 2024 (UTC) |
|||
:I am pretty sure you will only be able to range block temporary accounts by blocking their ranges. So you will still bump into the standard "are you blocking a sensitive range?" [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 22:25, 24 April 2024 (UTC) |
|||
::I'll stop replying so much, but: The explanatory essay currently says if you block an IP in the ranges you should inform the committee, not if you block the ranges. This is mostly echoed in the actual policy [[WP:BP#IP address blocks]]. |
|||
::Though as SoY said, this would already happen with an account (and only a CU with reason to check would know), so maybe this is a non-problem. – [[Special:Contributions/2804:F14:8092:9F01:61D4:EA42:137D:5C91|2804:F1...7D:5C91]] ([[User talk:2804:F14:8092:9F01:61D4:EA42:137D:5C91|talk]]) 22:42, 24 April 2024 (UTC) |
|||
:::And the explanatory essay was also written two decades ago. We can adjust as necessary. This is pretty low down on the list of "how do we deal with temporary accounts when that hits us". [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 00:42, 25 April 2024 (UTC) |
|||
== Why isn't the auto-archive working on this article talk page == |
|||
Someone please with more mental bandwidth than I have right now, take a look at [[Talk:Lucille Ball]] and fix it? Why isn't the bot creating and then archiving to a Page 2? (and when I try to use the archive code-thingy I have installed, Archive 1 instead of 2 comes up...) Thanks, [[User:Shearonink|Shearonink]] ([[User talk:Shearonink|talk]]) 22:04, 24 April 2024 (UTC) |
|||
:The archiving is setup to to archive anything older than 30 days, with a max archive size of 100k, and leaving at least one thread on the talk page (so it doesn't appear blank). There been nothing to archive since April 2022, and the current archive is still smaller than 100k so there's no need for a second archive yet. -- <small>LCU</small> '''[[User:ActivelyDisinterested|A<small>ctively</small>D<small>isinterested</small>]]''' <small>''«[[User talk:ActivelyDisinterested|@]]» °[[Special:Contributions/ActivelyDisinterested|∆t]]°''</small> 22:45, 24 April 2024 (UTC) |
|||
::Ah ok...I was mis-reading the "page size" stuff then - my bad. Thanks, [[User:Shearonink|Shearonink]] ([[User talk:Shearonink|talk]]) 02:14, 25 April 2024 (UTC) |
|||
== No supported authentication methods available when trying to log in to toolforge == |
|||
I normally log in to toolforge using PuTTY and WinSCP, and a year or two ago I set it up (I don't remember how, except that it was a pain to do) to use a passphrase that checks a local key file on my PC. This has been working fine ever since. Today I got a message from WinSCP on connecting saying that the host key had changed (I forget the exact message). After a bit of research I trusted the host and connected successfully, using the passphrase as usual; I can see the usual directory structure for the tool I run. I then tried PuTTY and got the same message, said yes, and now the host won't let me connect. When I use the saved session I get "No supported authentication methods available" and then "Server refused our key". This surprised me because WinSCP is perfectly happy with the connection. Any help on how to get connected again would be much appreciated. [[User:Mike Christie|Mike Christie]] ([[User_talk:Mike Christie|talk]] - [[Special:Contributions/Mike_Christie|contribs]] - [[User:Mike Christie/Reference library|library]]) 01:02, 25 April 2024 (UTC) |
|||
:Update PuTTY to the newest version and it should be fine again. [[user:Hgzh|hgzh]] 07:00, 25 April 2024 (UTC) |
|||
::That worked. Should have thought of that myself. Thanks! [[User:Mike Christie|Mike Christie]] ([[User_talk:Mike Christie|talk]] - [[Special:Contributions/Mike_Christie|contribs]] - [[User:Mike Christie/Reference library|library]]) 09:55, 25 April 2024 (UTC) |
|||
:::Earlier versions of PuTTY have a security vulnerability [https://www.cvedetails.com/vulnerability-list/vendor_id-471/Putty.html]. Everybody should update to the latest version. [[User:Hawkeye7|<span style="color:#800082">Hawkeye7</span>]] [[User_talk:Hawkeye7|<span style="font-size:80%">(discuss)</span>]] 11:19, 25 April 2024 (UTC) |
|||
== Do all bots not handle edit conflicts? == |
|||
Diffs: [[Special:Diff/1220536531|<archive>]], [[Special:Diff/1220536533|<ANI>]]. The bot claims it archived 5 sections, and it did do that, but it removed 6 sections (one that had just been created). The post was recreated by the author, so there's no active problem - but is that a problem that happens with bots, or just this one? Or is this just a 'once in a blue moon' event? – [[Special:Contributions/2804:F14:8092:9F01:61D4:EA42:137D:5C91|2804:F14:8092:9F01:61D4:EA42:137D:5C91]] ([[User talk:2804:F14:8092:9F01:61D4:EA42:137D:5C91|talk]]) 02:58, 25 April 2024 (UTC) |
|||
:Bots ''can'' detect edit conflicts, by setting <code>baserevid</code> or <code>basetimestamp</code>, see [https://en.wikipedia.org/w/api.php?action=help&modules=edit the API documentation]. But if a bot only takes a fraction of a second between loading the base revision and making the edit, they can probably "get away" with not doing this before anyone notices a problem; what are the chances of an edit slipping in the gap? That edit was nine seconds after the previous one, so perhaps something was slowing down the bot. [[User:Suffusion of Yellow|Suffusion of Yellow]] ([[User talk:Suffusion of Yellow|talk]]) 03:33, 25 April 2024 (UTC) |
|||
::I filtered the contributions of the bot a bit, for the last 50000 edits or so (I lost count, it was 5000 contribs at a time), found 4 other instances: |
|||
::- 00:00, 18 April 2024: [https://en.wikipedia.org/w/index.php?diff=1219472629&diffonly=1 ANI], [https://en.wikipedia.org/w/index.php?diff=1219472615&diffonly=1 archive] |
|||
::- 12:00, 9 April 2024: [https://en.wikipedia.org/w/index.php?diff=1218048150&diffonly=1 ANI], [https://en.wikipedia.org/w/index.php?diff=1218048145&diffonly=1 archive] |
|||
::- 00:01, 4 April 2024: [https://en.wikipedia.org/w/index.php?diff=1217124138&diffonly=1 ANI], [https://en.wikipedia.org/w/index.php?diff=1217124125&diffonly=1 archive] |
|||
::- 17:10, 10 February 2024: [[Special:Diff/1205875017|[MediaWiki talk:Watchlist-messages]]], [[Special:Diff/1205875007|[archive]]] |
|||
::So not that many, but it does happen. Hm. I don't know what to do with this information, but thanks for answering. – [[Special:Contributions/2804:F14:8092:9F01:61D4:EA42:137D:5C91|2804:F1...7D:5C91]] ([[User talk:2804:F14:8092:9F01:61D4:EA42:137D:5C91|talk]]) 04:31, 25 April 2024 (UTC) |
|||
== Bizarre category order == |
|||
I [https://en.wikipedia.org/w/index.php?title=William_Whitehead_Watts&diff=1220713536&oldid=1220713356 just added] [[William Whitehead Watts]] to [[:Category:Presidents of the Geological Society of London]] using [[Wikipedia:HotCat]]. In the past when I have done this sort of thing the new category appears last in the list of categories at the bottom of the page. For some reason it is displaying as the first on this one. Why is this and how can I stop this unwonted and unwanted behaviour? Browser = Edge on Win 11, skin = Monobook. Thank you, [[User:DuncanHill|DuncanHill]] ([[User talk:DuncanHill|talk]]) 13:44, 25 April 2024 (UTC) |
|||
:That article was already in that category before your changes. It is applied automatically by [[Template:GLS Presidents]]. The reason it is listed first is because that template is used before any of the other categories are defined — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 13:49, 25 April 2024 (UTC) |
|||
::Well that would explain why I didn't see it was in that category, nobody would expect it to be listed before the dates. Is it common for templates to do that? It strikes me as unnecessary and confusing. <!-- Template:Unsigned --><small class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:DuncanHill|DuncanHill]] ([[User talk:DuncanHill#top|talk]] • [[Special:Contributions/DuncanHill|contribs]]) </small> |
|||
:::[[WP:TEMPLATECAT]] says: "However, it is recommended that articles not be placed in ordinary ''content'' categories using templates in this way." But there are still many templates doing it. Some of them have a parameter for [[Wikipedia:Category suppression]] but not [[Template:GLS Presidents]]. You could use <code><nowiki>{{Suppress categories|{{GLS Presidents}}}}</nowiki></code> and manually place the category where you want it. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 14:50, 25 April 2024 (UTC) |
|||
::::{{U|DuncanHill}}, if you manually add the category to each of the pages transcluded by the template, the category assignment code can be removed from the template per [[WP:TEMPLATECAT]]. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 14:57, 25 April 2024 (UTC) |
|||
:::::{{re|PrimeHunter}} I tried [https://en.wikipedia.org/w/index.php?title=Template:GLS_Presidents&diff=prev&oldid=1220724897 that] and got "template loop detected". {{re|Jonesey95}} I'd happily add them to the category, but haven't the faintest idea how to remove the category assignment code from the template. Something to do with includeonly or noinclude? [[User:DuncanHill|DuncanHill]] ([[User talk:DuncanHill|talk]]) 15:01, 25 April 2024 (UTC) |
|||
::::::@[[User:DuncanHill|DuncanHill]] just {{em|remove}} the part of the code that has the category, don't add additional parts to the template. [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 15:21, 25 April 2024 (UTC) |
|||
:::::::{{re|Gonnym}} so remove all of <nowiki><includeonly>{{main other|[[Category:Presidents of the Geological Society of London]]}}</includeonly><noinclude> |
|||
[[Category:Presidents of the Geological Society of London| ]] |
|||
</noinclude></nowiki>? [[User:DuncanHill|DuncanHill]] ([[User talk:DuncanHill|talk]]) 15:24, 25 April 2024 (UTC) |
|||
::::::::yes if you want to also remove the template itself from that category. If you want to keep the template in the category leave the noinclude section. [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 15:26, 25 April 2024 (UTC) |
|||
:::::::::Thank you, [[User:DuncanHill|DuncanHill]] ([[User talk:DuncanHill|talk]]) 16:05, 25 April 2024 (UTC) |
|||
::::::<code><nowiki>{{Suppress categories|{{GLS Presidents}}}}</nowiki></code> is code which can be placed in an article using a template which automatically adds categories. Then the template wouldn't have to be edited, but the code would be needed in all articles where the category is unwanted. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 16:12, 25 April 2024 (UTC) |
|||
== Search suggestions seem to be missing obvious choices == |
|||
{{tracked|T363516}} |
|||
Earlier today, I went to look up the article on [[Sonia Sotomayor]], a current justice of the US Supreme Court. But to my surprise, as I started typing her name into the search bar, the search algorithm didn't seem to recognize her as a possible destination. By the time I had "Sonia So" typed in, the first suggestion was [[Sonia Soto]] (a two-sentence stub about a translator), followed by imperfect matches for the search term; once I'd typed in "Sonia Soto", it ''only'' suggested the translator; I didn't get pointed toward Sotomayor's article until I'd typed in her entire name. My first assumption was that the article title had a diacritic or something that would cause [[Sonia Sotomayor]] to be a redirect rather than the article title, but that turned out not to be the case. |
|||
I was curious whether this was a more widespread problem, so next I searched for [[Antonin Scalia]], and had similar issues (when I typed "Antonin Sca", the first suggestion was [[Antonio Scarfoglio]]). Trying again, I searched for [[Joe Biden]]; when I typed "Joe Bi", the first suggestion was instead [[Joe Biden Supreme Court candidates]]. At this point, my suspicion was that the search algorithm was choosing to suppress the articles of political BLPs specifically - but then I found two counterexamples soon afterward. [[Bill Clinton]] showed up successfully as the first suggestion for "Bill C", whereas [[Reese Witherspoon]] was nowhere to be found when I typed "Reese With" into the search bar. Searching some other topics shows that it's not limited to biographical articles either: I had similar problems trying to search the articles for [[All Eyez on Me]], [[Chemistry]], and [[Norway]], as well as for more niche topics like [[alkaline noodles]]. The search problem isn't universal, but it's affected the majority of the titles I've checked, across various obscurity levels and topic areas. |
|||
I've tested this on the desktop site and on the app, and found the same issue occurring on both platforms. I haven't been able to identify any clear commonalities between articles that are affected by this search issue. Does anyone know what might be going on? [[User:ModernDayTrilobite|ModernDayTrilobite]] ([[User talk:ModernDayTrilobite|talk]] • [[Special:Contributions/ModernDayTrilobite|contribs]]) 15:05, 25 April 2024 (UTC) |
|||
:Similar, [[Paula Vennells]] was [[Wikipedia:Help_desk#Paula_Vennels_in_search|raised earlier on the Help Desk]]. [[User:DuncanHill|DuncanHill]] ([[User talk:DuncanHill|talk]]) 15:09, 25 April 2024 (UTC) |
|||
::FWIW, I am unable to reproduce any of the above problems. When I type the first few characters of the names of any of those people or articles, I get the expected article as one of the first two results (i.e. "chem" shows "Chemistry" as the second result). – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 16:28, 25 April 2024 (UTC) |
|||
:::I '''am''' getting the same problems. Edge on Win 11, Monobook. [[User:DuncanHill|DuncanHill]] ([[User talk:DuncanHill|talk]]) 16:46, 25 April 2024 (UTC) |
|||
::::For reference, the hardware I've tested on includes Google Chrome on Windows 7, and the Wikipedia app on an iPhone 13 Mini (running iOS 17.4.1). I just now tested the Wikipedia mobile website (using Safari on the same iPhone) and reproduced the issue there as well. [[User:ModernDayTrilobite|ModernDayTrilobite]] ([[User talk:ModernDayTrilobite|talk]] • [[Special:Contributions/ModernDayTrilobite|contribs]]) 17:37, 25 April 2024 (UTC) |
|||
::::I'm getting the same behavior both in my Firefox Wikipedia search bar and on the desktop site. Some pages, like [[Abbott Elementary]], don't get suggested unless the full title is typed in with correct capitalization. '''[[User:Jak86|Jak86]]''' ([[User talk:Jak86|talk]])([[Special:Contributions/Jak86|contribs]]) 18:33, 25 April 2024 (UTC) |
|||
::::I'm getting this problem with [[Duocylinder]]. [[User:TypoEater|TypoEater]] ([[User talk:TypoEater|talk]]) 18:59, 25 April 2024 (UTC) |
|||
:::::The bug apparently depends on the datacenter you connect to, which depends on your geographical location. Using the [[wikitech:WikimediaDebug|WikimediaDebug]] extension, I can reproduce the problem when connecting to [[wikitech:Eqiad_data_center|eqiad]], but not when connecting to [[wikitech:Codfw_data_center|codfw]]. I filed this as [[phab:T363516|T363516]]. [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 18:59, 25 April 2024 (UTC) |
|||
::::::I am in the UK. I have no idea which data centre that is. [[User:DuncanHill|DuncanHill]] ([[User talk:DuncanHill|talk]]) 19:02, 25 April 2024 (UTC) |
|||
::::::: I am also seeing this: Searching for [[David Gilmour]] gives me [[David Gilmour Blythe]], [[David Gilmour (historian)]], and [[David Gilmour (writer)]] by the time I've typed "David Gilm" but not the Pink Floyd guitarist whose page is just "David Gilmour" until I've typed the entire name, and even then it gives it as "David gilmour". [[User:Doc Strange|Doc Strange]]<sup>[[User talk:Doc Strange|Mailbox]]</sup><small>[[Special:Contributions/Doc Strange|Logbook]]</small> 19:05, 25 April 2024 (UTC) |
|||
::::::Happens here too. Also happens with [[Google]], [[Brazil]], [[United States]]. All only show as suggestions when typed out in full. – [[Special:Contributions/2804:F14:8092:9F01:3468:323E:5807:DBA8|2804:F1...07:DBA8]] ([[User talk:2804:F14:8092:9F01:3468:323E:5807:DBA8|talk]]) 19:06, 25 April 2024 (UTC) |
|||
:::::::Now 'sonia sotomay' suggests Sonia Sotomayor, but 'Sonia Sotomay' doesn't. Is that normal? – [[Special:Contributions/2804:F14:8092:9F01:3468:323E:5807:DBA8|2804:F1...07:DBA8]] ([[User talk:2804:F14:8092:9F01:3468:323E:5807:DBA8|talk]]) 21:10, 25 April 2024 (UTC) |
|||
::::::::Works on the api url Matma Rex used in the report, but doesn't on [https://en.wikipedia.org/w/rest.php/v1/search/title?q=Sonia+Sotomay&limit=10 rest.php], which is what my browser is trying. – [[Special:Contributions/2804:F14:8092:9F01:3468:323E:5807:DBA8|2804:F1...07:DBA8]] ([[User talk:2804:F14:8092:9F01:3468:323E:5807:DBA8|talk]]) 21:20, 25 April 2024 (UTC) |
|||
:::::::::I see the correct results for 'Sonia Sotomay' now, when connecting to either eqiad or codfw, and when using either rest.php or api.php. I think you might have looked when the index was in the middle of rebuilding, and rest.php may be cached more heavily. Can you try again in a private / incognito browser window? [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 21:25, 25 April 2024 (UTC) |
|||
::::::::::<s>I only browse on incognito anyways, but I closed it and reopened it and tried it again on the link I used above, still no results</s> |
|||
::::::::::edit: It's working now... guess it was just more cache. |
|||
::::::::::– [[Special:Contributions/2804:F14:8092:9F01:3468:323E:5807:DBA8|2804:F14:8092:9F01:3468:323E:5807:DBA8]] ([[User talk:2804:F14:8092:9F01:3468:323E:5807:DBA8|talk]]) 21:40, 25 April 2024 (UTC)*edited: 21:57, 25 April 2024 (UTC) |
|||
== Redlinked category on js page == |
|||
The latest run of [[Special:WantedCategories]] features a nonsense {{cl|+}}, generated by the use of <nowiki>[[Category:+]]</nowiki> text in [[User:HovigTheEditor/common.js]] — but since I don't have "editing other users' js pages" privileges I can't fix it. And while I don't particularly understand what the code is there for, it might very well be there for a perfectly valid purpose, but would still have to be coded in a way that it isn't causing the js page to become directly filed in a redlinked category itself since the text is obviously not ''intended'' to actually categorize things as plus-sign per se. So could somebody with the necessary privileges look into fixing this? [[User:Bearcat|Bearcat]] ([[User talk:Bearcat|talk]]) 18:00, 25 April 2024 (UTC) |
|||
: Fixed. [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 18:07, 25 April 2024 (UTC) |
|||
== Template assistance needed == |
== Template assistance needed == |
||
Line 644: | Line 138: | ||
:I got it too, so I filed [[phab:T363701]]. It happened whenever the [[m:CentralNotice|CentralNotice]] banner for the U4C voting was displayed. But it stopped at some point even when I got the banner. I wonder if something was backported and fixed it. [[User:Nardog|Nardog]] ([[User talk:Nardog|talk]]) 22:44, 29 April 2024 (UTC) |
:I got it too, so I filed [[phab:T363701]]. It happened whenever the [[m:CentralNotice|CentralNotice]] banner for the U4C voting was displayed. But it stopped at some point even when I got the banner. I wonder if something was backported and fixed it. [[User:Nardog|Nardog]] ([[User talk:Nardog|talk]]) 22:44, 29 April 2024 (UTC) |
||
::The banners are maintained on Meta-Wiki as wiki pages. You can find them on [[m:Special:CentralNotice]], if you can figure out the interface (I struggle with it). I think this was the edit that fixed it: https://meta.wikimedia.org/w/index.php?title=MediaWiki:Centralnotice-template-u4c_election2024_vote2&diff=prev&oldid=26702487 [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 09:18, 30 April 2024 (UTC) |
|||
Thank you both. All the best: ''[[User:Rich Farmbrough|Rich]] [[User talk:Rich Farmbrough|Farmbrough]]''<small> 09:48, 1 May 2024 (UTC).</small><br /> |
|||
== Help with regex statement == |
== Help with regex statement == |
||
Line 662: | Line 159: | ||
:You need to add the relevant characters (possibly escaped?) to <code>[\\w/.\\-#?&=]</code>. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 19:59, 29 April 2024 (UTC) |
:You need to add the relevant characters (possibly escaped?) to <code>[\\w/.\\-#?&=]</code>. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 19:59, 29 April 2024 (UTC) |
||
:Almost any character can appear in a URL, especially after <code>?title=</code>. It may be better to accept anything except whatever delimits a URL in the relevant context, e.g. for parsing {{((}}cite web|url=http...}} use <code>[^|}]*</code> or for space-delimited [http... Description of page] try <code>\\S*</code>. The former may pick up unwanted spaces unless we complicate it as something like <code>.*?(?=\\s*[|}])</code> (grab any characters, but as few as possible, as long as optional spaces then | or } follows). [[User:Certes|Certes]] ([[User talk:Certes|talk]]) 00:14, 30 April 2024 (UTC) |
:Almost any character can appear in a URL, especially after <code>?title=</code>. It may be better to accept anything except whatever delimits a URL in the relevant context, e.g. for parsing {{((}}cite web|url=http...}} use <code>[^|}]*</code> or for space-delimited [http... Description of page] try <code>\\S*</code>. The former may pick up unwanted spaces unless we complicate it as something like <code>.*?(?=\\s*[|}])</code> (grab any characters, but as few as possible, as long as optional spaces then | or } follows). [[User:Certes|Certes]] ([[User talk:Certes|talk]]) 00:14, 30 April 2024 (UTC) |
||
::OK, building on that idea, this solution is imperfect, but it will work in most cases. I'm not using it for critical purposes (log files, counting) so YMMV: |
|||
:::<code><nowiki>(?<!/)(?<!\\?url=)https?://(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])[.])*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9])*wikisophia[.]org[^\\s\\]|}{<]*[^\\s\\]|}{<]*</nowiki></code> |
|||
::The gobbly between https and wikisophia is for matching hostname(s) at multiple levels per [https://stackoverflow.com/questions/106179/regular-expression-to-match-dns-hostname-or-ip-address this]. -- [[User:GreenC|<span style="color: #006A4E;">'''Green'''</span>]][[User talk:GreenC|<span style="color: #093;">'''C'''</span>]] 05:34, 30 April 2024 (UTC) |
|||
:::In case anyone is trying this regex, it had an error corrected: [[Special:Diff/1221562167/1221571619]] -- [[User:GreenC|<span style="color: #006A4E;">'''Green'''</span>]][[User talk:GreenC|<span style="color: #093;">'''C'''</span>]] 18:16, 30 April 2024 (UTC) |
|||
{{od}} |
|||
Out of interest I fed this into ChatGPT ([[WP:LLM|I know...!]]). Here's its response, for what it's worth (minor tweaks for formatting) - |
|||
This regular expression (regex) is designed to match URLs that point to the domain "wikisophia.org" under specific conditions, while excluding URLs that are part of certain contexts or formats. Let's break down this regex to understand what it is specifically targeting: |
|||
'''1. Negative Lookbehind Assertions:''' |
|||
- `(?<!/)` ensures that the match does not directly follow a forward slash `/`. This might be used to avoid matching URLs that are part of a larger URL path or parameter. |
|||
- `(?<!\\?url=)` ensures that the match does not directly follow the query parameter string `?url=`. This helps in avoiding matching URLs that are query parameters. |
|||
'''2. URL Scheme:''' |
|||
- `https?://` matches both "http://" and "https://". The `s?` means that the character "s" is optional. |
|||
'''3. Domain Name:''' |
|||
- The part `(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])[.])*` is somewhat complex but essentially matches sequences of alphanumeric characters separated by hyphens (not starting or ending with a hyphen) and followed by periods. This part matches subdomains as well, as it repeats zero or more times due to the `*` operator after the group. |
|||
- `([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9])` ensures the domain name or subdomain consists of alphanumeric characters, possibly with hyphens (but not starting or ending with them), much like the earlier subdomain matcher. |
|||
'''4. Specific Domain:''' |
|||
- `wikisophia[.]org` is very straightforward and matches the domain "wikisophia.org". The square brackets around the period `.` are technically not needed here, as they are used to escape special regex characters (though `.` would typically be escaped directly with a backslash). |
|||
'''5. Trailing URL Path and Parameters Exclusions:''' |
|||
- `[^\\s\\]|}{<]*` This part of the pattern is intended to consume any characters that are not whitespace, slashes, or certain special characters like `|`, `}`, `{`, `<`. However, there are syntax issues and potential misinterpretations in this segment: |
|||
- `[^\\s\\]` seems intended to exclude backslashes and whitespace (though `\\s` would be invalid in most regex flavors and might be an error). |
|||
- The character set `[^\\s\\]|}{<]` is followed by a `*` quantifier, meaning it matches zero or more of any character that is not a space, slash, or one of the special characters listed. This part could be attempting to match the rest of the URL while excluding specific trailing characters but is likely erroneous as presented. |
|||
'''Conclusion''' |
|||
The regex seems intended to match "wikisophia.org" URLs that do not follow a slash or the specific query parameter `?url=`. However, there are syntax issues that might cause it to behave unpredictably, particularly with the last part concerning non-whitespace and non-special characters, which appears to be syntactically incorrect. This regex should be reviewed for errors and tested thoroughly in its intended context to ensure it functions as expected. |
|||
I hope this is interesting and/or helpful. —[[User:Smalljim|Small]][[User talk:Smalljim#top|jim]] 11:23, 1 May 2024 (UTC) |
|||
== How does one correct a citation when the source is listed dozens of times? == |
== How does one correct a citation when the source is listed dozens of times? == |
||
Line 668: | Line 197: | ||
:{{re|Peterh6658}} I've made the change you wanted, and given a link to how I did it on the article talk page. [[User:DuncanHill|DuncanHill]] ([[User talk:DuncanHill|talk]]) 23:33, 29 April 2024 (UTC) |
:{{re|Peterh6658}} I've made the change you wanted, and given a link to how I did it on the article talk page. [[User:DuncanHill|DuncanHill]] ([[User talk:DuncanHill|talk]]) 23:33, 29 April 2024 (UTC) |
||
::Thanks, Duncan! I hope I wasn't out of line with that crack about the process being '''way too intimidating'''. (Another Maxwell Smart catchphrase.) I'm still a relatively new Wikipedian, and can never remember the best shortcut to help me remember that '''ref name''' technique. [[User:Peterh6658|Peterh6658]] ([[User talk:Peterh6658|talk]]) 23:51, 29 April 2024 (UTC) |
::Thanks, Duncan! I hope I wasn't out of line with that crack about the process being '''way too intimidating'''. (Another Maxwell Smart catchphrase.) I'm still a relatively new Wikipedian, and can never remember the best shortcut to help me remember that '''ref name''' technique. [[User:Peterh6658|Peterh6658]] ([[User talk:Peterh6658|talk]]) 23:51, 29 April 2024 (UTC) |
||
:You can make this change in the visual editor too, but it's not very intuitive. There are two ways you could do it: |
|||
:# After you select the reference marker (i.e. the "<sup>[5]</sup>"), instead of clicking "Edit" in the menu, you can just delete it (press Delete/Backspace on your keyboard), and then copy-paste the right reference marker in its place (i.e. the "<sup>[2]</sup>"). |
|||
:# Or, after you click "Edit" in the reference menu, you can click on "Change reference type" in the bottom-left corner, which will open the "Replace citation" menu – in that menu, go to "Re-use" and choose the correct citation from the list. |
|||
:Hope that helps in your future editing. [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 10:00, 30 April 2024 (UTC) |
|||
== Tech News: 2024-18 == |
|||
<section begin="technews-2024-W18"/><div class="plainlinks"> |
|||
Latest '''[[m:Special:MyLanguage/Tech/News|tech news]]''' from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. [[m:Special:MyLanguage/Tech/News/2024/18|Translations]] are available. |
|||
'''Recent changes''' |
|||
[[File:Talk_pages_default_look_(April_2023).jpg|thumb|alt=Screenshot of the visual improvements made on talk pages|Example of a talk page with the new design, in French.]] |
|||
* The appearance of talk pages changed for the following wikis: {{int:project-localized-name-azwiki/en}}{{int:comma-separator/en}}{{int:project-localized-name-bnwiki/en}}{{int:comma-separator/en}}{{int:project-localized-name-dewiki/en}}{{int:comma-separator/en}}{{int:project-localized-name-fawiki/en}}{{int:comma-separator/en}}{{int:project-localized-name-hewiki/en}}{{int:comma-separator/en}}{{int:project-localized-name-hiwiki/en}}{{int:comma-separator/en}}{{int:project-localized-name-idwiki/en}}{{int:comma-separator/en}}{{int:project-localized-name-kowiki/en}}{{int:comma-separator/en}}{{int:project-localized-name-nlwiki/en}}{{int:comma-separator/en}}{{int:project-localized-name-ptwiki/en}}{{int:comma-separator/en}}{{int:project-localized-name-rowiki/en}}{{int:comma-separator/en}}{{int:project-localized-name-thwiki/en}}{{int:comma-separator/en}}{{int:project-localized-name-trwiki/en}}{{int:comma-separator/en}}{{int:project-localized-name-ukwiki/en}}{{int:comma-separator/en}}{{int:project-localized-name-viwiki/en}}. These wikis participated to a test, where 50% of users got the new design, for one year. As this test [[Mw:Special:MyLanguage/Talk pages project/Usability/Analysis|gave positive results]], the new design is deployed on these wikis as the default design. It is possible to opt-out these changes [[Special:Preferences#mw-prefsection-editing|in user preferences]] ("{{int:discussiontools-preference-visualenhancements}}"). The deployment will happen at all wikis in the coming weeks. [https://phabricator.wikimedia.org/T341491] |
|||
* Seven new wikis have been created: |
|||
** a {{int:project-localized-name-group-wikipedia}} in [[d:Q33014|Betawi]] ([[w:bew:|<code>w:bew:</code>]]) [https://phabricator.wikimedia.org/T357866] |
|||
** a {{int:project-localized-name-group-wikipedia}} in [[d:Q35708|Kusaal]] ([[w:kus:|<code>w:kus:</code>]]) [https://phabricator.wikimedia.org/T359757] |
|||
** a {{int:project-localized-name-group-wikipedia}} in [[d:Q35513|Igala]] ([[w:igl:|<code>w:igl:</code>]]) [https://phabricator.wikimedia.org/T361644] |
|||
** a {{int:project-localized-name-group-wiktionary}} in [[d:Q33541|Karakalpak]] ([[wikt:kaa:|<code>wikt:kaa:</code>]]) [https://phabricator.wikimedia.org/T362135] |
|||
** a {{int:project-localized-name-group-wikisource}} in [[d:Q9228|Burmese]] ([[s:my:|<code>s:my:</code>]]) [https://phabricator.wikimedia.org/T361085] |
|||
** a {{int:project-localized-name-group-wikisource}} in [[d:Q9237|Malay]] ([[s:ms:|<code>s:ms:</code>]]) [https://phabricator.wikimedia.org/T363039] |
|||
** a {{int:project-localized-name-group-wikisource}} in [[d:Q8108|Georgian]] ([[s:ka:|<code>s:ka:</code>]]) [https://phabricator.wikimedia.org/T363085] |
|||
* You can now [https://translatewiki.net/wiki/Support#Early_access:_Watch_Message_Groups_on_Translatewiki.net watch message groups/projects] on [[m:Special:MyLanguage/translatewiki.net|Translatewiki.net]]. Initially, this feature will notify you of added or deleted messages in these groups. [https://phabricator.wikimedia.org/T348501] |
|||
* Dark mode is now available on all wikis, on mobile web for logged-in users who opt into the [[Special:MobileOptions|advanced mode]]. This is the early release of the feature. Technical editors are invited to [https://night-mode-checker.wmcloud.org/ check for accessibility issues on wikis]. See [[mw:Special:MyLanguage/Reading/Web/Accessibility for reading/Updates/2024-04|more detailed guidelines]]. |
|||
'''Problems''' |
|||
* [[mw:Special:MyLanguage/Help:Extension:Kartographer|Kartographer]] maps can use an alternative visual style without labels, by using <bdi lang="zxx" dir="ltr"><code><nowiki>mapstyle="osm"</nowiki></code></bdi>. This wasn't working in previews, creating the wrong impression that it wasn't supported. This has now been fixed. [https://phabricator.wikimedia.org/T362531] |
|||
'''Changes later this week''' |
|||
* [[File:Octicons-sync.svg|12px|link=|alt=|Recurrent item]] The [[mw:MediaWiki 1.43/wmf.3|new version]] of MediaWiki will be on test wikis and MediaWiki.org from {{#time:j xg|2024-04-30|en}}. It will be on non-Wikipedia wikis and some Wikipedias from {{#time:j xg|2024-05-01|en}}. It will be on all wikis from {{#time:j xg|2024-05-02|en}} ([[mw:MediaWiki 1.43/Roadmap|calendar]]). [https://wikitech.wikimedia.org/wiki/Deployments/Train][https://wikitech.wikimedia.org/wiki/Deployments/Yearly_calendar] |
|||
'''''[[m:Special:MyLanguage/Tech/News|Tech news]]''' prepared by [[m:Special:MyLanguage/Tech/News/Writers|Tech News writers]] and posted by [[m:Special:MyLanguage/User:MediaWiki message delivery|bot]] • [[m:Special:MyLanguage/Tech/News#contribute|Contribute]] • [[m:Special:MyLanguage/Tech/News/2024/18|Translate]] • [[m:Tech|Get help]] • [[m:Talk:Tech/News|Give feedback]] • [[m:Global message delivery/Targets/Tech ambassadors|Subscribe or unsubscribe]].'' |
|||
</div><section end="technews-2024-W18"/> |
|||
<bdi lang="en" dir="ltr">[[User:MediaWiki message delivery|MediaWiki message delivery]]</bdi> 03:31, 30 April 2024 (UTC) |
|||
<!-- Message sent by User:Quiddity (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Global_message_delivery/Targets/Tech_ambassadors&oldid=26689057 --> |
|||
== Video viewing stats == |
|||
Hi, is there a way to know how many readers watched a video in an article? [[User:Alaexis|Alaexis]]<sub>[[User_talk:Alaexis|¿question?]]</sub> 06:30, 30 April 2024 (UTC) |
|||
:Yes, you can look up this data using https://pageviews.wmcloud.org/mediaviews/ (although note that it just counts total views, it doesn't show how many are coming from a specific article). For example, here's a chart of page views for a few movies listed on [[Public domain film]]: https://pageviews.wmcloud.org/mediaviews/?project=commons.wikimedia.org&platform=&agent=user&referer=all-referers&range=latest-20&files=Night_of_the_Living_Dead_(1968).webm|Fear_and_Desire_(1953).webm|Wings_(1927).webm [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 09:31, 30 April 2024 (UTC) |
|||
::Thanks! Do you know what counts as a view? According to this tool, [https://pageviews.wmcloud.org/mediaviews/?project=commons.wikimedia.org&platform=&agent=user&referer=all-referers&range=latest-20&files=Footage_of_bodycam_of_Israeli_elite_unit_clearing_the_Nova_music_festival_area_on_7th_October_edited_0.webm this video had very few views], in spite of being used in an article with 30k daily viewers. Does it really mean that very few users choose to watch (admittedly hard-to-watch) video? [[User:Alaexis|Alaexis]]<sub>[[User_talk:Alaexis|¿question?]]</sub> 14:20, 30 April 2024 (UTC) |
|||
:::According to [[c:Special:GlobalUsage/Footage_of_bodycam_of_Israeli_elite_unit_clearing_the_Nova_music_festival_area_on_7th_October_edited_0.webm|GlobalUsage]] that file isn't used anywhere; I suspect you wanted to look up the stats for [[c:File:(Explicit_Violent_Content)_Footage_of_bodycam_of_Israeli_elite_unit_clearing_the_Nova_music_festival_area_on_7th_October.webm|this file]] instead ([[c:Special:GlobalUsage/(Explicit_Violent_Content)_Footage_of_bodycam_of_Israeli_elite_unit_clearing_the_Nova_music_festival_area_on_7th_October.webm|GlobalUsage]]), which has more views: [https://pageviews.wmcloud.org/mediaviews/?project=commons.wikimedia.org&platform=&agent=user&referer=all-referers&range=latest-20&files=Footage_of_bodycam_of_Israeli_elite_unit_clearing_the_Nova_music_festival_area_on_7th_October_edited_0.webm%7C(Explicit_Violent_Content)_Footage_of_bodycam_of_Israeli_elite_unit_clearing_the_Nova_music_festival_area_on_7th_October.webm]. The autocomplete in the mediaviews tool is a bit fiddly sometimes, and apparently doesn't find files that have been renamed, like this one, if you use the redirect name when searching. I didn't know that before. [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 14:51, 30 April 2024 (UTC) |
|||
:::And to answer your actual question too, the technical documentation about what counts as a media view is available here: https://wikitech.wikimedia.org/wiki/Analytics/Data_Lake/Traffic/Mediacounts [[User:Matma Rex|Matma Rex]] <small>[[User talk:Matma Rex|talk]]</small> 14:58, 30 April 2024 (UTC) |
|||
::::This reminds me that if we ever make videos 'preload' by default, these stats will break, because every pageview will preload the first bytes of a file... —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 17:12, 30 April 2024 (UTC) |
|||
::::Thanks for the comprehensive answer! [[User:Alaexis|Alaexis]]<sub>[[User_talk:Alaexis|¿question?]]</sub> 11:13, 1 May 2024 (UTC) |
|||
== PETSCan and Images == |
|||
I am looking to source free images for articles on plant genera that are lacking them. Therefore I was wondering whether it was possible to configure PETScan only to return pages which do not contain images. The closest thing I thought of was to show images from the metadata in the output and then scroll through them, looking for those for which no image is presented. However, that is getting progressively tedious. Does anyone know a more direct way to do this? [[User:Felix QW|Felix QW]] ([[User talk:Felix QW|talk]]) 09:33, 30 April 2024 (UTC) |
|||
: Not an answer to your question, but the search facility may help you. A search for <code>plant hastemplate:"automatic taxobox" insource:/image *= *</code> returns [https://en.wikipedia.org/w/index.php?search=plant+hastemplate%3A%22automatic+taxobox%22++insource%3A%2Fimage+%2A%3D+%2A&title=Special:Search&profile=advanced&fulltext=1&ns0=1 16,436 results] with an image parameter in the taxobox. Note, it's not restricted for genera and some may have empty taxobox image parameters. Then a search for <code>plant hastemplate:"automatic taxobox" -insource:/image *= *</code> finds [https://en.wikipedia.org/w/index.php?search=plant+hastemplate%3A%22automatic+taxobox%22++-insource%3A%2Fimage+%2A%3D+%2A&title=Special:Search&profile=advanced&fulltext=1&ns0=1 1,298 results] without the image parameter, most of which appear to be genera. The search can probably be refined. — <span style="font-family:Arial;background:#d6ffe6;border:solid 1px;border-radius:5px;box-shadow:darkcyan 0px 1px 1px;"> [[User:Jts1882|Jts1882]] |[[User talk:Jts1882| talk]] </span> 10:57, 30 April 2024 (UTC) |
|||
::Thank you for the interesting suggestion! It does seem to me that empty taxobox image parameters are quite common, but then again, it is not like I am not going to ever finish this task. PETScan has the additional advantage of alphabetical sorting, so it is consistent across searches, and I can exclude pages linked from my userspace list of taxa for which I have already searched for images without any success. Therefore, a PETScan-based method seems preferable to me at the moment. [[User:Felix QW|Felix QW]] ([[User talk:Felix QW|talk]]) 12:33, 30 April 2024 (UTC) |
|||
:::{{ping|Felix QW}} the "Page properties" tab in PetScan has a radio button for "Lead image" where you can select "no". [[User:Plantdrew|Plantdrew]] ([[User talk:Plantdrew|talk]]) 21:20, 30 April 2024 (UTC) |
|||
::::Brilliant, thank you! I don't know how I missed that. By the way, thank you very much for all your work on plant articles! [[User:Felix QW|Felix QW]] ([[User talk:Felix QW|talk]]) 07:18, 1 May 2024 (UTC) |
|||
== pagelinks normalization == |
|||
{{tracked|T299947}} |
|||
The [[:mw:Manual:Pagelinks_table|pagelinks table]] is about to lose its pl_namespace and pl_title columns. This may break some tools and reports. [[User:Certes|Certes]] ([[User talk:Certes|talk]]) 15:26, 30 April 2024 (UTC) |
|||
:As advised at [[Wikipedia:Village pump (technical)/Archive 211#pagelinks normalization]]. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] 🌹 ([[User talk:Redrose64|talk]]) 20:33, 30 April 2024 (UTC) |
|||
::Yes: we've been able to use the [[mw:Manual:Linktarget_table|linktarget]] alternative for a while now. Today's news, according to the Phabricator ticket, is that they are now ready to drop the columns. [[User:Certes|Certes]] ([[User talk:Certes|talk]]) 21:33, 30 April 2024 (UTC) |
|||
== Non free file upload bug == |
|||
Today, when I clicked the button "upload a non free file", it just reload the page, please fix this bug or glitch as soon as possible. [[User:SleepingJoe|SleepingJoe]] ([[User talk:SleepingJoe|talk]]) 04:30, 1 May 2024 (UTC) |
|||
:{{worksforme}} ensure you are allowing javascript to run and try again. Alternatively, use the direct upload page here: [[Special:Upload]]. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 10:17, 1 May 2024 (UTC) |
|||
::Please if I may ask, when uploaded Files with [[Special:Upload]] which directly is it going to stay, is it wikimedia common or Wikipedia itself? because I have always thought that files can only be uploaded through wikimedia. '''<i style='padding:5px; box-shadow:0 0 1px 1px #ffffff, 0 0 2.5px 2.5px rgba(0,0,0,0.16);'>[[User:Thisasia|<i style='color:darkgreen;'>Thisasia</i> ]] [[User talk:Thisasia|<sup style='color:white;background:blue;'>(Talk)</sup>]]</i>''' 10:53, 1 May 2024 (UTC) |
|||
:::{{replyto|Thisasia}} If you use [[Special:Upload]] here on English Wikipedia, you will upload to English Wikipedia. If you use [[c:Special:Upload]], which is at Commons, you will upload to Commons. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] 🌹 ([[User talk:Redrose64|talk]]) 17:17, 1 May 2024 (UTC) |
|||
== Stealth revdel == |
|||
In [[User talk:Mathglot#I need help!|this discussion]] at my Talk page, I made an assertion ([[Special:Diff/1221682499|diff]]) that traces of a revdel can always be seen in the revision history, with revisions in strikeout type, and the like. But now, I wonder if my response there was accurate. Is there such a thing as, for lack of a better term, what I will call a '''stealth revdel'''—that is, a revdel which wipes some revisions from the history, without leaving any evidence of the removal visible to non-admins? If that exists, what is it called, and is there a page that covers this? [[User:Mathglot|Mathglot]] ([[User talk:Mathglot|talk]]) 11:13, 1 May 2024 (UTC) |
|||
: [[Wikipedia:Selective deletion|Selective (un)deletion]], i.e. deleting the page and undeleting all except certain revisions. If an admin really wanted to hide it, they'd have to then delete or revdel the log entries of the deletion and undeletion too. [[User:Anomie|Anomie]][[User talk:Anomie|⚔]] 11:35, 1 May 2024 (UTC) |
|||
:The thing being discussed in that discussion was some template vandalism, which was of course on a different page transcluded onto that one. Some varieties of oversight can remove edits without much trace, though not something like this purported situation. -- [[user:zzuuzz|zzuuzz]] <sup>[[user_talk:zzuuzz|(talk)]]</sup> 11:42, 1 May 2024 (UTC) |
|||
:: The "some varieties of oversight" being what [[mw:Extension:Oversight]] did before it was replaced by RevDel? If so, that's not available anymore. [[User:Anomie|Anomie]][[User talk:Anomie|⚔]] 11:45, 1 May 2024 (UTC) |
|||
:::No, I do mean suppression oversight (and 'hiding'). It's not a thing to focus on here, but OS can make some disappearances hard to track. -- [[user:zzuuzz|zzuuzz]] <sup>[[user_talk:zzuuzz|(talk)]]</sup> 11:48, 1 May 2024 (UTC) |
|||
::so maybe I meant oversighted? It's idle curiosity in this instance but I am pretty sure I have noticed stuff disappear before, especially identifying personal information. In fact, I distinctly remember telling an admin that somebody's address was in an article edit history, and this got removed, at lrast as far as a plain vanilla editor could see. |
|||
::Which is not what this was, granted; it would have been more of an unfortunate paste error or perhaps vandalism. [[User:Elinruby|Elinruby]] ([[User talk:Elinruby|talk]]) 12:22, 1 May 2024 (UTC) |
|||
:I seem to recall days when there was no revision deletion feature we have now, and the way to hide select revisions was to move the page to another name, delete it, restore okay revisions, and move it back. I assume it's possible still. [[User:Nardog|Nardog]] ([[User talk:Nardog|talk]]) 13:25, 1 May 2024 (UTC) |
|||
:: Indeed it is. [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 13:43, 1 May 2024 (UTC) |
|||
:::Oh it's actually explained in the link Anomie gave above... {{facepalm|<nowiki/>}} [[User:Nardog|Nardog]] ([[User talk:Nardog|talk]]) 13:46, 1 May 2024 (UTC) |
|||
:There are certainly [[WP:BEANS|beansy]] ways to cause obfuscation - that are best left unlisted here. Just replace "can always..." with "can generally...." and most use cases will be covered. — [[User:Xaosflux|<span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span>]] <sup>[[User talk:Xaosflux|<span style="color:#009933;">Talk</span>]]</sup> 14:11, 1 May 2024 (UTC) |
Revision as of 17:17, 1 May 2024
Policy | Technical | Proposals | Idea lab | WMF | Miscellaneous |
- Table of contents
- First discussion
- End of page
- New post
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.
Template assistance needed
If any template coding gurus here have the time or desire to assist at Template talk:GTA table#Is this table getting too wide?, it would be greatly appreciated. We have run into a minor formatting concern, and for the most part, have agreed on a new format that will solve the problem. Unfortunately, we need some technical assistance to move forward. Thank you. -- GoneIn60 (talk) 20:41, 26 April 2024 (UTC)
Lua date formats
Hello everyone, does anyone know how to get Lua accepted two date format at the same time? That is. YYYY-MM-DAY and DD-MM-YYYY. I have tried my all to get them both work together at the same time in lua module Wikipedia but that's impossible for me. Only one type of date format can only work at the same time.
Thisasia (Talk) 06:40, 27 April 2024 (UTC)
- Accepting a date like 01-02-2020 would not be a good idea at Wikipedia where some would think January 2, 2020 while others would see 1 February 2020. Where is this needed? Johnuniq (talk) 08:09, 27 April 2024 (UTC)
- alright thanks for telling me that, I'm build a new dynamic and multipurpose infobox in lua by integrating all functionality in one Template, but the current programed date format is in something like 01-02-2020 so which date format is well acceptable for Wikipedia?
Thisasia (Talk) 09:43, 27 April 2024 (UTC)- YYYY-MM-DD
- —Trappist the monk (talk) 11:05, 27 April 2024 (UTC)
- See more at MOS:DATEFORMAT. YYYY-MM-DD is the only allowed format using a number for the month. PrimeHunter (talk) 12:04, 27 April 2024 (UTC)
- @PrimeHunter noted that, I have changed it, thanks for your reply.
Thisasia (Talk) 12:44, 27 April 2024 (UTC)
- @PrimeHunter noted that, I have changed it, thanks for your reply.
- Thanks for your reply.
Thisasia (Talk) 12:45, 27 April 2024 (UTC)- Module:Date accepts a variety of dates formats, for example, 2024-04-27 or 27 April 2024 or April 27, 2024 (all allowed at Wikipedia) and only allows valid dates. Johnuniq (talk) 03:47, 28 April 2024 (UTC)
- seconding YYYY-MM-DD which is not only the most logical but also sorts properly and is an international standard jp×g🗯️ 19:00, 28 April 2024 (UTC)
- See more at MOS:DATEFORMAT. YYYY-MM-DD is the only allowed format using a number for the month. PrimeHunter (talk) 12:04, 27 April 2024 (UTC)
- alright thanks for telling me that, I'm build a new dynamic and multipurpose infobox in lua by integrating all functionality in one Template, but the current programed date format is in something like 01-02-2020 so which date format is well acceptable for Wikipedia?
- Why are we going through this again when MOS:DATE was settled years ago? We don't use all-numeric dates except in certain special situations, and even then, only CCYY-MM-DD is permitted. If you want that changing, WT:DATE is the place to do it but (i) make sure that you inform WP:VPP; (ii) be prepared for massive kickback. --Redrose64 🌹 (talk) 22:07, 28 April 2024 (UTC)
DOI-based unreliable/deprecated tagging error
Please see the note I left here; there seems to be an implementation error in the tagging system for deprecated sources based on DOI. 100.36.106.199 (talk) 13:10, 27 April 2024 (UTC)
Strange line breaks in external URL?
I'm seeing external link URLs have line breaks is the middle of the URL. The example shown is from Special:Permalink/1221061666#c-RoySmith-20240427164200-Hawkeye7-20240426124700. The URL is marked up as:
<a rel="nofollow noopener noreferrer" class="external free" href="https://peterbondspace.com/" target="_blank">https://peterbondspace.com/</a>
and the applicable CSS according to Chrome is:
.mw-parser-output a.external.free { word-break: break-all; }
Is there some (good) reason break-all
is being used here, or is that just a bug in the CSS? RoySmith (talk) 16:57, 27 April 2024 (UTC)
- This is apparently intentional; see phab:T327334. Suffusion of Yellow (talk) 17:22, 27 April 2024 (UTC)
- It is to avoid urls from overflowing the viewport and infoboxes etc. This only applies to direct links, with no display contents and without wikicode [] surrounding them. Because we know so little about the length and context of a link (think 140 continuous characters for a link component sometimes), we have to be a bit more forceful with their linebreaking. Normal 'external' wikicode links break on word boundaries, because in those situations people generally have been more deliberate with placement and for display names, words are generally a lot smaller. —TheDJ (talk • contribs) 17:23, 27 April 2024 (UTC)
- @RoySmith well from what you highlighted, the css style seems to be applied to the url link text and not the url itself otherwise the url won't work nor even be accessible because no gap or space are allowed in the url . The word-break:break-all; in css means that it will adjust every items in their html container once they reach the maximum width limits, thus preventing them from overflowing, as you highlighted here,<a>https://peterbondspac
e.com/ </a> this was treated as the link text and not the url itself
Thisasia (Talk) 17:34, 27 April 2024 (UTC) - Using Firefox 125.0.2 and Windows 10, when logged out, I see the offending wrapping in the example of the original post. This also occurs if I switch skin to legacy Vector (by inserting
&useskin=vector
into the URL), Cologne Blue or Modern. But if I switch skin to MonoBook (in a similar manner), I then get no wrapping. It's therefore a skin thing. --Redrose64 🌹 (talk) 18:05, 27 April 2024 (UTC)
Graph:PageViews
I have an idea that would remove several thousand talk pages from Category:Pages with disabled graphs, by changing Template:Graph:PageViews to display a link to https://pageviews.wmcloud.org/. If you know how to do (what I think is) straightforward template work or otherwise have views about this, please see Template talk:Graph:PageViews#Change this to a link. WhatamIdoing (talk) 04:19, 28 April 2024 (UTC)
Strange bug on Flag of Russia article
Is anyone else also seeing this bug on Flag of Russia? There are two major headers saying "User:CheezDeez ON TOP" that appear inside the infobox (this user is also blocked for sockpuppetry, but I don't think they have ever edited this article). I can't find anything in the wikitext that might produce this text, and the bug also doesn't show up in preview mode either. Liu1126 (talk) 13:41, 28 April 2024 (UTC)
- I was reverting all these edits when it was happening (in this specific case, Special:Diff/1221172528), but it seems this article didn't refresh when I undid the changes. I gave the page a null edit, and the content is fixed again now. Aidan9382 (talk) 13:44, 28 April 2024 (UTC)
- Ah, that explains it. Thanks for reverting! Liu1126 (talk) 13:48, 28 April 2024 (UTC)
- Hi! I noticed the same issue in the Haaretz article (Template:Literal translation) and the Tiger article (Template:MirrorH). I see you've already reverted the vandalistic changes to both templates, but the articles I linked don't appear to have been refreshed yet. Could you refresh them as well, or otherwise let me know how I could do that? Thanks! Wavevari (talk) 15:17, 28 April 2024 (UTC)
- I've gone ahead and fixed those pages. The process is called a null edit, though purging the page normally would probably also work. Aidan9382 (talk) 15:26, 28 April 2024 (UTC)
- Thank you for the fixes and for the additional information! Wavevari (talk) 15:30, 28 April 2024 (UTC)
- It’s the same for the Vagina article. Autisticeditor 20 (talk) 17:40, 28 April 2024 (UTC)
- never mind Autisticeditor 20 (talk) 17:42, 28 April 2024 (UTC)
- It’s the same for the Vagina article. Autisticeditor 20 (talk) 17:40, 28 April 2024 (UTC)
- Thank you for the fixes and for the additional information! Wavevari (talk) 15:30, 28 April 2024 (UTC)
- I've gone ahead and fixed those pages. The process is called a null edit, though purging the page normally would probably also work. Aidan9382 (talk) 15:26, 28 April 2024 (UTC)
Erroneous page archiving by ClueBot III
ClueBot III (talk · contribs · count · logs · page moves · block log · edit summaries) seems to be occasionally archiving pages incorrectly to Archives/_1 and ignoring the configuration on the page. Examples from various namespaces: 1, 2, 3, 4. This was reported on the ClueBot Commons talk page yesterday by @MrPersonHumanGuy: ping. Other examples can be found in the contributions log. Local Variable (talk) 13:51, 28 April 2024 (UTC)
- The four pages have one things in common: inside the
{{User:ClueBot III/ArchiveThis}}
, the first part of the|archiveprefix=
parameter does not begin with the name of the page that is being archived. For three of the four, this is because a page move occurred at some point in the recent past and the archiving config wasn't amended to suit; in the case of User talk:Spiderjiu it's because the archiving was set up badly. The other main archiving bot, lowercase sigmabot III (talk · contribs), guards agains this by refusing to archive a page when the first part of the|archive=
parameter does not begin with the name of the page that is being archived. --Redrose64 🌹 (talk) 17:27, 28 April 2024 (UTC)- @K6ka has since updated the docs to advise editors to change the template when moving the page (I'm not overly optimistic editors will heed that warning). Local Variable (talk) 23:26, 28 April 2024 (UTC)
“Request Desktop Site” on IPad does not work
I would like to use Desktop mode while on my iPad (IPad Air gen 4, IpadOS 17 , safari)
Although I have “request desktop site” selected, Wikipedia redirects to Mobile (en.m.wikipedia.org)
How can I use desktop Wikipedia on iPad? Tonymetz 💬 17:22, 28 April 2024 (UTC)
- @Tonymetz: "request desktop site" is a feature in some mobile browsers. I don't know whether it's supposed to work with Wikipedia. The normal way to choose the desktop version of Wikipedia is the "Desktop" link at the bottom of pages in the mobile version. The link is made by MediaWiki and not the browser. PrimeHunter (talk) 17:47, 28 April 2024 (UTC)
- In fact, the browser feature does not work. phab:T60425 is the task for it. Izno (talk) 18:14, 28 April 2024 (UTC)
- There are userscripts that will auto redirect you from the mobile to the desktop site, User:Þjarkur/NeverUseMobileVersion for instance. -- LCU ActivelyDisinterested «@» °∆t° 18:24, 28 April 2024 (UTC)
Removing gap between templates
After updating the template styling of my user page, I managed to get most things as I wanted except for a gap between the "Start tab" template and the bordered box that comprises the rest of the page. Is there a way I could put the bordered box into the template, or make an adjustment to how they are configured, to remove the gap between them? -CoolieCoolster (talk) 23:26, 28 April 2024 (UTC)
- @CoolieCoolster i have seen your page, are you referring to the gap between the "start tab" and your userboxes section, if so then I can help you with that or can you be more specific and explain properly? You may discuss with me on my talk page if I didn't respond here on time.
Thisasia (Talk) 05:23, 29 April 2024 (UTC)- I meant the thin white line that appears between the template that creates the tabs and the section that encloses the rest of the page's content. As I reused the format on the other three tabs, each one has the same white gap. -CoolieCoolster (talk) 05:26, 29 April 2024 (UTC)
- OK the thin whit
- line e u are talking abo are you referring the start tab or your userboxe table? t
Thisasia (Talk) 05:29, 29 April 2024 (UTC)- Above that; it splits the dark red section at the top in two.-CoolieCoolster (talk) 05:41, 29 April 2024 (UTC)
- Pretty not much clear, but see what I found so far.
- there is a huge gap between the start tab and your userboxes section may be making it look unsatisfying since you applied the same background color to both of them
- there is also a thin line that appears at the start tab when scrolled from either left or right. But except that I couldn't figure anything else.
Thisasia (Talk) 05:54, 29 April 2024 (UTC)- I'm guessing the first issue you described is what it is; both halves using the same color is intentional, as ideally I'd like to find a way for the content of the page to be within the box connected directly to the tabs, but doing so while also having a border around the page seems to be a conundrum. -CoolieCoolster (talk) 06:36, 29 April 2024 (UTC)
- Alright I do have solution for that. If you do permit me i will edit your page directly, and after that if that's not what you described we can find further. But first of all, take a look at the top of this page, it has similar start tab as yours and the start tab isn't separated from the rest of the page unlike yours that splits, check and tell if this is actually your point.
Thisasia (Talk) 07:02, 29 April 2024 (UTC)
- Alright I do have solution for that. If you do permit me i will edit your page directly, and after that if that's not what you described we can find further. But first of all, take a look at the top of this page, it has similar start tab as yours and the start tab isn't separated from the rest of the page unlike yours that splits, check and tell if this is actually your point.
- I'm guessing the first issue you described is what it is; both halves using the same color is intentional, as ideally I'd like to find a way for the content of the page to be within the box connected directly to the tabs, but doing so while also having a border around the page seems to be a conundrum. -CoolieCoolster (talk) 06:36, 29 April 2024 (UTC)
- Pretty not much clear, but see what I found so far.
- Above that; it splits the dark red section at the top in two.-CoolieCoolster (talk) 05:41, 29 April 2024 (UTC)
- I meant the thin white line that appears between the template that creates the tabs and the section that encloses the rest of the page's content. As I reused the format on the other three tabs, each one has the same white gap. -CoolieCoolster (talk) 05:26, 29 April 2024 (UTC)
- Move the closing div tag to after the table...then reduce the border width? — GhostInTheMachine talk to me 07:07, 29 April 2024 (UTC)
- Someone did that for me earlier today it seems, so the issue has been resolved, but thanks for the help! -CoolieCoolster (talk) 18:52, 29 April 2024 (UTC)
Curious ephemeral js error
I turned on the "display js errors" gadget a few days ago. Today I got an error something like "unhandled exception missing ) for argument list line 23". Since the gadget pop-up fades away quickly, I refreshed the page a few times to try and select and copy the error. I then took a look at the source: line 23 is (for me) }];});});</script>
. After looking at this I tried again to copy the error, but it had gone.
I compared the script which runs from line 6 to 23 before an after the error with an on-line diff, no apparent difference.
Anyone know why this might have happened? All the best: Rich Farmbrough 08:34, 29 April 2024 (UTC).
- I got it too, so I filed phab:T363701. It happened whenever the CentralNotice banner for the U4C voting was displayed. But it stopped at some point even when I got the banner. I wonder if something was backported and fixed it. Nardog (talk) 22:44, 29 April 2024 (UTC)
- The banners are maintained on Meta-Wiki as wiki pages. You can find them on m:Special:CentralNotice, if you can figure out the interface (I struggle with it). I think this was the edit that fixed it: https://meta.wikimedia.org/w/index.php?title=MediaWiki:Centralnotice-template-u4c_election2024_vote2&diff=prev&oldid=26702487 Matma Rex talk 09:18, 30 April 2024 (UTC)
Thank you both. All the best: Rich Farmbrough 09:48, 1 May 2024 (UTC).
Help with regex statement
Hi, I need help with the following regex, which I did not write and don't understand well enough to fix. That statement is:
(?<!/)(?<!\\?url=)https?://(?:[\\w-]+\\.)*wikisophia[.]org[\\w/.\\-#?&=]*
The intent is to match all URLs such as:
http://wikisophia.org/index.php?title=Constitution_Act,_1871_(annotated)
But not archive URLs such as:
https://web.archive.org/web/20010101010101/http://wikisophia.org/index.php?title=Constitution_Act,_1871_(annotated)
https://webcitation.org/fgT654?url=http://wikisophia.org/index.php?title=Constitution_Act,_1871_(annotated)
Currently the regex is only partially matching and returning:
http://wikisophia.org/index.php?title=Constitution_Act
..anything after the "," is not matched. Same if there is a ":" or other similar characters.
Suggestions? -- GreenC 19:21, 29 April 2024 (UTC)
- You need to add the relevant characters (possibly escaped?) to
[\\w/.\\-#?&=]
. Izno (talk) 19:59, 29 April 2024 (UTC) - Almost any character can appear in a URL, especially after
?title=
. It may be better to accept anything except whatever delimits a URL in the relevant context, e.g. for parsing {{cite web|url=http...}} use[^|}]*
or for space-delimited [http... Description of page] try\\S*
. The former may pick up unwanted spaces unless we complicate it as something like.*?(?=\\s*[|}])
(grab any characters, but as few as possible, as long as optional spaces then | or } follows). Certes (talk) 00:14, 30 April 2024 (UTC)- OK, building on that idea, this solution is imperfect, but it will work in most cases. I'm not using it for critical purposes (log files, counting) so YMMV:
(?<!/)(?<!\\?url=)https?://(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])[.])*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9])*wikisophia[.]org[^\\s\\]|}{<]*[^\\s\\]|}{<]*
- The gobbly between https and wikisophia is for matching hostname(s) at multiple levels per this. -- GreenC 05:34, 30 April 2024 (UTC)
- OK, building on that idea, this solution is imperfect, but it will work in most cases. I'm not using it for critical purposes (log files, counting) so YMMV:
Out of interest I fed this into ChatGPT (I know...!). Here's its response, for what it's worth (minor tweaks for formatting) -
This regular expression (regex) is designed to match URLs that point to the domain "wikisophia.org" under specific conditions, while excluding URLs that are part of certain contexts or formats. Let's break down this regex to understand what it is specifically targeting:
1. Negative Lookbehind Assertions:
- `(?<!/)` ensures that the match does not directly follow a forward slash `/`. This might be used to avoid matching URLs that are part of a larger URL path or parameter. - `(?<!\\?url=)` ensures that the match does not directly follow the query parameter string `?url=`. This helps in avoiding matching URLs that are query parameters.
2. URL Scheme:
- `https?://` matches both "http://" and "https://". The `s?` means that the character "s" is optional.
3. Domain Name:
- The part `(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])[.])*` is somewhat complex but essentially matches sequences of alphanumeric characters separated by hyphens (not starting or ending with a hyphen) and followed by periods. This part matches subdomains as well, as it repeats zero or more times due to the `*` operator after the group. - `([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9])` ensures the domain name or subdomain consists of alphanumeric characters, possibly with hyphens (but not starting or ending with them), much like the earlier subdomain matcher.
4. Specific Domain:
- `wikisophia[.]org` is very straightforward and matches the domain "wikisophia.org". The square brackets around the period `.` are technically not needed here, as they are used to escape special regex characters (though `.` would typically be escaped directly with a backslash).
5. Trailing URL Path and Parameters Exclusions:
- `[^\\s\\]|}{<]*` This part of the pattern is intended to consume any characters that are not whitespace, slashes, or certain special characters like `|`, `}`, `{`, `<`. However, there are syntax issues and potential misinterpretations in this segment: - `[^\\s\\]` seems intended to exclude backslashes and whitespace (though `\\s` would be invalid in most regex flavors and might be an error). - The character set `[^\\s\\]|}{<]` is followed by a `*` quantifier, meaning it matches zero or more of any character that is not a space, slash, or one of the special characters listed. This part could be attempting to match the rest of the URL while excluding specific trailing characters but is likely erroneous as presented.
Conclusion
The regex seems intended to match "wikisophia.org" URLs that do not follow a slash or the specific query parameter `?url=`. However, there are syntax issues that might cause it to behave unpredictably, particularly with the last part concerning non-whitespace and non-special characters, which appears to be syntactically incorrect. This regex should be reviewed for errors and tested thoroughly in its intended context to ensure it functions as expected.
I hope this is interesting and/or helpful. —Smalljim 11:23, 1 May 2024 (UTC)
How does one correct a citation when the source is listed dozens of times?
In the entry on lyricist Robert Hunter, I noticed that at some point an editor must've accidentally cited another source that's already cited 22 times in the article. There are only three 2015 sources used, so perhaps someone inadvertantly used the wrong one. At any rate I tried to fix it using the visual editor and, while it corrected the citation, it left it with the wrong footnote number still. So I undid my failed correction and left a note on the article's Talk page. Correcting simple sources that are only cited once is pretty straightforward, but when they're used dozens of times it's another (way too intimidating) matter. Or am I simply not able to find "the easy way"? Peterh6658 (talk) 23:22, 29 April 2024 (UTC)
- @Peterh6658: I've made the change you wanted, and given a link to how I did it on the article talk page. DuncanHill (talk) 23:33, 29 April 2024 (UTC)
- Thanks, Duncan! I hope I wasn't out of line with that crack about the process being way too intimidating. (Another Maxwell Smart catchphrase.) I'm still a relatively new Wikipedian, and can never remember the best shortcut to help me remember that ref name technique. Peterh6658 (talk) 23:51, 29 April 2024 (UTC)
- You can make this change in the visual editor too, but it's not very intuitive. There are two ways you could do it:
- After you select the reference marker (i.e. the "[5]"), instead of clicking "Edit" in the menu, you can just delete it (press Delete/Backspace on your keyboard), and then copy-paste the right reference marker in its place (i.e. the "[2]").
- Or, after you click "Edit" in the reference menu, you can click on "Change reference type" in the bottom-left corner, which will open the "Replace citation" menu – in that menu, go to "Re-use" and choose the correct citation from the list.
- Hope that helps in your future editing. Matma Rex talk 10:00, 30 April 2024 (UTC)
Tech News: 2024-18
MediaWiki message delivery 03:31, 30 April 2024 (UTC)
Video viewing stats
Hi, is there a way to know how many readers watched a video in an article? Alaexis¿question? 06:30, 30 April 2024 (UTC)
- Yes, you can look up this data using https://pageviews.wmcloud.org/mediaviews/ (although note that it just counts total views, it doesn't show how many are coming from a specific article). For example, here's a chart of page views for a few movies listed on Public domain film: https://pageviews.wmcloud.org/mediaviews/?project=commons.wikimedia.org&platform=&agent=user&referer=all-referers&range=latest-20&files=Night_of_the_Living_Dead_(1968).webm%7CFear_and_Desire_(1953).webm%7CWings_(1927).webm Matma Rex talk 09:31, 30 April 2024 (UTC)
- Thanks! Do you know what counts as a view? According to this tool, this video had very few views, in spite of being used in an article with 30k daily viewers. Does it really mean that very few users choose to watch (admittedly hard-to-watch) video? Alaexis¿question? 14:20, 30 April 2024 (UTC)
- According to GlobalUsage that file isn't used anywhere; I suspect you wanted to look up the stats for this file instead (GlobalUsage), which has more views: [13]. The autocomplete in the mediaviews tool is a bit fiddly sometimes, and apparently doesn't find files that have been renamed, like this one, if you use the redirect name when searching. I didn't know that before. Matma Rex talk 14:51, 30 April 2024 (UTC)
- And to answer your actual question too, the technical documentation about what counts as a media view is available here: https://wikitech.wikimedia.org/wiki/Analytics/Data_Lake/Traffic/Mediacounts Matma Rex talk 14:58, 30 April 2024 (UTC)
- This reminds me that if we ever make videos 'preload' by default, these stats will break, because every pageview will preload the first bytes of a file... —TheDJ (talk • contribs) 17:12, 30 April 2024 (UTC)
- Thanks for the comprehensive answer! Alaexis¿question? 11:13, 1 May 2024 (UTC)
- Thanks! Do you know what counts as a view? According to this tool, this video had very few views, in spite of being used in an article with 30k daily viewers. Does it really mean that very few users choose to watch (admittedly hard-to-watch) video? Alaexis¿question? 14:20, 30 April 2024 (UTC)
PETSCan and Images
I am looking to source free images for articles on plant genera that are lacking them. Therefore I was wondering whether it was possible to configure PETScan only to return pages which do not contain images. The closest thing I thought of was to show images from the metadata in the output and then scroll through them, looking for those for which no image is presented. However, that is getting progressively tedious. Does anyone know a more direct way to do this? Felix QW (talk) 09:33, 30 April 2024 (UTC)
- Not an answer to your question, but the search facility may help you. A search for
plant hastemplate:"automatic taxobox" insource:/image *= *
returns 16,436 results with an image parameter in the taxobox. Note, it's not restricted for genera and some may have empty taxobox image parameters. Then a search forplant hastemplate:"automatic taxobox" -insource:/image *= *
finds 1,298 results without the image parameter, most of which appear to be genera. The search can probably be refined. — Jts1882 | talk 10:57, 30 April 2024 (UTC)- Thank you for the interesting suggestion! It does seem to me that empty taxobox image parameters are quite common, but then again, it is not like I am not going to ever finish this task. PETScan has the additional advantage of alphabetical sorting, so it is consistent across searches, and I can exclude pages linked from my userspace list of taxa for which I have already searched for images without any success. Therefore, a PETScan-based method seems preferable to me at the moment. Felix QW (talk) 12:33, 30 April 2024 (UTC)
pagelinks normalization
The pagelinks table is about to lose its pl_namespace and pl_title columns. This may break some tools and reports. Certes (talk) 15:26, 30 April 2024 (UTC)
- As advised at Wikipedia:Village pump (technical)/Archive 211#pagelinks normalization. --Redrose64 🌹 (talk) 20:33, 30 April 2024 (UTC)
- Yes: we've been able to use the linktarget alternative for a while now. Today's news, according to the Phabricator ticket, is that they are now ready to drop the columns. Certes (talk) 21:33, 30 April 2024 (UTC)
Non free file upload bug
Today, when I clicked the button "upload a non free file", it just reload the page, please fix this bug or glitch as soon as possible. SleepingJoe (talk) 04:30, 1 May 2024 (UTC)
- Works for me ensure you are allowing javascript to run and try again. Alternatively, use the direct upload page here: Special:Upload. — xaosflux Talk 10:17, 1 May 2024 (UTC)
Stealth revdel
In this discussion at my Talk page, I made an assertion (diff) that traces of a revdel can always be seen in the revision history, with revisions in strikeout type, and the like. But now, I wonder if my response there was accurate. Is there such a thing as, for lack of a better term, what I will call a stealth revdel—that is, a revdel which wipes some revisions from the history, without leaving any evidence of the removal visible to non-admins? If that exists, what is it called, and is there a page that covers this? Mathglot (talk) 11:13, 1 May 2024 (UTC)
- Selective (un)deletion, i.e. deleting the page and undeleting all except certain revisions. If an admin really wanted to hide it, they'd have to then delete or revdel the log entries of the deletion and undeletion too. Anomie⚔ 11:35, 1 May 2024 (UTC)
- The thing being discussed in that discussion was some template vandalism, which was of course on a different page transcluded onto that one. Some varieties of oversight can remove edits without much trace, though not something like this purported situation. -- zzuuzz (talk) 11:42, 1 May 2024 (UTC)
- The "some varieties of oversight" being what mw:Extension:Oversight did before it was replaced by RevDel? If so, that's not available anymore. Anomie⚔ 11:45, 1 May 2024 (UTC)
- so maybe I meant oversighted? It's idle curiosity in this instance but I am pretty sure I have noticed stuff disappear before, especially identifying personal information. In fact, I distinctly remember telling an admin that somebody's address was in an article edit history, and this got removed, at lrast as far as a plain vanilla editor could see.
- Which is not what this was, granted; it would have been more of an unfortunate paste error or perhaps vandalism. Elinruby (talk) 12:22, 1 May 2024 (UTC)
- I seem to recall days when there was no revision deletion feature we have now, and the way to hide select revisions was to move the page to another name, delete it, restore okay revisions, and move it back. I assume it's possible still. Nardog (talk) 13:25, 1 May 2024 (UTC)
- Indeed it is. * Pppery * it has begun... 13:43, 1 May 2024 (UTC)
- There are certainly beansy ways to cause obfuscation - that are best left unlisted here. Just replace "can always..." with "can generally...." and most use cases will be covered. — xaosflux Talk 14:11, 1 May 2024 (UTC)