Open main menu



Original Barnstar.png The Original Barnstar
This barnstar is awarded to everyone who - whatever their opinion - contributed to the discussion about Wikipedia and SOPA. Thank you for being a part of the discussion. Presented by the Wikimedia Foundation, January 21, 2012.

A barnstar for you!Edit

Vitruvian Barnstar Hires.png The Technical Barnstar
Congratulations, Tom.Reding, you've recently made your 1,000th edit to articles on English Wikipedia!

Thank you for all the great DAB work you've been doing recently, and for all your contributions to the encyclopedia. Keep it up! :) Maryana (WMF) (talk) 23:17, 16 April 2012 (UTC)

A barnstar for you!Edit

Working Man's Barnstar Hires.png Working Wikipedian's Barnstar
For your incredible WikiGnoming over the past few months. I am in awe. A2soup (talk) 23:25, 22 February 2015 (UTC)

Thank you! :)   ~ Tom.Reding & his 200-some-odd lines of regex (talkcontribsdgaf)  02:03, 23 February 2015 (UTC)

A barnstar for you!Edit

Tireless Contributor Barnstar Hires.gif The Tireless Contributor Barnstar
You have nearly single-handedly eliminated the minor planet notability problem, which had stood for seven years before you decided to tackle it, because nobody wanted to do the massive amount of work required. If this doesn't deserve a barnstar, I'm not sure what does. StringTheory11 (t • c) 17:49, 3 May 2015 (UTC)

A barnstar for you!Edit

Tireless Contributor Barnstar Hires.gif The Tireless Contributor Barnstar
For dealing with the minor planet clusterfuck as efficiently as you have! Headbomb {talk / contribs / physics / books} 04:13, 1 February 2016 (UTC)

There's nothing quite like cleaning up a good, 'ol-fashioned clusterfuck. Thanks for pointing me in the right direction :)   ~ Tom.Reding (talkdgaf)  04:17, 1 February 2016 (UTC)

BTW, this isn't just for the recent banner tagging, but for the shear amount of effort involved in cleaning up the mess for the past year or so. Possibly longer. Headbomb {talk / contribs / physics / books} 00:27, 2 February 2016 (UTC)

A barnstar for you!Edit

Vitruvian Barnstar Hires.png The Technical Barnstar
thanks for helping me with the search codes! Jennica / talk 20:10, 9 April 2017 (UTC)

Thank you for being one of Wikipedia's top medical contributors!Edit

please help translate this message into your local language via meta
Wiki Project Med Foundation logo.svg The 2016 Cure Award
In 2016 you were one of the top ~200 medical editors across any language of Wikipedia. Thank you from Wiki Project Med Foundation for helping bring free, complete, accurate, up-to-date health information to the public. We really appreciate you and the vital work you do! Wiki Project Med Foundation is a user group whose mission is to improve our health content. Consider joining here, there are no associated costs.

Thanks again :-) -- Doc James along with the rest of the team at Wiki Project Med Foundation 18:08, 3 May 2017 (UTC)

Barnstar awardedEdit

Redirect Barnstar Hires.png The Redirect Barnstar
Your diligent work in the area of redirect categorization and improvement is duly recognized and greatly appreciated. You are truly one of the unsung heroes of Wikipedia, and we hope you continue to enjoy your improvement of this awesome encyclopedia! On behalf of your fellow editors—and the millions of readers of our work—I sincerely thank you for your contributions that have improved the encyclopedia for everyone. Senator2029 “Talk” 08:33, 8 June 2017 (UTC)

A barnstar for you!Edit

Editors Barnstar Hires.png The Editor's Barnstar
Thank you very much for helping and editing the Joe Campos Torres article, your assistance put a BIG SMILE on my face!
Vwanweb (talk) 16:53, 31 December 2017 (UTC)
My pleasure; that was a satisfying edit :)   ~ Tom.Reding (talkdgaf)  16:56, 31 December 2017 (UTC)

Another barnstar for you!Edit

Bio barnstar2.png The Bio-star
In recognition of your recent contributions to the Life Sciences on en:Wikipedia, analyzing and helping to improve the quality of articles, based on scientific data. Your efforts demonstrate tremendous potential into enhancing the scientific accuracy of The Free Encyclopedia.

I am tremendously appreciative of your efforts, especially on the preliminary Taxonomic analysis.

~ Mellis (talk) 23:48, 31 December 2017 (UTC)

Editor of the WeekEdit

Editor of the week barnstar.svg Editor of the Week
Your ongoing efforts to improve the encyclopedia have not gone unnoticed: You have been selected as Editor of the Week in recognition of your constant positive demeanor. Thank you for the great contributions! (courtesy of the Wikipedia Editor Retention Project)

User:Buster7 submitted the following nomination for Editor of the Week:

I am always on the lookout for potential Editor of the Week candidates, for editors that fly under the radar, whose efforts are unknown except to a few. They don't make a splash, they don't emit a 'notice me' kind of behavior; they just quietly tackle the hard jobs. Tom.Reding is that kind of editor. A while back he "thanked me" via the Thanks Notification for awarding the Editor of the Week to a fellow editor. So, I looked into him and found an editor that does many important WP improving things. He is a working editor (535,847 live and undeleted edits) that fixes, populates, corrects, standardizes, cleans, parses, tries, peruses, adds, formats, listens, expands, updates, corrects, creates, assigns and (my favorite) "consistifies". A member of Wikiproject Astronomy and Wikiproject Tree of Life, he has recently been granted the page mover user right. He provides a human eye and understanding to "bot" problems that arise. In the area of redirect categorization he willingly puts his head together with other editors to work toward solution. A deserving recipient.

You can copy the following text to your user page to display a user box proclaiming your selection as Editor of the Week:

Project editor retention.svg
Editor of the week.svg
Wiki Project Med Foundation logo.svg
Project Med Foundation
Editor of the Week
for the week beginning January 28, 2018
Quietly tackles the hard jobs. 536000 live and undeleted edits. A page mover. Understands "bot" problems. A deserving recipient.
Recognized for
work in redirect categorization
Notable work(s)
Wikiproject Astronomy and Wikiproject Tree of Life
Submit a nomination

Thanks again for your efforts! ―Buster7  20:38, 28 January 2018 (UTC)

! XD <3 TY!   ~ Tom.Reding (talkdgaf)  20:56, 28 January 2018 (UTC)

The AWB BarnsterEdit

AWB Abfallwirtschaftsbetriebe Köln logo.svg The AWB Barnster
Fixing many depreciated syntax on infobox images. Iggy (Swan) 22:14, 12 February 2018 (UTC)

A barnstar for you!Edit

Olympic rings without rims.svg Olympic Barnstar
For your excellent work in getting the bot up and running to tag biographies for the Olympic Wiki Project. Thank you! Lugnuts Fire Walk with Me 10:00, 17 March 2018 (UTC)
Thanks, my pleasure :)   ~ Tom.Reding (talkdgaf)  12:04, 17 March 2018 (UTC)

Thank you for being one of Wikipedia's top medical contributors!Edit

please help translate this message into your local language via meta
Wiki Project Med Foundation logo.svg The 2016 Cure Award
In 2016 you were one of the top ~200 medical editors across any language of Wikipedia. Thank you from Wiki Project Med Foundation for helping bring free, complete, accurate, up-to-date health information to the public. We really appreciate you and the vital work you do! Wiki Project Med Foundation is a user group whose mission is to improve our health content. Consider joining here, there are no associated costs.

Thanks again :-) -- Doc James along with the rest of the team at Wiki Project Med Foundation 18:08, 3 May 2017 (UTC)

Congrats on joining the million edit club!Edit

Tireless Contributor Barnstar Hires.gif The Tireless Contributor Barnstar
Congratulations on being the seventh editor on the English Wikipedia to do over a million non-bot edits! ϢereSpielChequers 12:14, 17 May 2018 (UTC)
Thanks! I never thought I'd do so much, but I just keep finding things to fix/improve :)   ~ Tom.Reding (talkdgaf)  13:12, 17 May 2018 (UTC)

A barnstar for you!Edit

Space-Barnstar-1j.png The Space Barnstar
For your astronomic contributions! For taking up so much space!

With apologies for the puns, Ira Leviton (talk) 20:17, 8 June 2018 (UTC)

A Dobos torte for you!Edit

Dobos cake (Gerbeaud Confectionery Budapest Hungary).jpg 7&6=thirteen () has given you a Dobos torte to enjoy! Seven layers of fun because you deserve it.

To give a Dobos torte and spread the WikiLove, just place {{subst:Dobos Torte}} on someone else's talkpage, whether it be someone you have had disagreements with in the past or a good friend.

7&6=thirteen () 16:09, 15 October 2018 (UTC)

You have used your gifts well, PadawanEdit

BFRB.Ribbbon.jpg Bringing order out of chaos
OCD. It's not an affliction. It is a gift, and is part of the job description for being a Wikipedia editor. See WP:wikiholic.

"Fear is the path to the dark side. Fear leads to anger. Anger leads to hate. Hate leads to suffering."

Takes one to know one. Best regards. 7&6=thirteen () 16:36, 15 October 2018 (UTC)

7&6=thirteen, thank you :) And I really should take the test, but I can't be bothered while editing...perhaps that is or should be one of the questions??   ~ Tom.Reding (talkdgaf)  16:49, 15 October 2018 (UTC)

Peace Dove ChristmasEdit

Peace is a state of balance and understanding in yourself and between others, where respect is gained by the acceptance of differences, tolerance persists, conflicts are resolved through dialog, peoples rights are respected and their voices are heard, and everyone is at their highest point of serenity without social tension.
Happy Holidays. ―Buster7  23:09, 18 December 2018 (UTC)


Template {{MPES}} has been kept for historical reasons after a TfD in November 2016. Since it is not being used at all, and the target site is dead, I can't see any purpose to keep that template based on WP:HISTORICAL. What you think? Rfassbind – talk 01:54, 22 December 2018 (UTC)

@Rfassbind: doesn't matter to me.   ~ Tom.Reding (talkdgaf)  03:04, 22 December 2018 (UTC)
Not anymore, that is. Rfassbind – talk 04:26, 22 December 2018 (UTC)

Another bot requestEdit

Continuing efforts to clean up taxonomy templates and thus simplify the coding of the automated taxobox system – which currently tries to cope with considerable variation (and indeed errors) in the input, making the code obscure in parts – I created Category:Taxonomy templates using capitalized rank parameters, expecting there to be a few templates to clean up. As of now there are 888. Sigh... Would you be able to run a bot to fix them? The first nonblank after |rank=, with variable amounts of white space, should be a lower-case letter; thus Template:Taxonomy/Acanthogobius should have |rank=genus. Thanks in anticipation. Peter coxhead (talk) 09:34, 6 January 2019 (UTC)

@Peter coxhead: sure thing. 945 now... I'll null edit the taxonomy templates first to hasten population.   ~ Tom.Reding (talkdgaf)  15:41, 6 January 2019 (UTC)
@Peter coxhead: original batch done, with the cat currently emptied. Will continue to null edit and monitor until finished.   ~ Tom.Reding (talkdgaf)  18:45, 6 January 2019 (UTC)
Many thanks! As of now the category is empty and added to my monitoring list. Peter coxhead (talk) 06:53, 7 January 2019 (UTC)
Sigh... I see that a few hundred more have appeared in Category:Taxonomy templates using capitalized rank parameters. Can you work your magic again, please? Peter coxhead (talk) 08:03, 8 January 2019 (UTC)
On it - all taxonomy templates should be refreshed in about 3 days at the rate I'm going.   ~ Tom.Reding (talkdgaf)  14:26, 8 January 2019 (UTC)
  Done.   ~ Tom.Reding (talkdgaf)  20:00, 9 January 2019 (UTC)


Might as well, use the section for a similar request. There are a lot of {{taxobox}}es with accidental positional parameters (i.e. missing the =). In particular there seem to be 1771 with |infraordo=[[Heteroneura]], as revealed by the following search:

hastemplate:"taxobox" insource:/infraordo[ ]+\[\[/

Is this something you can fix easily with a bot?   Jts1882 | talk  10:27, 10 January 2019 (UTC)

@Jts1882: most definitely. Will also apply this to other ranks.   ~ Tom.Reding (talkdgaf)  13:39, 10 January 2019 (UTC)
  Done. I see that most of these errors went unnoticed since 2010! I also searched through all transclusions of {{Taxobox}} to find only 35 similar issues for (I think) all ranks via (\|\s*(?:unranked_)?(?:sub|super|infra)?(?:regnum|divisio|phylum|classis|ordo|zoodivisio|zoosectio|familia|genus|sectio|species))(\s*)(\[\[). Let me know if I missed any possible ranks.
I've used to notice, though rarely, that a sub/super/infra rank is listed at Wikidata for a species, but is missing from the infobox. I didn't expect this to be the reason...   ~ Tom.Reding (talkdgaf)  02:53, 11 January 2019 (UTC)
@Jts1882: I relaxed & expanded the end of the regex to find more errors, and removed some false-positives in the beginning:
(?<!\{\{(?:short description|about[^\{\}]*|redirect[^\{\}]*|small|for|main|cquote|prose|technical|[\w\s]+ needed|medref|no \w+|[\w\s]*sources?|non\-?free|u?n?ref[\w\s]*|more \w+|original \w+|essay\-?like|how\-?to|manual|cleanup|create \w+|underlinked|unsourced|globalize[\w/]*|anchor|update|research paper|misleading|contains [\w\s]+|sfnp)\s*)(?<!(?:bgcolor\="#\w+"|colspan=\d+|\|right|\|thumb|\|left|\|upright)\s*)(?<!\[\[[^\=\{\[\|\]\}]+)(\|\s*(?:unranked_)?(?:sub|super|infra)?(?:regnum|divisio|phylum|classis|ordo|zoodivisio|zoosectio|familia|genus|sectio|species)n?)(?!_ranks\s*=|_authority\s*=)(\s+(?!authority\s*\=|ranks\s*\=)[^\s\=]|\s*[ˈ׳᾿‘’′Ꞌꞌ`;:'"†\*\{\[\(\|\?_-])
then reran it on transclusions of {{Taxobox}}, and also on {{Speciesbox}} & {{Automatic taxobox}} via AWB.
The only results were for {{Taxobox}} - 17 additional issues, of which I fixed 14. The remaining 3 are Geometra, Georissus, Helophorus.   ~ Tom.Reding (talkdgaf)  15:38, 4 February 2019 (UTC)
Fixed the remaining three (missing = after subdivision).   Jts1882 | talk  15:56, 4 February 2019 (UTC)

Adding QIDsEdit

Hi Tom, How did you do this edit using AWB? Did you have to manually capture the QID in the Edit box? If yes, that is tedious, you should use the CSVLoader plugin. Ganeshk (talk) 03:05, 7 January 2019 (UTC)

@Ganeshk: I plug the article title into the WP API, scrape the output for wikibase_item":"([^"]+), where $1 is the QID, then feed that back into the article text after processing/safety checks/etc.   ~ Tom.Reding (talkdgaf)  04:45, 7 January 2019 (UTC)

MusicBrainz Authority controlEdit

Hey TR: saw you created 7 new cats for the abbreviated MusicBrainz authority control codes (MBAREA, etc); Module:Authority control already populates spelled-out categories whenever there is a MusicBrainz authority control entry. Aren't the new cats you created redundant to the previously existing ones, and therefore shouldn't they be deleted? UnitedStatesian (talk) 21:58, 22 January 2019 (UTC)

@UnitedStatesian: already taken care of.   ~ Tom.Reding (talkdgaf)  22:40, 22 January 2019 (UTC)

Thank you for being one of Wikipedia's top medical contributors!Edit

  The 2018 Cure Award
In 2018 you were one of the top ~250 medical editors across any language of Wikipedia. Thank you from Wiki Project Med Foundation for helping bring free, complete, accurate, up-to-date health information to the public. We really appreciate you and the vital work you do! Wiki Project Med Foundation is a user group whose mission is to improve our health content. Consider joining here, there are no associated costs.

Thanks again :-) -- Doc James along with the rest of the team at Wiki Project Med Foundation 17:41, 28 January 2019 (UTC)


I logged on this morning, expecting to see a big increase in the number of articles in Category:Automatic taxoboxes relying on page title from last night, but it was empty! I know that several editors were working away, but I think mostly it was due to you. Thanks again! Peter coxhead (talk) 09:04, 5 February 2019 (UTC)

I did a bunch :) and avoided pages with a disambiguation in their title (i.e. "(plant)"), which were done more carefully by others. I decided to refresh all of the {{Automatic taxobox}} pages to populate the category, instead of just letting it happen slowly & randomly, so all current (as of yesterday) transclusions have been updated with the most recent code. It actually coincided with my search for floating parameters (i.e. params not followed by a =), so I had all the necessary machinery already up and running.   ~ Tom.Reding (talkdgaf)  13:48, 5 February 2019 (UTC)

Typo rule for AmericaEdit

Hi Tom! In these edits to WP:AWB/T to combine two "America" rules, the "America" rule now also matches the correct spelling of "America". Could you please fix this? Thanks! GoingBatty (talk) 01:59, 9 February 2019 (UTC)

@GoingBatty: thanks for the reminder - I need to check the others I merged and the capitalization ones to see if they require 'avoid self' regex. What are your thoughts on WT:AWB/T#Overly specific "Capitalisation" section: rename or upmerge?   ~ Tom.Reding (talkdgaf)  13:36, 9 February 2019 (UTC)
Thanks for checking! I responded to the "Capitalisation" question on WP:AWB/T in an attempt to continue conversations on the same talk page that they started. Thanks! GoingBatty (talk) 15:41, 9 February 2019 (UTC)


On Productive Interests in your Userboxes, you have This user plays ultimate twice. I could have edited it, but I wanted to seek your permission before doing anything to your user page. Mstrojny (talk) 13:40, 9 February 2019 (UTC)

@Mstrojny: hah, thanks! I haven't read through those in quite some time.   ~ Tom.Reding (talkdgaf)  14:05, 9 February 2019 (UTC)


An editor has raised a concern that Tom.Bot is making dozens of seemingly-pointless edits every day. Is there a reason that it's been updating what appears to be a glorified clock every hour since 1 Feb? Primefac (talk) 13:36, 10 February 2019 (UTC)

@Primefac: I'm using it to monitor an offsite process which ends Tuesday but I can kill the bot now if it's a problem.   ~ Tom.Reding (talkdgaf)  13:52, 10 February 2019 (UTC)
That's fine. Technically speaking bots can make edits in their own user space without a BRFA or other consensus. Primefac (talk) 14:13, 10 February 2019 (UTC)

Another requestEdit

Tom, could you run a null edit on all the entries in Category:Taxonomy templates with different name and link text – no fixing, just a null edit to get it up-to-date with the latest module code? (I initially used a weak definition of "matching" for template name and link text, partly to see what the issues were. There's a stronger definition in place now, so many of the entries will disappear with time. It would be nice if they went faster!) Thanks. Peter coxhead (talk) 12:16, 18 February 2019 (UTC)

  Nullifying   ~ Tom.Reding (talkdgaf)  14:02, 18 February 2019 (UTC)
  Done   ~ Tom.Reding (talkdgaf)  14:28, 18 February 2019 (UTC)
Thanks as ever! Peter coxhead (talk) 16:26, 18 February 2019 (UTC)

Creating a Club PageEdit

Hi Tom, I've just signed up to Wikipedia and was wondering about the process of creating a club page for a team playing in the Aylesbury District League Division One. Since the page for Tring Athletic was created by you (and Stoke Mandeville FC are playing at the Grassroots Stadium there in the Marsworth Senior Cup Final on Monday 25th March 2019) i would like to use a similar format, and any help would be greatly appreciated.

Ben BOLSMFC (talk) 22:43, 14 March 2019 (UTC)

@BOLSMFC: I'm not sure why you think I created Tring Athletic F.C. I only made the last edit to that page. Regardless, you can use that page as an example, and if you need more help, please ask at WT:FOOTBALL.   ~ Tom.Reding (talkdgaf)  23:29, 14 March 2019 (UTC)


I found this red link in your userboxes: User:EliminatorJR/Userboxes/Curry Addict in the Opinions/Preferences/Personal section. Not sure whether you want to remove it more not. Mstrojny (talk) 19:42, 17 March 2019 (UTC)

Bad categorization editsEdit

A new user, PigeonJesus, has been adding parent categories to hundreds of articles which already have the child category, as in this edit. Not malicious, but just not understanding the system. See their contributions. I'm wondering if you have any magic way of fixing all these? Peter coxhead (talk) 15:29, 30 March 2019 (UTC)

@Peter coxhead: will take care of it later today.   ~ Tom.Reding (talkdgaf)  15:41, 30 March 2019 (UTC)
  Done, ~150 unnecessary parent 'described in' cats found & removed.   ~ Tom.Reding (talkdgaf)  21:49, 30 March 2019 (UTC)
Great work, as always! Thanks. Peter coxhead (talk) 07:49, 31 March 2019 (UTC)

Advice and assistance soughtEdit

My long term goal is to unify the coding of the automated taxobox templates into one main module: there's a lot of overlap in the template code; it's inefficient and hard to understand since values derived from the parameters have to be repeatedly worked out because of the absence of variables; there are subtle differences in the behaviour of the templates that are confusing to editors that use them.

One example of the last is whether and how the automated taxobox templates automatically italicize the page title. The main templates, {{Speciesbox}} and {{Automatic taxobox}}, do, but others, like {{Infraspeciesbox}}, don't.

I have a version of {{Infraspeciesbox}} at {{Infraspeciesbox/sandbox}} that correctly italicizes page titles in all the tests I've done. However, there's a problem in changing over to use it. Existing pages, e.g. Arctostaphylos manzanita subsp. elegans, use a combination of {{DISPLAYTITLE:...}} and {{Infraspeciesbox}}. However, if I just updated {{Infraspeciesbox}} to the code in {{Infraspeciesbox/sandbox}}, {{DISPLAYTITLE:...}} would then be present twice and this is flagged as an error. (Try changing {{Infraspeciesbox}} to {{Infraspeciesbox/sandbox}} in this page and previewing.) So one possibility is:

  1. run through the 350-odd pages that have {{DISPLAYTITLE:...}} and {{Infraspeciesbox}} and replace both by {{Infraspeciesbox/sandbox}}
  2. when this is done, update {{Infraspeciesbox}} to the sandbox version
  3. then run through the pages again replacing {{Infraspeciesbox/sandbox}} by {{Infraspeciesbox}}

However, I know from when I did something like this before that there are objections to pages in mainspace being left linked to sandbox versions of templates, so the changes need to be made more quickly than I can edit them manually.

Can you think of another way to manage this? If not, can you help with (1) and (2)? Peter coxhead (talk) 09:38, 9 April 2019 (UTC)

@Peter coxhead: sure, let's coordinate. I'll be available for the next 1.5 hrs and after 4pm ET to remove {{DISPLAYTITLE}} after you update {{Infraspeciesbox}}. Ping me in that edit summary or here and I'll take care of the rest. That's the best order to do it when AWB is available, since removing {{DISPLAYTITLE}} first has a 100% chance of changing the page display immediately, whereas updating {{Infraspeciesbox}} first has a < 100% chance of changing the display immediately. Without AWB, I'd say linking to the sandbox temporarily would be preferable over anything that changed the display (let naysayers neigh).   ~ Tom.Reding (talkdgaf)  11:53, 9 April 2019 (UTC)
I recently did something similar (Template_talk:Cite_wikisource#new sandbox version that abandons citation/core). I created {{cite wikisource/interim}} precisely to preclude any whining that might have arisen from using ~/sandbox. In the edit summary, I include a link to the talk page discussion where I described what it was that I was doing. No complaints.
Trappist the monk (talk) 12:09, 9 April 2019 (UTC)
@Trappist the monk: yes, I guess that's another way to do it – create {{Infraspeciesbox/interim}} rather than link to the sandbox; I've certainly had whining when I left links to ~/sandbox even for a short time. However, I guess if Tom can do a run quickly after I update {{Infraspeciesbox}}, so that the errors caused by having two occurrences of {{DISPLAYTITLE}} disappear quickly, then it should be ok to do it as he suggests. Peter coxhead (talk) 16:08, 9 April 2019 (UTC)
@Tom.Reding: I should be able to ping you again about 4:15pm ET (9:15pm here in GMT summer time if I have it right), so if we're both active let's do what you suggest: I'll update {{Infraspeciesbox}} and you then remove {{DISPLAYTITLE:...}} from all pages that transclude {{Infraspeciesbox}}. Peter coxhead (talk) 16:08, 9 April 2019 (UTC)
@Tom.Reding: let me know if you are online. Peter coxhead (talk) 20:15, 9 April 2019 (UTC)
@Peter coxhead: engage  ~ Tom.Reding (talkdgaf)  20:18, 9 April 2019 (UTC)
@Tom.Reding: {{Infraspeciesbox}} updated. Peter coxhead (talk) 20:21, 9 April 2019 (UTC)
@Tom.Reding: so this search says that they have all been updated; many thanks! (There's just one, Methicillin-resistant Staphylococcus aureus, that does actually need {{DISPLAYTITLE:...}}.) Peter coxhead (talk) 20:52, 9 April 2019 (UTC)
Glad to help!   ~ Tom.Reding (talkdgaf)  21:01, 9 April 2019 (UTC)


Please can you modify Template:Airntd so that it correctly populates the moved categories. Currently the non-empty redirect folder is filling up. Timrollpickering (Talk) 00:56, 8 May 2019 (UTC)

  On it   ~ Tom.Reding (talkdgaf)  01:03, 8 May 2019 (UTC)
  Done - blue links appearing (see Category:1950s British agricultural aircraft). I'll have a go at the see-also list of related templates too.   ~ Tom.Reding (talkdgaf)  02:03, 8 May 2019 (UTC)
Thanks! Timrollpickering (Talk) 10:57, 8 May 2019 (UTC)

Aircraft CatsEdit

Not a big fan of mass cat moves but I appreciate your hard work sorting them out. Just one point most of them now say things like "1920s British civil aircraft" or "1920s Swiss military aircraft" but we have "1940s United States civil aircraft" rather than "1940s American civil aircraft", any reason why the US is an exception? Just to note if you need any help with specific aircraft problems then please ask at either the aircraft project or my talk page. MilborneOne (talk) 07:11, 11 May 2019 (UTC)

Another anomaly if you look under Category:Aircraft manufactured in Taiwan some of the sub-cats use Republic of China rather than Taiwanese. MilborneOne (talk) 08:10, 11 May 2019 (UTC)
@MilborneOne: US/American: for this case I agree, but a larger WP:AIRCRAFT survey is required - if you look at Category:Aircraft by country, "United States" is the convention, but for Civil aircraft, "American" should be used. My guess is that this there are multiple overlapping (sub)hierarchies using different standards.
Taiwan is officially the Republic of China, but Republic of China is also historically ambiguous, so I'd naively prefer Taiwan to disambiguate.
I don't know why either of these issues exist, though.   ~ Tom.Reding (talkdgaf)  12:35, 11 May 2019 (UTC)
Politics and avoiding silly arguments? Some people object to using American for the United States and here you could argue it is ambiguous (compared to European aircraft). And anything to do with the naming of Taiwan can be contentious as China considers the Taiwanese to be Chinese.   Jts1882 | talk  14:47, 11 May 2019 (UTC)
Yep, no interest in opening that can of worms.   ~ Tom.Reding (talkdgaf)  14:52, 11 May 2019 (UTC)
Thanks for the comment, I will raise the US/American at project, American is not ambiguous in English, as for ROC/Taiwan wikipedia main article on the country is Taiwan so we should follow that. MilborneOne (talk) 15:20, 11 May 2019 (UTC)

Thanks for helping on AWB cleanupEdit

Hi Tom,

I greatly appreciate your dedicated work on AWB cleanup and would love to hear from you about my latest project: User:Uziel302/Typos, where I upload lists of high probability typos and with a script I wrote I correct the real typos in one click. No need to set up AWB setting for each replacement, and if the replacement is inaccurate, you can put alternative replacement in a simple popup.

Any feedback is much appreciated.

Thanks, Uziel302 (talk) 17:48, 2 June 2019 (UTC)

Regarding your recent changes in Module:ConvertNumericEdit

Hey Tom,

Regarding your recent changes in Module:ConvertNumeric, there is no need to create duplicated tables that fork the same data.

I've put up a mock up of code that explains how I would have done it. There are two options that I can see, not sure which is more efficient, so would leave that up to you. The code is located at Module:Sandbox/Gonnym/sometest2. It currently looks for the hard-coded value of "nineteen" and returns the number (the original key).

  • {{#invoke:Sandbox/Gonnym/sometest2|getDataOption1}} -> 19
  • {{#invoke:Sandbox/Gonnym/sometest2|getDataOption2}} -> 19

Hope this helps. --Gonnym (talk) 17:10, 13 June 2019 (UTC)

@Gonnym: yes, I thought about doing something like that, but decided against it for 4 reasons: 1) hard-coding is faster, 2) more transparent, 3) the new tables (except eng_lt20) are not exact inverses of each other, and 4) there's no threat of forking, unless we collectively decide to stop using base 10.   ~ Tom.Reding (talkdgaf)  17:20, 13 June 2019 (UTC)
I now see that the other 2 templates are different. There really is no need to that, as hardcoding should never be the option used, especially in this case where you are essentially duplicating the same code. I'm also not sure a longer code base equals more transparent code. Yes, you've might have made this part more transparent, but the entire code has become unnecessarily longer and more confusing because of the dups which can create confusion. I've added another example which is a full set of the code for up to 99, which includes a setup for higher values. It does it easily with the current tables and very few extra line. A few examples:
  • {{#invoke:Sandbox/Gonnym/sometest2|getDataOption3|sixth}} -> 6
  • {{#invoke:Sandbox/Gonnym/sometest2|getDataOption3|ninety ninth}} -> 99
  • {{#invoke:Sandbox/Gonnym/sometest2|getDataOption3|ninetieth}} -> 90
--Gonnym (talk) 19:07, 13 June 2019 (UTC)
@Gonnym: why should hardcoding never be used? Doing as you suggest is needless overhead. There's no code being duplicated, but 1 table inverted, and 2 new tables which share only words with another table but not numbers. If others have a problem with the length of table definitions (~200 total lines before, and ~230 now), then they can be moved to a /conf sub-module, or similar.   ~ Tom.Reding (talkdgaf)  23:00, 13 June 2019 (UTC)
I'm not going to check the links you've posted as you've not really added line numbers to a specific point. I'm also not sure if you are serious or not, but any average coder knows why hardcoding is bad. Yes, when creating constants and with short pieces of code, hardcoding is ok, but this isn't it. Also, saying 2 of the tables are not hardcoded is just false, as I've literally showed you that I'm reusing them. Also, the overhead from my code is very minimal, compared to confusion of 3 duplicate tables which make the actual reading and debugging of the module code harder (the code line difference is 26 vs 21 + your 3 tables). Anyways, not going to argue this with you anymore, if you can't see why what you are doing is wrong and feel like fighting for it, then go ahead. --Gonnym (talk) 08:33, 14 June 2019 (UTC)
I'm not sure why you'd think I'm joking. Do you mean "sarcastic"? Regardless, neither are true.
What statement of mine is "saying 2 of the tables are not hardcoded is just false" referring to? Did you mistake the word "hardcoded" for "duplicated"? If so, then our definitions of the word "duplicated"...are different.
Re: "make[s] the actual reading and debugging of the module code harder": meh, but a /conf sub-module, or similar, is still the solution, especially if the dictionaries grow as functionality expands.   ~ Tom.Reding (talkdgaf)  12:22, 14 June 2019 (UTC)
Return to the user page of "Tom.Reding".