Wikipedia:Village pump (technical): Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Line 320: Line 320:


:@[[User:Ancheta Wis|Ancheta Wis]] that external tool has a report an issue function, use [https://phabricator.wikimedia.org/maniphest/task/create/?title=PLEASE%20REPLACE%20WITH%20A%20DESCRIPTION%20OF%20THE%20ISSUE&projects=XTools&description=Please%20provide%20any%20further%20details%20here%0A%0AXTools%20version:%203.18.8-0feb19a3 this link] to do so. — [[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> 13:42, 5 April 2024 (UTC)
:@[[User:Ancheta Wis|Ancheta Wis]] that external tool has a report an issue function, use [https://phabricator.wikimedia.org/maniphest/task/create/?title=PLEASE%20REPLACE%20WITH%20A%20DESCRIPTION%20OF%20THE%20ISSUE&projects=XTools&description=Please%20provide%20any%20further%20details%20here%0A%0AXTools%20version:%203.18.8-0feb19a3 this link] to do so. — [[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> 13:42, 5 April 2024 (UTC)
::There was a report for scientific method as of 09:45, 7 April 2024 (UTC). Thank you. --[[User:Ancheta Wis|Ancheta Wis]] [[User talk:Ancheta Wis| &nbsp; (talk]] [[Special:Contributions/Ancheta Wis| &#124; contribs)]] [[User:Ancheta Wis|Ancheta Wis]] [[User talk:Ancheta Wis| &nbsp; (talk]] [[Special:Contributions/Ancheta Wis| &#124; contribs)]] 09:45, 7 April 2024 (UTC)


== Retrieval of canonical name for Unicode code points? ==
== Retrieval of canonical name for Unicode code points? ==

Revision as of 09:45, 7 April 2024

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

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

Trying to understand table stylings

Resolved

At 2018–19 Big Ten Conference men's basketball season, the rankings section has borders while neither the coaches section nor the preseason national polls section shows borders, but they all seem to be styled by the {{CollegePrimaryStyle}}. What makes one section present cell padding/border and the others not?-TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 18:27, 29 March 2024 (UTC)[reply]

@TonyTheTiger: Many of the cells are missing quotation marks in style="...". {{CollegePrimaryStyle|Illinois Fighting Illini}} produces background-color:#13294B;color:#FF5F05;box-shadow: inset 2px 2px 0 #FF5F05, inset -2px -2px 0 #FF5F05;. Without quotation marks, only some of it is included in the style. The documentation at {{CollegePrimaryStyle}} should probably be updated to say that if it's assigned directly to style= in a cell then use quotation marks. The documentation seems to currently assume it's used as a parameter in a template which adds quotation marks. PrimeHunter (talk) 19:14, 29 March 2024 (UTC)[reply]
@TonyTheTiger: To expand on that: style= is a HTML attribute, and attribute values must be quoted unless they consist entirely of the 64 characters A-Z, a-z, 0-9, hyphen-minus and full stop. When you use something like style=background-color:#13294B;color:#FF5F05;box-shadow: inset 2px 2px 0 #FF5F05, inset -2px -2px 0 #FF5F05; this contains several characters which are not among the 64: there are three colons, four hashes, three semicolons, several spaces and a comma. How this is treated will depend upon the browser. Some may reject the whole attribute outright; some will ignore everything after the first 'invalid' character (the first colon), some may ignore the lack of quotes and process the whole value as if it were quoted. --Redrose64 🌹 (talk) 20:39, 29 March 2024 (UTC)[reply]
@PrimeHunter and Redrose64:, Neither style=“{{CollegePrimaryStyle|Illinois Fighting Illini}}; width=75” nor style=“{{CollegePrimaryStyle|Illinois Fighting Illini}}"; width=75 seems to be the proper correction for style={{CollegePrimaryStyle|Illinois Fighting Illini}}; width=75 in the Preseason national polls section.-TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 21:23, 29 March 2024 (UTC)[reply]
Well, no. The first one is invalid because you're trying to put width=75 inside a style= attribute, and it's not valid CSS. The second one is invalid because you've put a semicolon after the closing quote - after the closing quote of an attribute's value, only two characters are valid: (i) a space; (ii) a greater-than character >. --Redrose64 🌹 (talk) 21:57, 29 March 2024 (UTC)[reply]
style=“{{CollegePrimaryStyle|Illinois Fighting Illini}}” width=75 does not work either.-TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 22:04, 29 March 2024 (UTC)[reply]
I don't see any recent (later than 20:39 today) related edits at 2018–19 Big Ten Conference men's basketball season - are you doing this elsewhere? --Redrose64 🌹 (talk) 22:20, 29 March 2024 (UTC)[reply]
I am not going to save stuff that makes the table break when I hit show preview. How would you make those other two tables show the secondary color for the borders?-TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 22:44, 29 March 2024 (UTC)[reply]
User:TonyTheTiger/sandbox/2018–19 Big Ten Conference men's basketball season test is the failed test.-TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 04:27, 30 March 2024 (UTC)[reply]
@PrimeHunter and Redrose64:, thoughts on my test?-TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 04:46, 30 March 2024 (UTC)[reply]
@TonyTheTiger: You didn't use straight quotation marks.[1] PrimeHunter (talk) 12:02, 30 March 2024 (UTC)[reply]
The HTML spec permits the use of either U+0022 QUOTATION MARK (") or U+0027 APOSTROPHE (') as value delimiters; by implication, the “ and ” characters are not delimiters but are treated as part of the value itself. --Redrose64 🌹 (talk) 13:02, 30 March 2024 (UTC)[reply]
  • In a related matter, can you help me interpret the differences between {{CollegePrimaryStyle}} and {{NCAA color cell}}. It seems the former tries to use the true primary and secondary school colors, but the latter seems to use one of the two that constrasts well against white text. Is this correct?-TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 16:00, 30 March 2024 (UTC)[reply]
    In both cases, the work is done through Module:College color. --Redrose64 🌹 (talk) 16:06, 30 March 2024 (UTC)[reply]
    What do those 5 colmns of contrast mean and how do these two draw from the three columns of colors?-TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 17:17, 30 March 2024 (UTC)[reply]
    There are three columns of colour dabs, headed 1, 2 and 3. The first three of the five contrast columns show how each of those relate to one of the others - 1/2 is for colours 1 and 2 in conjunction (either text of colour 1 on a background of colour 2 or text of colour 2 on a background of colour 1); similarly 2/3 is for colours 2 and 3 in conjunction; and 3/1 is for colours 3 and 1 in conjunction. The last two, 1/w and 1/b, are for colour 1 in conjunction with white or black respectively. --Redrose64 🌹 (talk) 18:31, 30 March 2024 (UTC)[reply]
    It seems that {{CollegePrimaryStyle}} uses 1 & 3 and {{NCAA color cell}} uses 1 & 2. Is that correct? Or are there some conditions?-TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 18:58, 30 March 2024 (UTC)[reply]
    I think I am up to speed. Thx.-TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 04:50, 31 March 2024 (UTC)[reply]

Missing team at Module:College color

At Wikipedia:Village_pump_(technical)#Trying_to_understand_table_stylings above, User:Redrose64 introduced me to Module:College color. While editing List of Men's Soccer Academic All-America Team Members of the Year, it came to my attention that MSU Denver Roadrunners do not seem to be listed. How can we get this corrected?-TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 07:09, 3 April 2024 (UTC)[reply]

Make an edit request at Module talk:College color. Details including exact colors would be needed. Johnuniq (talk) 09:02, 3 April 2024 (UTC)[reply]

How do I stop the "Changes recovered" cache?

I started typing a reply to a discussion at ANI and a new edit happened so I refreshed to see it (that edit closed the discussion).
The problem now, is that every time I go to ANI it tries to do the "Changes recovered" thing where it scrolls to that topic and says Loading..., and normally would have loaded my reply, but since it's closed it gives up after a bit.
This happens every time I go there now, I have tried starting another reply on another section and cancelling that, but no luck. – 2804:F14:8093:5F01:BD93:DDC2:7C48:C2EC (talk) 01:03, 1 April 2024 (UTC)[reply]

You have to temporarily unclose the thread (I usually just comment out the top and bottom templates), this will allow you to close the reply window, and you then revert the changes so the thread is closed again. I ran into this exact problem yesterday and had to temporarily re-open and re-close a thread.[2][3] -- LCU ActivelyDisinterested «@» °∆t° 13:50, 2 April 2024 (UTC)[reply]

PEIS is becoming an issue for one of our larger articles, Donald Trump. An editor is currently stating because of PEIS we cannot pre-emptively archive sources as prescribed at WP:DEADREF and WP:ARCHIVEEARLY. The current limit is 2MB, and has apparently been set to that for decades. The initial reasoning was to prevent denial-of-service attacks through large complex pages overwhelming MediaWiki. But with the significant change in processing power since that initial limit (and the growing complexity of pages on Wikipedia), it is time to revisit that limit. I'd actually suggest at least doubling it to 4MB, but a higher value may be reasonable because (again) computational power has increased a lot since that initial limit was created. The linked task has been active since 2018 (six years ago). I'm not entirely sure what is needed to change this setting, but if you were waiting for an actual article to hit the limit, we're here. —Locke Coletc 17:35, 1 April 2024 (UTC)[reply]

FWIW this was also discussed last December; the Phabricator discussion you link above reminds me very much of the one about increasing the Lua memory limit, and I hope he won't mind me saying this, but my suggestion is: ping Tim Starling and/or leave him a talk page message—and if you can identify any other dev who seems to have expertise in this area, ping them too—so he can at least give a second/informed opinion on whether increasing this limit is reasonable. Maybe the answer is no, but maybe the answer is yes, since much has changed since the limit was set 18(?) years ago. -sche (talk) 20:33, 1 April 2024 (UTC)[reply]
Looks like he has email turned on, so sent him an email directly with a summary of the situation. —Locke Coletc 22:22, 1 April 2024 (UTC)[reply]
At the time (18 years ago), long articles about US presidents like George W. Bush took about 30 seconds to parse, and by imposing limits, we were trying to keep user-visible latency down to around that figure. Now today Donald Trump takes 9 seconds to parse, so we can congratulate ourselves for directing some small part of the enormous hardware performance gains to an improvement in user-visible latency. But, you might say, human patience remains the same, so we should increase the limits by a factor of 3 or so, allocating the remaining performance dividend to editors so that they can increase the size and complexity of articles by that amount. However, a cloud on the horizon approaches — Parsoid read views are imminently coming, and Parsoid does Donald Trump in 21 seconds. They have staked their claim on half of the gap between current and historical performance. Wirth's law in our context is the process by which performance improvements are greedily consumed by various stakeholders, all hungry for clock cycles, up to the limit of human tolerance for latency, and you might well complain that editors here are getting the crumbs. Parsoid performance is quite sensitive to the number of tags on the page, and if you were optimising for it, removing unnecessary archive links would be a reasonable step to take. So the limit is still doing its job. -- Tim Starling (talk) 01:20, 2 April 2024 (UTC)[reply]
... removing unnecessary archive links would be a reasonable step to take. Archive links aren't what I'd call "unnecessary", especially as they've taken a hammer (disallowed ALL archive links for URLs that are still live) to the situation instead of a scalpel (disallowed archive links for specific sources known to be reliable/persistent).
Regardless, the overarching point is, we have language at WP:CITE that says we should be proactive in archiving sources to prevent links from going stale/dead. All things being equal, around 99.9% of the project follows this guidance and archives are added either automatically or semi-automatically using scripts. What we're running in to here is a technical restriction, however, in WP:PEIS. On an article as critical as one for someone facing numerous legal challenges, being the current party-nominee for a Presidential election, and otherwise being very much in the public eye, it seems like pre-emptively archiving sources would be more desirable, not less so.
So the limit is still doing its job. Forgive me, but the initial reason for this was seemingly related to fears of denial-of-service attacks abusing markup and causing the site to stall or fail completely. Not to force editors to limit what can be done with articles. —Locke Coletc 03:05, 2 April 2024 (UTC)[reply]
That article needs to do better at WP:SUMMARY given its current size of 425 kb wikitext. Cut the article down by a third to a half of its current size and you won't be running into template expansion issues anymore. Izno (talk) 05:03, 2 April 2024 (UTC)[reply]
I agree. An article that is close to hitting the limit is a great candidate for WP:SPINOUTs. Even if we have the technical ability to raise the limit, it may be beneficial to keep it the same, in order to discourage the creation of articles that are too big. –Novem Linguae (talk) 05:16, 2 April 2024 (UTC)[reply]
@Izno and Novem Linguae: You'll get no argument from me. My primary concern is going into a US election season with archives banned for a page that is BEGGING to be as verifiable as possible. Sometimes sources are paywalled. Sometimes sources go down temporarily. Sometimes sources move because of a site restructure or an article getting renamed. The list of reasons to have archives available on a page like this is far longer than the list of reasons not to. My goal with this was to find the least disruptive (to the regular editors of Donald Trump to make the page editable and get back to including archive links. If someone thinks they can split it off even more than it already is, be my guest. —Locke Coletc 05:27, 2 April 2024 (UTC)[reply]
@Locke Cole: Given the Donald Trump article is already split into myriad existing subarticles, so long as the sources used in Donald Trump are the ones used in the relevant main articles (if they're not they can be copied to the main articles), they can be archived at the relevant main articles and so preserved in case they are later needed. CMD (talk) 05:05, 3 April 2024 (UTC)[reply]
You're welcome to bring that up at WT:CITE where archiving is prescribed as a way to avoid dead links. I do think it's a bad idea to carve out exceptions like this though, as these archive links are also useful to our readers. Having them absent entirely on some pages creates an inconsistent experience, and again, WP:V is policy and WP:CITE works to standardize how we make our articles verifiable. —Locke Coletc 05:17, 3 April 2024 (UTC)[reply]
I don't think universal pre-emptive archiving is expected, nor is it exceptional to not have universal archiving. I've even seen mass archiving reverted. CMD (talk) 15:25, 4 April 2024 (UTC)[reply]
Completely agree. If you've got to the point of fiddling around with reference templates to try and make you article work, your likely well past the point it's should better summarised or split. -- LCU ActivelyDisinterested «@» °∆t° 13:53, 2 April 2024 (UTC)[reply]
Worth bearing in mind that the limit here is only partially technical - it also serves to limit articles to a reasonable size. Computers may be able to handle doubling or even quadrupling the limit, but would the articles produced actually end up being readable? If you attempt to print out the current Donald trump article it runs to 26 sides of A4, with 12 pages being the article text, that seems awfully long for what is supposed to be a high level overview of a topic. Would a 50 or 100 page long article actually represent an improvement? 86.23.109.101 (talk) 10:36, 2 April 2024 (UTC)[reply]
In that case there should be a limit on article size, not post-expand include size (which in 90% of cases is driven by nested templates-within-templates or modules-within-templates such as {{navbox}} and {{navboxes}}, {{flag}}, {{coord}}, and {{cite web}} (et al.), none of which appreciably increase article size). --Ahecht (TALK
PAGE
) 18:35, 2 April 2024 (UTC)[reply]
It is possible to reduce the limit of how big the article can be - Manual:$wgMaxArticleSize, but that will stop any edits to articles that are bigger than the limit and edits that make the article bigger than the limit. The largest page on the english wikipedia in any namespace is Wikipedia:Arbitration_Committee_Elections_December_2018/Coordination/Mass_message at 3.6 MB, where as the limit is probably 1.5 GB. This limit could be reduced to 4MB, but any reduction beyond that would require splitting the pages first. Snævar (talk) 11:48, 4 April 2024 (UTC)[reply]
You could easily reduce the WP:PEIS of that article from ~1.8MB to 1.1MB by using {{#invoke:cite web|‍}}, {{#invoke:cite news|‍}}, {{#invoke:cite book|‍}}, etc. instead of {{cite web}}, {{cite news}}, {{cite book}}, etc. --Ahecht (TALK
PAGE
) 15:22, 2 April 2024 (UTC)[reply]
That's a good tip. Implemented here, it brought the PEIS down to Post‐expand include size: 1261011/2097152 bytes as expected. —Locke Coletc 15:40, 2 April 2024 (UTC)[reply]
IMO that's a bad suggestion. We normally avoid using #invoke or other parser functions directly in articles as it makes the wikitext even harder to understand. Anomie 16:01, 2 April 2024 (UTC)[reply]
It's fiddling at the edges of a problem, rather than dealing with the scale of the article. -- LCU ActivelyDisinterested «@» °∆t° 16:09, 2 April 2024 (UTC)[reply]
(edit conflict) I agree. But it's better than the references not working. The fact that PEIS almost always results in tech hacks that don't even clearly improve parsing time rather than the article getting smaller. It's an interesting question (which Tim Starling (WMF) could possibly answer) whether {{#invoke:cite web|...}} is actually meaningfully faster to parse that {{cite web|...}}. Because it's largely things like that the the PEIS limit is forcing people to do, not split articles.
The only exception I can think of to this, where an article was split which probably wouldn't have been otherwise, is List of Ang Probinsyano seasons FKA List of Ang Probinsyano episodes. * Pppery * it has begun... 16:10, 2 April 2024 (UTC)[reply]
You miss my point. Getting the references to work again by trimming cite templates or using invoke is a waste of time, you can get the references to work again by better summarising the articles or splitting content. The former just leads to more fudges and janky hacks to cram in more minor details, while the latter leads to editors thinking about what should or shouldn't be included in the article. -- LCU ActivelyDisinterested «@» °∆t° 15:34, 3 April 2024 (UTC)[reply]
It is a suggestion for edge cases of articles like this one. And if you have issues with it in the general, you might review how Module:Sports table is being used. I have seen one complaint of Module:Sports table, but it seems that no-one else has had large issues with it.... Izno (talk) 17:06, 3 April 2024 (UTC)[reply]
Just pointing out that at least 73 pages were directly split off from or are related to Donald Trump. I don't understand what these two edits are supposed to do on the page or how the second one follows from the first one: Reduce WP:PEIS and WP:PEIS improvements from WP:VPT courtesy of User:Ahecht. The first "improvement" increased the size by 270 bytes, the second one by 5,842. Space4Time3Continuum2x🖖 16:52, 2 April 2024 (UTC)[reply]
"Post-expand include size" is not the size of the article. It roughly means the total amount of wikitext generated by templates/modules, with wikitext being sent through a template/module more than once being counted multiple times. Thus, by reducing the number of layers of templates by one, those edits did improve the PEIS. * Pppery * it has begun... 16:56, 2 April 2024 (UTC)[reply]
Let's be very clear. This discussion is about increasing the PEIS limit and related topics, not about the Donald Trump article. No matter what happens here, any change to the article's current consensus item 25 would need a new consensus at Talk:Donald Trump. The same goes for any talk about splitting or trimming, and there's currently an open discussion about that. Thanks guys. ―Mandruss  04:39, 3 April 2024 (UTC)[reply]

Buttons on the top panel, in ce.wikipedia.org

The buttons of connected gadgets, for example, the wikifier after updating the page are mixed in the middle and back to the right. Where can this be fixed so that the buttons do not move and leave in one place, right or left, please help? In Russian, all the gadget buttons on the left. Here is the screen where I noted these buttons, when they went to the middle. Thank you! Takhirgeran Umar (talk) 22:01, 1 April 2024 (UTC)[reply]

Your post is confused. ce.wikipedia.org links to an English Wikipedia article but you apparently refer to source edit pages at ce:. ce:MediaWiki:Gadgets-definition has the line:
  • AlignTemplateParameters[ResourceLoader|default|hidden|type=general|actions=edit|dependencies=ext.gadget.registerTool,jquery.client]|AlignTemplateParameters.js
It loads ce:MediaWiki:Gadget-AlignTemplateParameters.js by default but hides it in preferences. The gadget adds some buttons to the edit toolbar. Compare [4] to safemode which doesn't have the extra buttons. The position of the buttons vary between page loads for me and you apparently want the position to be fixed. I don't know how to control this. PrimeHunter (talk) 22:59, 1 April 2024 (UTC)[reply]
@PrimeHunter. On this screenshot everything is ok, I want them not to go left or to the center. Sorry I don’t know English, I write with Google translator, I hope now more understandable. Takhirgeran Umar (talk) 23:24, 1 April 2024 (UTC)[reply]
Here they went to the center. It is necessary that they stay all the time on the right. Takhirgeran Umar (talk) 23:30, 1 April 2024 (UTC)[reply]
I see this problem through the Mozilla Firefox browser. Takhirgeran Umar (talk) 07:07, 2 April 2024 (UTC)[reply]

Tech News: 2024-14

MediaWiki message delivery 03:33, 2 April 2024 (UTC)[reply]

Indented tables

I just realized, that it is possible to indent tables.

::::{| class="wikitable mw-collapsible mw-collapsed"
! table header
|-
| table cell
|}

This seems like an accidental feature, that could easily be broken with the next CSS change.
But I think it is quite useful on talk pages, and should be kept.
Especially discussions about illustrations become unwieldy, when too many thumbs pile up on the right.

Here are some images. We should use them to illustrate this article. --Albertus Durerus Noricus (talk) 11:11, 1 April 2024 (UTC)[reply]
some images
These images are too monochrome, and houses are better than spirals. --John Doe (talk) 12:34, 2 April 2024 (UTC)[reply]
some other images

So my suggestion is just, to recognize this as a feature, that should be kept. Watchduck (quack) 14:13, 2 April 2024 (UTC)[reply]

@Watchduck: Please see Help:Table#Indenting tables.
Indenting with colons (ab)uses HTML definition lists, and in HTML, tables may be used inside all three kinds of list - definition, ordered and unordered. It's highly unlikely that the feature will be removed, certainly not with the next CSS change. --Redrose64 🌹 (talk) 14:47, 2 April 2024 (UTC)[reply]
In addition, indenting tables is liable to cause this lint. Please don't. Izno (talk) 20:30, 2 April 2024 (UTC)[reply]
@Redrose64 and Izno: It would probably be easy to replicate the indentation with CSS classes. I think it would make sense to combine wikitable mw-collapsible mw-collapsed into something like talktable. The indentation depth could be added with a dash, so the first line would look like {| class="talktable-4". But counting colons is not something people like to do. Would it not be possible to make indented tables official, so that ::::{| would be translated into a table tag with class indented-table-4? — Preceding unsigned comment added by Watchduck (talkcontribs) 23:05, 2 April 2024 (UTC)[reply]
Feel free to file a feature request. --Redrose64 🌹 (talk) 23:21, 2 April 2024 (UTC)[reply]
No, it's not really reliably possible to do that in the current parser. It may be more possible in the future.
As for the text, there has been discussion about supporting multiline content in lists better already that would involve some new wikitext and would help us support more use cases than just tables. You can look on Phabricator for that if you want. Izno (talk) 00:53, 3 April 2024 (UTC)[reply]

Cewbot has decided that there are no vital articles

The bot is removing the "vital article" parameter from every talk page, in alphabetical order. Can someone put it to sleep until its operator can sort it out? Pinging @Kanashimi and MSGJ:, who might know what is going on. ~~ AirshipJungleman29 (talk) 15:19, 2 April 2024 (UTC)[reply]

@AirshipJungleman29: Does User talk:Cewbot/Stop this stop it when you fill in the form? ——Serial Number 54129 15:26, 2 April 2024 (UTC)[reply]
No. ~~ AirshipJungleman29 (talk) 15:36, 2 April 2024 (UTC)[reply]
Bloody hell they last edited 17 and 6 hours ago! ——Serial Number 54129 15:28, 2 April 2024 (UTC)[reply]
Rogue bot, clearly. I have no knowledge of technical stuff, so I didn't want to break anything further. ~~ AirshipJungleman29 (talk) 15:31, 2 April 2024 (UTC)[reply]
Me neither! I hope you don't mind; I copied it over to ANI for more eyes. etc., as it certainly counts a (hopefully temporary!) 'chronic behavioural problem'  :) ——Serial Number 54129 15:36, 2 April 2024 (UTC)[reply]
I've blocked it for now. HJ Mitchell | Penny for your thoughts? 15:42, 2 April 2024 (UTC)[reply]
Thank you for putting it out of its misery. LegalSmeagolian (talk) 15:47, 2 April 2024 (UTC)[reply]
Thanks @HJ Mitchell:, very much for stepping up there. Now... can anyone mass-rollback over 1000 edits?!  :) ——Serial Number 54129 15:52, 2 April 2024 (UTC)[reply]
@Serial Number 54129 I can from a technical perspective with a few clicks. But might it not be better to wait for the botop to fix the bot and then let it fix its own errors? Is it an emergency now that the immediate problem is resolved. HJ Mitchell | Penny for your thoughts? 15:56, 2 April 2024 (UTC)[reply]
ooo... i didn't notice this follow up. I have rollback all the changes up till when the issue started after seeing someone rollbacking the changes one by one in my watchlist, and I thought I would save them the trouble and time spent going through some 1,600 edits. – robertsky (talk) 21:19, 2 April 2024 (UTC)[reply]
@Robertsky: About that, now that I'm looking closer, it seems your rollbacks and @Remsense's undos reverted multiple edits at once in various talk pages - only the most recent edit in each talk page appears to have been part of this malfunction (usually 10 bytes changes?).
I'm hoping the bot will fix those when it's fixed. Does anyone know if it will? – 2804:F14:80EC:AB01:D0C2:97E3:6645:A903 (talk) 21:46, 2 April 2024 (UTC)[reply]
Yeah. I wanted to circle back to specific ones, ended up partially undo one, i.e. Special:Diff/1216941066, as it was getting real late at where I am and I was knocked out. – robertsky (talk) 14:34, 3 April 2024 (UTC)[reply]
Robertsky is duly thanked for his service :) ——Serial Number 54129 16:48, 2 April 2024 (UTC)[reply]
Odd that at WP:Database reports/Vital articles update report it says "36135 talk page(s) to edit (The amount of talk pages to edit exceeds the value of talk_page_limit_for_editing on the configuration page. Do not edit the talk pages at all.).", and yet the bot was happily trying to edit anyways. – 2804:F1...45:A903 (talk) 20:59, 2 April 2024 (UTC)[reply]
In case this helps any, here are the 250 edits near and before the beginning of the malfunction: [8]2804:F1...45:A903 (talk) 21:18, 2 April 2024 (UTC)[reply]
In general, this is the wrong forum for a bot malfunction. You should post in some order to the operator's talk page, WP:BOTN, and/or one of WP:AN/WP:ANI for the appropriate attention. ANI is most likely to get an immediate block, and you have to notify the operator of the post there regardless. Izno (talk) 21:45, 2 April 2024 (UTC)[reply]
@HJ Mitchell I'm sorry, I didn't notice that the configuration was corrupted. I've restored the profile, please unblock the robot, thank you. Kanashimi (talk) 22:24, 2 April 2024 (UTC)[reply]
Also, it should be enough to report it on the User talk:Cewbot/Stop page, without blocking it, because this bot is also responsible for other operations. Kanashimi (talk) 22:26, 2 April 2024 (UTC)[reply]
I've taken some precautions so that in the future, when this happens, the robot will stop editing. Kanashimi (talk) 22:31, 2 April 2024 (UTC)[reply]
Progress report: I am re-running the robot to recover the error. Kanashimi (talk) 01:27, 3 April 2024 (UTC)[reply]
 Done Kanashimi (talk) 03:25, 3 April 2024 (UTC)[reply]

Multiple lines per entry tables

Is it possible to format a regular table so that there is a large entry or two on a lower row, the way that tv show episode tables are formatted? —blindlynx 22:39, 2 April 2024 (UTC)[reply]

@Blindlynx Yes, you can use colspan to specify how many columns a single cell will span:
{| class="wikitable"
| R1 C1
| R1 C2
| R1 C3
|-
| colspan = "3" | R2
|}
R1 C1 R1 C2 R1 C3
R2
--Ahecht (TALK
PAGE
) 23:51, 2 April 2024 (UTC)[reply]
I assume from your edits that this is about List of genocides#List of genocides. In a sortable table you can add class="expand-child" from Help:Sortable tables#Keeping some rows together. You may also want something like style="border-bottom:solid 2px" to show what belongs together:
C1 C2 C3
R1 C1 R1 C2 R1 C3
R2
R3 C1 R3 C2 R3 C3
R4
R5
R6 C1 R6 C2 R6 C3
R7
PrimeHunter (talk) 02:49, 3 April 2024 (UTC)[reply]
Thank you! —blindlynx 14:40, 3 April 2024 (UTC)[reply]

Introducing Edit Patrol: Assisting Rollbackers on the Wikipedia Android App

The Mobile Apps team has recently released a new feature in the Android app to assist rollbackers in patrolling from their mobile device without leaving the Android app. Edit Patrol is a suggested edit that allows users with rollback rights to view the recent changes feed, with access to undo, rollback, thank, and post talk page messages.

The feature is currently available on Indonesian, French, and Spanish Wikipedia. We hope to make it available to English Wikipedia rollbackers in the coming month, and then to all wikis.

You can learn more about the feature and its development on our project page. Edit Patrol does not intend to replace existing patrolling tools, rather fill some gaps that have been highlighted in the mobile space. Prior to writing a single line of code, the team conducted interviews with patrollers and conducted a comparative review of existing patrolling tools. Throughout development, we have continued to incorporate feedback from members of the community. We prioritized collaboration with communities that have traditionally had difficulty utilizing existing tools, specifically folks using mobile devices.

After initial release, we heard requests to add access to user talk warning templates in the talk page message flow. Users are now able to search and use user talk warning templates as part of the tool. For languages that do not have user warning templates, the team reviewed messages across languages & created 10 example messages that will be preloaded into the app: you can learn more about those messages and leave feedback here.

The feature currently allows users to view the feed of recent edits for only one language wiki at a time (the primary language set in their app), but we are interested to hear if there is a preference from multi-wiki rollbackers to have the ability of patrolling multiple languages in a single feed.

Please check out this presentation with more information, and a demonstration of the feature to learn more. If you have any questions or feedback, we welcome it on the project’s discussion page, or please attend our open demonstration hours for this feature on Google Meet on the 26th of April 2024 at 18 UTC (You can determine the right time in your time zone using a time zone converter tool).

Looking forward to see you all.

--ARamadan-WMF (talk) 15:21, 3 April 2024 (UTC)[reply]

Interlanguage links

Not sure where this should be reported so if there is a better place let me know. At the top of Kenn Borek Air the Spanish language link leads to es:Plantilla:TCAOC rather than to es:Kenn Borek Air. The link at https://www.wikidata.org/wiki/Q1738781#sitelinks-wikipedia seems to be correct. So where is the error coming from? CambridgeBayWeather (solidly non-human), Uqaqtuq (talk), Huliva 16:35, 3 April 2024 (UTC)[reply]

[9]. Now moved to Wikidata. Izno (talk) 17:03, 3 April 2024 (UTC)[reply]
I'm sorry I must be missing something. Your link is to {{TCAOC}}. CambridgeBayWeather (solidly non-human), Uqaqtuq (talk), Huliva 17:12, 3 April 2024 (UTC)[reply]
Oh. I get it now. Usuarioquelegustanlosdirigibles edit to the template messed with the Kenn Borek entry. CambridgeBayWeather (solidly non-human), Uqaqtuq (talk), Huliva 17:14, 3 April 2024 (UTC)[reply]

Ignored request

At Template talk:Infobox sports award, I posted a request for new feature on March 16 that seems to be getting ignored.-TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 03:35, 4 April 2024 (UTC)[reply]

@TonyTheTiger: Jonesey95 has already replied on the template talk page. --Ahecht (TALK
PAGE
) 15:20, 4 April 2024 (UTC)[reply]
The page has eight watchers. Only two of them have looked at the page recently. --Redrose64 🌹 (talk) 16:29, 4 April 2024 (UTC)[reply]
That information is normally only available to admins, who don't see an exact number of watchers/inactive watchers if it's less than 30. Graham87 (talk) 09:03, 6 April 2024 (UTC)[reply]

Another time lag

Hello, VPT,

There is another time lag going on that is interfering with the work of some bots and database reports I rely on. Is there any way to tell how long this will last? It's at 7:19 hours right now but I know these lags can sometimes last for days. Sorry, I know that this question has been asked before (maybe even by me) but I'm not sure where else to go to for answers since these lags have become so common lately. Thanks for any help you can provide. Liz Read! Talk! 17:07, 4 April 2024 (UTC)[reply]

It seems to have been resolved, that page now shows zeroes across the board. Matma Rex talk 00:34, 5 April 2024 (UTC)[reply]
Perhaps a different kind of time lag on my end. For instance, the very page we are on now, has this message at the top: "Unable to fetch revision data. 3,632 watchers, 15,473 pageviews (30 days) · See full page statistics". — Maile (talk) 13:05, 5 April 2024 (UTC)[reply]
This one also seems resolved. — Maile (talk) 14:32, 5 April 2024 (UTC)[reply]

Hello, anybody here who could help with this? I wanted to remedy my mistake (missing }}, but apparantly there is the new link to about.com which I never made. El C suggested to ask here. Thank you for your time. Lotje (talk) 03:25, 5 April 2024 (UTC)[reply]

I restored your edit except for the part removing the }} from note 4, and except that the three about.com refs are still removed. They were added years ago, apparently before the site was blacklisted, and now cannot be added again without requesting at MediaWiki talk:Spam-whitelist that the urls be whitelisted (or by only using the archived links and not the live urls). But I think all three are adequately replaced by other existing references for the same claims. SilverLocust 💬 04:59, 5 April 2024 (UTC)[reply]

504 Gateway timeout

There is a request https://xtools.wmcloud.org/articleinfo/en.wikipedia.org/Scientific%20method which is yielding a 504: Gateway Timeout, for an xtools process taking over 900 seconds. The article is scientific method. How might we address this? Perhaps by requesting an off-line run for xtools? Thank you, -- Ancheta Wis   (talk | contribs) 12:07, 5 April 2024 (UTC)[reply]

@Ancheta Wis that external tool has a report an issue function, use this link to do so. — xaosflux Talk 13:42, 5 April 2024 (UTC)[reply]
There was a report for scientific method as of 09:45, 7 April 2024 (UTC). Thank you. --Ancheta Wis   (talk | contribs) Ancheta Wis   (talk | contribs) 09:45, 7 April 2024 (UTC)[reply]

Retrieval of canonical name for Unicode code points?

@JMF and I were mulling over the fact that every time an editor would like to use the {{Unichar}} template to print a specific Unicode character formatted with its code point and canonical name, we have to also enter the canonical name. Immediately, it's clear we have to pluck an index from a 150k-entry long list if we want to automate that, but it seems possible. Is this ill-advised? Remsense 18:32, 5 April 2024 (UTC)[reply]

My initial thought is that pulling the name from WikiData would avoid duplication of this information on Wikipedia. (It might be nice to have a way to flag when there is an officially acknowledged mistake in the canonical name, but I can't think of a concise way that would be readily understandable to a casual reader.) isaacl (talk) 18:48, 5 April 2024 (UTC)[reply]
My first take is that an automated process is likely to be more re;iable then manual entry by an editor. Something like {{Unichar|01A2|lookup=name}} should render as U+01A2 Ƣ LATIN CAPITAL LETTER OI while {{Unichar|01A2|lookup=alias}} should render as U+01A2 Ƣ LATIN CAPITAL LETTER OI. -- Shmuel (Seymour J.) Metz Username:Chatul (talk) 20:02, 5 April 2024 (UTC)[reply]
Module:Unicode data can do this already: {{#invoke:unicode data|lookup|name|01A2}} → LATIN CAPITAL LETTER OI. If there's a frontend template that invokes it like that, I don't know what it is offhand. —Cryptic 20:26, 5 April 2024 (UTC)[reply]
What! I swear I checked. In that case, it's crazy that it's not implemented in the #1 editor template to directly use it. Thank you! Remsense 20:31, 5 April 2024 (UTC)[reply]

Question about threads at DRN

This is a question about the opening of threads at the Dispute Resolution Noticeboard. In particular, exactly where is the specification that sets the Do Not Archive Until date in a new thread that is opened by what appears to be WP:Dispute resolution noticeboard/request and WP:Dispute resolution noticeboard/Header? It appears that the Do Not Archive date is being set to two weeks after the case opening date. This means that cases that have been open for more than two weeks and have no activity for 48 hours are being archived. I am planning to change the archival parameter so as to wait 72 hours rather than 48 hours, but I would also like to set the Do Not Archive Until date to start out three weeks rather than two weeks after filing. Active cases often do not get resolved in two weeks, and do not always have activity in 48 hours. So can someone please tell me where the Do Not Archive Until date comes from? That is, where is the computation done? Robert McClenon (talk) 18:20, 6 April 2024 (UTC)[reply]

@Robert McClenon: It's in Template:NewDRNsubmission, essentially as {{subst:Do not archive until|30}}, and is 30 days from the time of filing. --Redrose64 🌹 (talk) 19:28, 6 April 2024 (UTC)[reply]
Thank you, User:Redrose64. That is interesting and puzzling. Then why was Do Not Archive set to 1 April 2024 in Wikipedia:Dispute_resolution_noticeboard/Archive_244#Climate_change, which appears to have been filed on 18 March 2024? The thread was archived because there was no activity for 48 hours and it was after 1 April, so the bot was honoring the parameters. I will look at the template in more detail in a while, but I am puzzled. I thought that there might be a technical answer. I am still sure that there is a technical answer, but it is even more complicated than I would have thought. Robert McClenon (talk) 19:52, 6 April 2024 (UTC)[reply]
This is the filing edit. It rules out one theory of mine, viz. that the DNAU timeetamp was modified after filing. --Redrose64 🌹 (talk) 22:11, 6 April 2024 (UTC)[reply]
So the DNAU timestamp was indeed "wrong" for some reason. Thank you for doing the research. Robert McClenon (talk) 04:38, 7 April 2024 (UTC)[reply]
If someone used the clickable button at the top of the DRN page to make a request, the report text is defined by the javascript behind it, which has the DNAU set to 14 days. You can see the wikitext it creates at MediaWiki:DRN-wizard.js#L-189. Aidan9382 (talk) 07:49, 7 April 2024 (UTC)[reply]

Can we give users the ability to set up editnotices in their own user space (including subpages)?

I am repeating this issue from MediaWiki_talk:Titlewhitelist#Protected_edit_request_on_6_April_2024.

The reason I think we should do something like this is to deprecate stuff like the old user page editnotice (which I quickly figured out did not work with user subpages a long time ago (like 4 or 5 years ago), when WP:EDN at the time implied so). I think these editnotices should be something similar to how user CSS, JS, and JSON is handled where only the user and specific other users are able to create and edit them. This is better enforced by an edit filter because a user should be able to create editnotices in their own user space (but not others). I also created a draft message MediaWiki talk:Abusefilter-disallowed-editnotice/sandbox for this same purpose. This only would affect "Page" and "Group" editnotices, not "Protection" or anything similar. Awesome Aasim 23:15, 6 April 2024 (UTC)[reply]

Quarry

I realize that this is Wikipedia, not Wikimedia or Wikitech, but when I try to run queries on Quarry as part of my editing jobs, I get the following message

  • Wikimedia Cloud Services Error
  • This web service cannot be reached. Please contact a maintainer of this project.
  • Maintainers can find troubleshooting instructions from our documentation on Wikitech.

Will this impact this project, too? Or is this an internal problem that just the developers need to worry about? Thanks for any tech help you can provide. Liz Read! Talk! 23:42, 6 April 2024 (UTC)[reply]

Never mind, it's back. Liz Read! Talk! 00:36, 7 April 2024 (UTC)[reply]