User talk:John Cummings/Archive 12
This is an archive of past discussions with User:John Cummings. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 5 | ← | Archive 10 | Archive 11 | Archive 12 | Archive 13 | Archive 14 | Archive 15 |
April editathons from Women in Red
Women in Red | April 2021, Volume 7, Issue 4, Numbers 184, 188, 194, 195, 196
|
--Megalibrarygirl (talk) 20:16, 22 March 2021 (UTC) via MassMessaging
Modern HTML 5 + CSS coding
Please don't use HTML and CSS that's deprecated since the 1990s or outright invalid. That includes: the <center>...</center>
element, the old HTML 4 attributes cellpadding
and cellspacing
, adding units to CSS values of 0, opening an element but not closing it, using tables for layout without marking them with role="presentation"
, adding empty table rows, using nonsensical height statements, giving multi-word font names without quoting them, using <p>...</p>
for things that are not prose paragraphs, not closing CSS declarations with ;
, and using pixel-based sizes for any text. Half of that is problematic for accessibility and half of it is just broken. This quick patch fixed all these problems (as well as generally unreadable CSS) at Wikipedia talk:WikiProject Airports#Wikipedia:Sandbox organiser, but I get the feeling you copy-pasted that announcement to a bunch of other places. Even the layout table could be replaced, though that takes a bit more CSS and work. I just looked at the Wikipedia:Sandbox organiser page and it is riddled with similar problems, which does not bode well if it's intended to deploy similar code in a zillion userspaces. This needs to get repaired ASAP. Try using any of the readily available HTML+CSS validators, even after you're pretty sure it's all in proper order.
For more on WP's migration to HTML 5, and how to help, as well as tips for centering complex markup like tables ({{center}}
works for most things, but not those), see WP:LINT and WP:HTML5. Specific tips: tables have border-collapse: separate;
by default. They also default to padding: 0;
on cells, and text-align: left;
on cell content, plus left alignment of the table itself (in LtR languages). To get the CSS equivalent of cellspacing="0"
, just do border-collapse: collapse;
. If you need actual cell spacing, this requires border-collapse: separate;
(which, being the default, you don't need to actually specify, unless to override an intervening stylesheet) and some specific (proportional not pixel-based) value: border-spacing: 0.1em;
or whatever. HTML's old cellpadding="10"
which was deprecated in HTML 4.1 and removed in HTML 5, would literally translate to padding: 10px;
applied to cells instead of the entire table (typically with a style sheet, not inline cell-by-cell CSS). But again don't use pixel-based values, so something like padding: 0.7em;
. It's best to use em
not %
values, since the former is keyed to the size of the font (which vision-challenged editors will be adjusting, sometimes drastically) while the latter is dependent on the width of the viewport, which is generally irrelevant (and you don't want the table to look radically different if someone turns their phone/tablet sideways and gets a twice-as-wide viewport without changing the font size). Some elements for different kinds of things like major layout objects are best done relative to page width, though. You can use WP:TemplateStyles to stylesheet-ize stuff like this for things like announcement templates, and templates for Sandbox Organizer layout. The table
element's align="center"
attribute was also deprecated in HTML 4 and eliminated in HTML 5, so this has to be done with text-align: center;
at the cell level. To center the entire table on the page (well, technically, within the div or other block in which it has been placed), give the table margin: auto;
, or use margin-left: auto; margin-right: auto;
if there is some need to do something with top and bottom margins. Visible borders now also have to be applied at the cell level as well as the table level.
Ancient HTML 3 markup:
<center> {| cellspacing="0" cellpadding="10" border="1" align="center" |- | Foo | Bar | Baz |} </center>
Modern HTML 5 + CSS markup:
{| style="margin: auto; border-collapse: collapse; border: 1px solid;" |- | style="padding: 0.7em; border: 1px solid; text-align: center;" | Foo | style="padding: 0.7em; border: 1px solid; text-align: center;" | Bar | style="padding: 0.7em; border: 1px solid; text-align: center;" | Baz |}
Because the modern approach complicates things, and makes dealing with cells a hassle at a cell-by-cell level, you can see why TemplateStyles was introduced! You can just give your table a custom class, then use a declaration like table.SandboxOrganizerLayoutClass td { ... }
to control all cells. It's important to use a class name that is likely to be unique, not anything that MediaWiki itself would use or some other user might pick.
While the HTML 3 elements and attributes are presently accepted by MediaWiki, there is no guarantee this will continue indefinitely, nor even any guarantee that future browsers will support it unless found with a doctype declaration of HTML 4.01 / XHTML 1.1 or earlier (that will really be up to each browser maker).
PS: The Sandbox Organizer idea is a good one, and I plan to use it, when it's in usable condition. I have a sprawling pile-up of code sandboxes, and article and essay drafts, so this will probably come in handy.
— SMcCandlish ☏ ¢ 😼 14:20, 8 April 2021 (UTC)
- Hi SMcCandlish thanks very much for your extensive suggestions and explanation, I'm glad you find the tool useful :) Unfortunately I'm not a programmer so don't understand how to implement your suggestions. I put together the tool based on copying code from other pages through a lot of trial and error. If you are able please change the code on Wikipedia:Sandbox organiser/preload, you clearly have a good understand of which parts need updating. What I really like about how its implemented is if someone comes and improves the code people can just wipe their /sandbox and copy in the new code in and its up to date. Also please do let me know if you end up customising your own version, I feel like there are probably several use cases for it and potentially there could by different versions e.g article writer, programmer, admin etc.
- Thanks again
- John Cummings (talk) 18:51, 8 April 2021 (UTC)
- Okey-dokey. Not sure when I'll get to it (already running out of steam today, and I'm only half-way through my pings and other "alerts"). If I don't get to it within a week, drop me a line. It's the kind of stuff I can plough through, but it will take several hours, including testing. — SMcCandlish ☏ ¢ 😼 20:15, 8 April 2021 (UTC)
- Thanks very much SMcCandlish, will do. John Cummings (talk) 22:52, 8 April 2021 (UTC)
- Okey-dokey. Not sure when I'll get to it (already running out of steam today, and I'm only half-way through my pings and other "alerts"). If I don't get to it within a week, drop me a line. It's the kind of stuff I can plough through, but it will take several hours, including testing. — SMcCandlish ☏ ¢ 😼 20:15, 8 April 2021 (UTC)
This Month in GLAM: March 2021
|
May 2021 at Women in Red
Women in Red | May 2021, Volume 7, Issue 5, Numbers 184, 188, 197, 198
|
--Rosiestep (talk) 21:36, 28 April 2021 (UTC) via MassMessaging
This Month in GLAM: April 2021
|
Nomination of Quintin Jones (prisoner) for deletion
The article will be discussed at Wikipedia:Articles for deletion/Quintin Jones (prisoner) until a consensus is reached, and anyone, including you, is welcome to contribute to the discussion. The nomination will explain the policies and guidelines which are of concern. The discussion focuses on high-quality evidence and our policies and guidelines.
Users may edit the article during the discussion, including to improve the article to address concerns raised in the discussion. However, do not remove the article-for-deletion notice from the top of the article.
-bɜ:ʳkənhɪmez (User/say hi!) 13:02, 21 May 2021 (UTC)
- I've been thinking about this for quite some time, but even with the improvements I was unable to find any examples of significant, non-routine, and biographical coverage that would lend to notability for this person - or even for the execution. The community may feel differently, but I figured it's as good a time as any to get a clear consensus through an AfD as opposed to continuing to float the "well maybe it's not notable" comment on the talk page repeatedly. -bɜ:ʳkənhɪmez (User/say hi!) 13:04, 21 May 2021 (UTC)
Possible article request?
Hello. Good job on creating the Quintin Jones (prisoner) page. I don't know if you take article requests but if you are interested in this subject I think a page that desperately needs to be created is one for Julius Jones (probably would have to be named Julius Jones (prisoner) for the time being). Julius Jones is an African-American man who is currently on death row in Oklahoma who is likely innocent. The case has received international coverage so it's definitely notable enough for Wikipedia. If you are interested please let me know I think you would be interested in the case if you look into it and watch the documentary The Last Defense (TV series) which highlights the problems with the case and possible racial biasness. Once again good job on the Quintin Jones page, please keep it up. Inexpiable (talk) 19:11, 26 May 2021 (UTC)
Hi Inexpiable, thanks very much. We would need several references to create the article, could you compile a list? John Cummings (talk) 23:44, 26 May 2021 (UTC)
June 2021 at Women in Red
Women in Red | June 2021, Volume 7, Issue 6, Numbers 184, 188, 196, 199, 200, 201
|
--Rosiestep (talk) 18:50, 28 May 2021 (UTC) via MassMessaging
This Month in GLAM: May 2021
|
July 2021 at Women in Red
Women in Red | July 2021, Volume 7, Issue 7, Numbers 184, 188, 202, 203, 204, 205
|
--Rosiestep (talk) 16:05, 22 June 2021 (UTC) via MassMessaging
This Month in GLAM: June 2021
|
Copying licensed material requires attribution
Hi. I see in a recent addition to World Intellectual Property Organization you included material from a webpage that is available under a compatible Creative Commons Licence. That's okay, but you have to give attribution so that our readers are made aware that you copied the prose rather than wrote it yourself. It's also required under the terms of the license. I've added the attribution for this particular instance. Please make sure that you follow this licensing requirement when copying from compatibly-licensed material in the future. — Diannaa (talk) 13:00, 20 July 2021 (UTC)
- Hi Diannaa thanks very much, sorry for missing this, I thought I had rewritten all the text, but aparently I missed some. Thanks again. John Cummings (talk) 13:31, 20 July 2021 (UTC)
August Editathons from Women in Red
Women in Red | August 2021, Volume 7, Issue 8, Numbers 184, 188, 204, 205, 206, 207
|
--Megalibrarygirl (talk) 22:26, 23 July 2021 (UTC) via MassMessaging
Got it!!
Sorry John, I found it. :) Women in Red has put together something of an address book but more a list to the various projects supporting women found on every Wikimedia platform. You can view that here. I was looking for information, initially, but I think we found everything we needed. If you have the time, please just look at the list and see if you notice anything missing that you are aware of that could be added to make the list more complete. Thanks again. --ARoseWolf 14:15, 5 August 2021 (UTC)
- Hey ARoseWolf, HerStory is missing, May Hachem's project, here are some links (this is not the same as wikiherstory, a WMF project:
- * https://meta.wikimedia.org/wiki/UN_Women_Her_Story
- * https://arabstates.unwomen.org/en/news/stories/2018/4/arab-youth-write-the-untold-stories-of-women-on-wikipedia
- * https://arabstates.unwomen.org/en/what-we-do/youth-and-innovation/herstory
- John Cummings (talk) 14:42, 5 August 2021 (UTC)
- Thank you! I will add that now. Let me know if you see or know of anything else. --ARoseWolf 14:44, 5 August 2021 (UTC)
- Yes will do :) John Cummings (talk) 15:23, 5 August 2021 (UTC)
This Month in GLAM: July 2021
|
regarding "items without Wikipedia articles"
hi! regarding your query at the query builder page in wikidata: there is one tool (example), which may be interesting to you. not exactly the thing you asked there, though. Edgars2007 (talk/contribs) 17:13, 18 August 2021 (UTC)
- Thanks very much Edgars2007, this is interesting but not really what I need, thanks though :) John Cummings (talk) 19:10, 18 August 2021 (UTC)
September 2021 at Women in Red
Women in Red | September 2021, Volume 7, Issue 9, Numbers 184, 188, 204, 205, 207, 208
|
--Rosiestep (talk) 22:30, 26 August 2021 (UTC) via MassMessaging
Science and technology sections
I notice you are posting on some country talkpages about Science and technology sections. Is the selection of talk pages chosen based on a source that might inform on the due weight of such a topic? CMD (talk) 01:51, 3 September 2021 (UTC)
- Hi Chipmunkdavis, not based on sources, just that the majority of country pages have them, it seems strange others do not when its extremely likely that there would be enough references e.g India. John Cummings (talk) 09:19, 3 September 2021 (UTC)
- I ask in part as you are posting on some country talkpages, but not all. Variations in subsections between country articles are expected given different due weight the topic will have within each country's economy. The India article is particularly long as it is, although I note the main Science and technology in India is quite underdeveloped. CMD (talk) 09:45, 3 September 2021 (UTC)
- Hi Chipmunkdavis I'm slowly working through all the country pages and haven't finished yet so haven't posted all the messages. My guess is that it hasn't been added due to weighting but just because no one has got round to it. I'm just offering people a suggestion to look into, I might post a central list of all the articles without them on a wiki project somewhere. I think there will be lots of references for the sections, including some already written open license text in publications like the UNESCO Science Report. John Cummings (talk) 10:38, 3 September 2021 (UTC)
- The guess may be correct for some articles, but when it's also looking at good and featured articles it's probably a reasonable assumption the editors wrote with some reflection to the overall impression of sources. A better pointer for the no one has got round to it would be for actual articles, for which there is indeed a huge gap as indicated in the template below. CMD (talk) 14:06, 3 September 2021 (UTC)
- Chipmunkdavis Thanks very much for this table, very useful indeed. I think both a section and a new article would both be useful. I'll see if I can encourage any people to help. John Cummings (talk) 16:13, 3 September 2021 (UTC)
- The guess may be correct for some articles, but when it's also looking at good and featured articles it's probably a reasonable assumption the editors wrote with some reflection to the overall impression of sources. A better pointer for the no one has got round to it would be for actual articles, for which there is indeed a huge gap as indicated in the template below. CMD (talk) 14:06, 3 September 2021 (UTC)
- Hi Chipmunkdavis I'm slowly working through all the country pages and haven't finished yet so haven't posted all the messages. My guess is that it hasn't been added due to weighting but just because no one has got round to it. I'm just offering people a suggestion to look into, I might post a central list of all the articles without them on a wiki project somewhere. I think there will be lots of references for the sections, including some already written open license text in publications like the UNESCO Science Report. John Cummings (talk) 10:38, 3 September 2021 (UTC)
- I ask in part as you are posting on some country talkpages, but not all. Variations in subsections between country articles are expected given different due weight the topic will have within each country's economy. The India article is particularly long as it is, although I note the main Science and technology in India is quite underdeveloped. CMD (talk) 09:45, 3 September 2021 (UTC)
This Month in GLAM: August 2021
|
October 2021 at Women in Red
Women in Red | October 2021, Volume 7, Issue 10, Numbers 184, 188, 209, 210, 211
Special event:
|
--Rosiestep (talk) 01:35, 29 September 2021 (UTC) via MassMessaging
This Month in GLAM: September 2021
|
November 2021 at Women in Red
Women in Red | November 2021, Volume 7, Issue 11, Numbers 184, 188, 210, 212, 213
|
--Innisfree987 (talk) 21:30, 24 October 2021 (UTC) via MassMessaging
This Month in GLAM: October 2021
|