User talk:Frietjes

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Barnstar for you![edit]

Nomination for deletion of Template:Location map Kingdom of Hungary[edit]

From my talk page back in september.

Bugger bugger bugger, I saw a map in the transport museum in budapest we went the other week and it had the lat and long but in pretty much a mercator projection. My missus was more interested with the toy trains so I didn't get a chance to take the measures off it. If it's wrong (as it is) it should be deleted but I am still trying to get the measures right. The thing is it's specifically Kingdom of Hungary, but the more atlases (atli? :) I look at the more different lats and longs I get. And anything one does on Hungarian articles is rather contentious, so it is probably really better deleted. Because people whose great grandfathers were part of the Kingdom of Hungary will say no that's Croatia or Slovakia or Slovenia or Yugoslavia or Jugoslavia or The People's Republic of East Kebab. Since Hungarian politics is very contentious and goes on racist grounds in far more than would be allowed in where I come from, this is better off deleted. (Hint: say Treaty of Trianon to a Hungarian and await results.) Si Trew (talk) 09:36, 15 December 2014 (UTC)

Hungary ethic groups.jpg
I never did get round to this. I took the coords off of file at right, which is very high quality but seems to have an odd idea of where 0 longitude is (it suggests it is east of Paris, but that didn't seem to work). As you suggested, I tried to take well-known points at the edges of the map: Fiume, for example, at south-west. I took very good readings after printing out this map at A0 size and using ruler and compass, my trig is quite good, but I could never get it to fit. Si Trew (talk) 06:02, 19 January 2015 (UTC)
.Oh, Template:Location_map_Kingdom_of_Hungary/test might help you. You see, Fiume's in the right place but Budapest is a bit too far left and the rest are well out. Si Trew (talk) 06:09, 19 January 2015 (UTC)
That map uses the Paris meridian. It's not a Mercator projection, the lines of latitude aren't quite parallel. Maproom (talk) 20:09, 18 October 2016 (UTC)
Maproom, thanks for the tip. I have written code for generating coefficients for nonlinear projections if I know the functional form. but, the code requires at least as many reference points as there are coefficients. basically a nonlinear least-squares algorithm. the problem here is that other than the reference markings on the side of the map, it's tough to get reference points in the middle. Frietjes (talk) 21:18, 18 October 2016 (UTC)
Si Trew, should we just give up on Template:Location map Kingdom of Hungary and have it deleted? Frietjes (talk) 21:20, 18 October 2016 (UTC)
How many do you need in the middle? You get get a reference point near each corner by specifying where the nearest line of (Paris) longitude would cross the nearest line of latitude, and use towns like Szolnok (which Google Earth says is 47ยฐ10'N 20ยฐ11'E Greenwich) in the middle. Maproom (talk) 21:37, 18 October 2016 (UTC)
Maproom, now that I look at it again, I think we have enough with the two interior intersection points and the points along the edges. the original question was about the image in Template:Location map Kingdom of Hungary which is less clear. for File:Hungary-ethnic_groups.jpg, I think we can make a working location map. thank you again. Frietjes (talk) 21:42, 18 October 2016 (UTC)
Just a thought, maybe not very coherent at this time of night. Using an ethnographic map as a location map may, as Si Trew pointed out, be contentious. Will it help if instead I upload to Commons this map? It uses a Ferro meridian, which is no worse than Paris, and shows enough towns such as Szolnok for central reference points. Maproom (talk) 22:02, 18 October 2016 (UTC)
Maproom, that may help. let's see what Si Trew says. my main focus is turning map images into working location maps. I don't really have a strong feeling about the particular map image, so long as it is created with a well-defined projection. Frietjes (talk) 22:06, 18 October 2016 (UTC)
Just asking out of curiosity โ€“ how do you "turn a map image into a location map"? Do you warp it into the Mercator projection that the template requires? Or do you supply the template with a transform function? Maproom (talk) 07:24, 19 October 2016 (UTC)
Maproom, supply the transformation function. see, for example, module:Location map/data/Canada. if I know the functional form and a sufficient number of reference points, I can numerically solve for the coefficients. Frietjes (talk) 12:40, 19 October 2016 (UTC)
Thank you. It's reassuring to see that things are done in such a sensible and comprehensible way. Incidentally โ€“ if you ever find a map image at http://maproom.org/ that you could use in Wikipedia, please let me know and I'll put it on Commons. Maproom (talk) 09:46, 20 October 2016 (UTC)
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ Thanks for pinging me in on this. I know it was a long time ago. User:Maproom, yes I did guess it was the Paris Meridian all that time ago, but that didn't seem quite to fit either. Since then I took something and with Inkscape made a four-colour map (five if you include Lake Balaton as a fifth colour, blue, but could have been made a fourth colour as those that surround it are all in three other colours, it is just more pleasant to have it in blue but not mathematically necessary) and split out all the layers and borders and so on into separate layers on the SVG. I seem to recall I called it Template:Location Map Hungary2 or something โ€“ and I emphasise this is not the Kingdom of Hungary but the modern-day Hungary. All I had left to do was get the text labelling right. Searching for "a new look for an old map" was something roughly want some commenter said, may well have been User:Frietjes here but may not have been (a long time ago, just going from memory: and those exact words are what was printed on the front of the first H C Beck fold-up London Underground Diagram (often called "Map"; Beck himself never called it a map: I have good references for this from publications of the London Transport Museum in woodware) of 1933, so I am probably confusing those words with the same sentiment expressed. This is all such a long time ago, I give as hints for those who can search better than I.
On the plus side, by pure coincidence (these are not common around here in Budapest) my local pub has a nice 1898ish German (I think) map of Austria-Hungary; certainly pre-Treaty of Trianon. This is a five or six colour map and I am pretty sure it is in German but I am going from memory, I don't think it's in Hungarian. It would be about 40 by 25 inches (1,020 mm ร— 640 mm) and I daresay somehow I could get it scanned in, in one of the largescale printers in the town (who I happen to be also on good terms with, for various other reasons) or just take four A3 scans and stitch them with photoshop, assuming that my scanner doesn't distort too much. I am on good terms with the landlord as I have given him my British registration plates and various other British pub memorablia, it is that kind of pub, very much a "local", so I can ask to borrow the map (it's framed) or just go in on a quiet afternoon with a straightedge etc and try to get some measures off that. I think it is not the same as the image is here, though quite similar. As a start shall I get the maker etc, would that help at all, before I do the trig etc off it? I have a very good straightedge and fifty quids worth of setsquare adjustable protractor that I use for technical drawing on my A0 drawing board, it's about 25 inches (640 mm) long on its hypotenuese, which should be enough to measure angles and distances with some kinda veracity, I am not sure of the projection without looking again. Is it worth me taking a look and reporting back, probably will be about UTC+2 Friday tomorrow, else Monday? If you give me some nice trig points "in the middle" I will do my best to give you the readings off of them. These won't be 100% accuracy but will be within a second of arc or two through the distortion of the glass in the frame, I would imagine. Si Trew (talk) 16:05, 20 October 2016 (UTC)
I understand if it is WP:COPYVIO etc but if I check the maker first, it may very well turn out not to be because of the date and also various other "things that have happened since", could well be PD or fair use. I think I check the maker first, that is clear enough in top right corner but don't remember offhand. Would that be of any use, at least to confirm or deny if it's the same as this one? It reminded me of this one, when I first saw it, but I think it is different but of about the same time. Si Trew (talk) 16:40, 20 October 2016 (UTC)
File:Hungary_location_map.svg is the one I made the four-colour svg version of. It just needs tidying on the text labels layer if I remember right, I can't remember its name. The computer it was on is long gone. File:Hungary location map2.svg? Something like that. We have File:Hungary location map-2.jpg on Commons, but that's not it, cos it's not four-colour and has labels in Cyrillic, is a jpg not an svg. Perhaps unfortunately it got deleted as unused. I'd need to ask an admin to dredge from about 2009 onwards. Users working on it would have been mostly me and perhaps occasionally the missus, no longer editing at Wikipedia for many a year due to very harsh and undeserved comments after excellent translations of English articles about the Tudors into HU:WP (something she is an expert in, more than I know and I'm bloody English): Her username was/is User:Monkap. Si Trew (talk) 16:51, 20 October 2016 (UTC)
OK, the map you included wrongfooted me, this is exactly the map that is nominated (duh!) I was looking at the map you included on the right. No, don't give up on it, I'll try to fix it. It is nearly OK, all the coords and borders and counties etc are done on separate labels and I think it is much better than the boring brown map transcluded via {{Infobox Hungarian settlement}}. We just need to fix the edges and fix the text-label layer for some reason the font doesn't scale properly, I never did work out why, I shall try again. One reason to separate into different layers in a good GIS fashion is so that with a flick of the wrist one can turn off all the labels, turn off e.g. the county borders, make all the counties brown and just fill one particular county in a different colour (for Hungarian county articles) etc etc etc. I hand-edited the XML for the SVG to make it all nice, it's much much nicer than its predecessor for putting into a GIS etc because each county edge and county border and county name etc is labeleed in a very consistent fashion. The underlying SVG is File:Kingdom_of_Hungary_counties-2.svg. The polygons for the borders go actually in a kinda "cogwheel" order so that some going anticlockwise have their boundaries against the others going clockwise, rather in a toothed gearwheel manner, but that was just my pedantry; each county actually has its own borders as it did on the original, but on the original the borders for e.g Budapest to Pest County were a bit different from the borders of Pest County to Budapest, i.e. there was a gap or overlap, which now there is not in "my" version, they have all the coordinates bang on, as I did them all in hand in the XML not with some "snap it roughly to where it looks right" tool. All the bordering points have the same coords but the opposite directions (clockwise or widdershins) which helps the SVG polygon fill get it right without overlap or gap.
I think we should keep it and try to fix the labels and the "fix" coordinates for it. I suppose this was a labour of love but I think it does make it better than what is used in the infobox, it scales except for the text labels and the old one has errors in the border coords that leave gaps or overlaps, it just doesn't seem so at the scale used in infoboxes, as the rendering of the borders and the pushpins for the places are far larger than the errors, at even a large-screen resolution scale. If you blow it up and print it onto A0 (paper size) is is noticeable. Si Trew (talk) 17:05, 20 October 2016 (UTC)
The text labels are fine on my I think 1972 across screen in full view. When I made this I think I had a 1024x768 screen. It's when the labels are all squished they don't scale down properly, and get all scrunched up, I have never quite worked out why. There is a style that governs it, and I tried all sorts of things but none worked. Si Trew (talk) 21:04, 20 October 2016 (UTC)

Needs help[edit]

I like charts, mostly pie but also bar, and I really like shades of grey best - for normal purposes physically printing is just blackโ€‘andโ€‘white (and shades of grey). But this really allow only ten shades of grey. I would like just a few options to make up to 15-ish. I think to extend to texture would do the trick. And I see that these days CSS backgroundโ€‘image can be specified. These are lots of different things can be made, but for use here I would just what two textures, and just left top to right bottom or the other way, and narrow chevron or wider.

thick
left right
thin
It be easiest to make just one colour :

So Frietjes, I won't if you could help. I want to enhance module:chart (bar and pie). The module have been written by the user-with-a-Hebrew-name, (name is ืงื™ืคื•ื“ื ื—ืฉ), s/he doesn't seem to be online very often. It seems easy enough, but the module code is a closed book as far as I can see. Do you be able to help?

Just all one or two colours, with direction 'left' or 'right', and 'thin' or 'thick'. I know this OK with IE, I don't know any browser.

โ€“ Unbuttered parsnip (talk) mytime= Mon 08:02, wikitime= 00:02, 23 November 2015 (UTC)

User:Unbuttered Parsnip, yes, the author is probably kipod (see history and talk for module:chessboard). we have interacted before, extremely nice and helpful editor. I can take a look, but probably not for a week due to backlog. Frietjes (talk) 00:07, 23 November 2015 (UTC)
Frietjes (talk) I'll be going on holiday for three weeks, so I won't look into it until new year. I don't think anything difficult, just backgroundโ€‘image:repeating-linear-gradient by CSS. I just need it into module:Chart โ€“ Unbuttered parsnip (talk) mytime= Wed 05:09, wikitime= 21:09, 1 December 2015 (UTC)

Template:Photomontage[edit]

Dear user, I saw that you contributed in Template:Photomontage and Module:Photo montage, so I got a question: is it possible to make this Template automatically adjust the heigh of images by cropping the highest to the level of lowest one? I primaly use this template to make rich city-related collages. This template tries to render all images with equal width of all images in row. Sometimes aspect ratio of different images is not the same and as a Result I got an empty space around the lower image which makes the whole collage not so attractive as it could be.--Orange-kun (talk) 19:24, 11 March 2016 (UTC)

Huanchaco.jpg IndependenciaPlazaDeTrujillo.jpg Pont Triana.jpg

That's what I mean. --Orange-kun (talk) 19:33, 11 March 2016 (UTC)

Single wing[edit]

Single Wing Formation.svg

Hi there Frietjes (Freet-yes?), thanks for your recent edits on the All-Southern teams. Are you the code wizard able to help me fix the single wing diagrams? If so, I could feel good about nominating 1921 Centre, 1925 Alabama, 1926 Alabama, &c for GA. How can I move the row containing QB and RHB over one space to the right, like the picture at right?

Cheers. Cake (talk) 13:25, 25 October 2016 (UTC)

Cake, vertical-align:top usually helps keep things aligned within the row. are you asking for less of a vertical gap between the rows, or for the LHB to be further up? Frietjes (talk) 22:30, 25 October 2016 (UTC)
I'm asking for the "QB" and "RHB" cells - the second horizontal row, to move over a unit to the right. Like the picture. Never could figure it out. Cake (talk) 01:06, 26 October 2016 (UTC)
Cake, there are other ways to do it (for example, this hack), but the modified version above is probably the most robust. another option would be doing something like {{football squad on pitch}}. Frietjes (talk) 21:55, 27 October 2016 (UTC)
would it be useful to merge this with Template:CFB Team Depth Chart or make a new template for this formation? Frietjes (talk) 22:05, 27 October 2016 (UTC)
Well I didn't need to move the fullback at all, but you did manage to get the wingback (RHB) to work, which I found so difficult, and thank you. I didn't know there was a template either - cool. I've managed to sufficiently mimic the short punt (say here) and the T (say here) and the jump shift (say here). Other articles already had the I (say here). Cake (talk) 03:13, 28 October 2016 (UTC)
Note the similarity to the picture with my minor change. Well done. Cake (talk) 03:30, 28 October 2016 (UTC)
Long way to say yes, I think it would help to have these as options just like pro-set or I on that template. Need to try my hand at making a 7-2-2 defense. Also, apparently switching the spot of the QB with the LHB or TB was common, but as we have it above was even more common. Cake (talk)

Okay, so I am getting closer...[edit]

If you can tell me whether it should be space or no space in the body part names, that's one of two issues we can solve, then hopefully I am out of your hair, as I do not want to be a pest.

The second issue is maybe easier. If you look at Scouts Australia, the boy renders smaller than the girls do. Most countries will want to show both boys and girls side by side... can we fix the feet space and head space? I mean the background of each image.. they have not only different sizes but also "float" in different positions inside the template (my graphist friend explained usually defined as x points from left, y points from top)

She is not good with creating templates, but says that if I find someone to do the code writing, she can help create the images.--Kintetsubuffalo (talk) 14:28, 7 November 2016 (UTC)

Kintetsubuffalo, space or no space in the name are both okay. the point is that (1) they all have to use the exact same naming convention, and (2) they all have to be exactly the same size with the position within the image in the exact same place. otherwise, I will have to create a different positioning and file name for every single image, which would be total hell. Frietjes (talk) 14:31, 7 November 2016 (UTC)
She'll fix the sizing, no hell for you. :) I'll get the name requests in! Thanks!--Kintetsubuffalo (talk) 14:34, 7 November 2016 (UTC)
test image to be deleted once we have fixed the template coding problems
Okay, names are done, I chose no space (only 2 to fix, I think...) and my graphist friend LadyofHats made four basic test images for the template. changed a bit the names to not disturb the older ones until the template is done. the files are:

https://commons.wikimedia.org/wiki/File:WikiProject_Scouting_uniform_template_male_male_head.svg

https://commons.wikimedia.org/wiki/File:WikiProject_Scouting_uniform_template_male_longshirt.svg

https://commons.wikimedia.org/wiki/File:WikiProject_Scouting_uniform_template_male_bermudas.svg

https://commons.wikimedia.org/wiki/File:WikiProject_Scouting_uniform_template_male_boots.svg

She sent me an svg with all pieces placed on top of each other and colored for you to see the intended position. Can I e-mail you this? And if you need a bitmap let me know.--Kintetsubuffalo (talk) 05:39, 8 November 2016 (UTC)
I just uploaded it to Commons to save time.--Kintetsubuffalo (talk) 05:47, 8 November 2016 (UTC)

Can we at least do skintones? Names are fixed, and it's really important. Thank you again for all your hard work.--Kintetsubuffalo (talk) 07:55, 5 December 2016 (UTC)

Kintetsubuffalo, I will work on it soon. if you can point me to an article and tell me the appropriate skin tone, I can make sure everything is working as expected. Frietjes (talk) 13:11, 5 December 2016 (UTC)
Kenya Girl Guides Association, and thanks!--Kintetsubuffalo (talk) 13:12, 5 December 2016 (UTC)
Kintetsubuffalo, should work now, try |skintone=M or |skintone=D. I will work on making it more robust shortly, but let me know if you see any problems. I believe you were also asking for the relative scaling between male and female to be normalized? that will require some extra clipping/scaling, but should be possible. Frietjes (talk) 13:51, 5 December 2016 (UTC)
You did it, thank you! I don't want to swamp you with sizes, that is a biggie. This is great! There are 3 more hats, I don't know if that is a separate issue...--Kintetsubuffalo (talk) 13:54, 5 December 2016 (UTC)
Kintetsubuffalo, additional hats, shirts, shorts, etc should automatically work so long as they use the same naming convention, positioning, scale. the only caveat is for images like "trousers" which don't have any skin tone. those I have to add to the switch to avoid using different images for different skin tones. Frietjes (talk) 13:57, 5 December 2016 (UTC)
I don't follow but I trust your judgement!--Kintetsubuffalo (talk) 13:58, 5 December 2016 (UTC)
Kintetsubuffalo, there is only one trousers image since no skin is showing. to make that work in the template I had to add a special case. if any new images are added without skin showing we will have to do something special. otherwise, it should work automatically. Frietjes (talk) 14:53, 5 December 2016 (UTC)
Thanks!--Kintetsubuffalo (talk) 14:55, 5 December 2016 (UTC)
Don't know why, but the bottom navigation bar refuses to show at Girl Scouts of the Philippines. These are working great, by the way, thank you!--Kintetsubuffalo (talk) 15:20, 5 December 2016 (UTC)
Kintetsubuffalo, fixed it for you. before the fix, "Asia" was not the same as "asia". seems reasonable that it should not be case sensitive. Frietjes (talk) 15:46, 5 December 2016 (UTC)

Broken comment/gallery tags[edit]

Number of pages with broken gallery tags increased. -- Magioladitis (talk) 07:57, 4 December 2016 (UTC)

Unclosed sup/sub tags[edit]

-- Magioladitis (talk) 10:00, 18 November 2016 (UTC)

-- Magioladitis (talk) 15:55, 21 November 2016 (UTC)

Replacement of coordinates parameters in infoboxes[edit]

Hi, would you like to help out at Wikipedia:Coordinates in infoboxes? It's fine if you don't, but I'd like to take a wikibreak due to real-life commitments and currently there are only two other editors working on updating and fixing the infoboxes. Thanks, Jc86035 (talk) Use {{re|Jc86035}}
to reply to me
14:07, 24 November 2016 (UTC)

Thanks for un-mangling my attempts to archive[edit]

I very much appreciate your assistance with my archive coding misadventures! I'm dating myself, but my only formal programming training was in the sixties with FORTRAN using punchcards, then COBOL(which I hated) then LOGO when my kids began programming. So I am usually able to decipher and emulate wiki markup, but found myself in the tule reeds with the archive template code. Many thanks. Cheers! โ€” Grand'mere Eugene (talk) 18:50, 25 November 2016 (UTC)

Updated list with table errors[edit]

A new list with pages with table errors was generated Wikipedia:CHECKWIKI/WPC 028 dump. It contains a lot more. -- Magioladitis (talk) 18:53, 28 November 2016 (UTC)

Imagemap[edit]

Do you think it's safe if I remove from imagemap the line that refers to a page itself? CC: @NicoV: -- Magioladitis (talk) 22:00, 28 November 2016 (UTC)

Magioladitis, example? Frietjes (talk) 22:00, 28 November 2016 (UTC)

Area code 216 and all similar area code pages. -- Magioladitis (talk) 22:07, 28 November 2016 (UTC)

Orion Arm too. -- Magioladitis (talk) 22:07, 28 November 2016 (UTC)

Magioladitis, unfortunately, the line must end with a wikilink. if the image map is used on more than one page, it should probably be in its own template. if not, you may consider removing the self-linking line, but that will also remove the hover feature, so it won't quite be the same. Frietjes (talk) 22:27, 28 November 2016 (UTC)

You solution is awesome. Please do the same for Area codes 702 and 725, Area codes 570 and 272, etc. -- Magioladitis (talk) 22:31, 28 November 2016 (UTC)

Same problem with Area codes 214, 469, and 972 and similar. -- Magioladitis (talk) 14:07, 29 November 2016 (UTC)

Area code 719, Colorado too please -- Magioladitis (talk) 15:19, 29 November 2016 (UTC)

Magioladitis, yes, all 50 states. or were you planning to make 50 posts to my talk page? Frietjes (talk) 15:20, 29 November 2016 (UTC)
I did not check in depth. I only checked what was left in 048 page. :( It turns some of the things you fixed were not in my list... -- Magioladitis (talk) 15:21, 29 November 2016 (UTC)
Magioladitis, in some cases they prefixed the line with a "#", which "comments it out". if you just want to clean up your list, you can add a "#" at the start of the line that includes the self-link. I will eventually convert all of the 50 state maps, but it will take me more than a day to do so. Frietjes (talk) 15:24, 29 November 2016 (UTC)
Thanks. :) No rush. At some point I may also start creating similar templates. -- Magioladitis (talk) 15:26, 29 November 2016 (UTC)
Magioladitis, you can replace {{commons category}} with {{commons category}} and replace {{commons category-inline}} with {{commons category-inline}}. just be careful that you exactly match this, and don't accidentally change any with a second arg. you can find most of these with the following search [25], currently showing around 1200 hits. here are two example replacements [26] and [27]. Frietjes (talk) 23:41, 30 November 2016 (UTC)
Sure. Do you have a list where I can work with? -- Magioladitis (talk) 23:43, 30 November 2016 (UTC)
Magioladitis, did you click on the search link I just gave you? Frietjes (talk) 23:44, 30 November 2016 (UTC)
OK. Got it. -- Magioladitis (talk) 23:46, 30 November 2016 (UTC)

Check my next edits. If something goes wrong. STOP me. -- Magioladitis (talk) 23:49, 30 November 2016 (UTC)

Magioladitis, will do, but I will be signing off in 8 minutes. Frietjes (talk) 23:50, 30 November 2016 (UTC)
Done. -- Magioladitis (talk) 00:15, 1 December 2016 (UTC)

Reported pages with pagetitle in imagemap were reduced to only 63. Wikipedia:CHECKWIKI/WPC 048 dump. -- Magioladitis (talk) 14:24, 1 December 2016 (UTC)

Review of {{PH town table}}?[edit]

Hello. {{PH town table}} uses population parameters from Wikidata. Using the template itself is already complicated, but updating the figures on future censuses will make it even more since we will need to verify if the latest/preferred population are actually used. Will it not be simpler if the template uses raw data for the 2015 population just like in {{PH brgy table lite}}, which is much easier to add and/or (re-)organize in TSV format? โ€” Sanglahi86 (talk) 17:50, 29 November 2016 (UTC)

Commons in external links[edit]

Re: [28] - fair enough, although I quite liked how this approach meant that Commons links were auto-included in the articles where available, rather than them having to be manually added. Plus I still disagree that Commons is an external link, since it's an (internal) link to another part of the Wikimedia websites. But I won't revert - there's far too much to be done to Wikidata-ify the infoboxes anyway. :-) Thanks. Mike Peel (talk) 21:47, 30 November 2016 (UTC)

Mike Peel, it's too bad that these can't be automatically included in the articles without having to manually add the {{commons}} or {{commons category}} templates. and, if it were automatic, we could have a 'preferences' option to select the location for the link. Frietjes (talk) 21:50, 30 November 2016 (UTC)
Mike Peel, by the way, it would be great if you could comment at this related tfd. Frietjes (talk) 21:52, 30 November 2016 (UTC)
They are auto-included in the left-hand sidebar anyway now, near the Wikidata/language links, which is good, but they're not very noticeable in that location. In principle, we could auto-add the commons/commonscat templates, in the same way that the coordinates are auto-added to the top-right of the page through the infobox - but that would take a bit of juggling with stylesheets, and would probably need to be done systematically so that they aren't simultaneously auto-displayed and manually inserted in the page. Thanks. Mike Peel (talk) 21:55, 30 November 2016 (UTC)
Mike Peel, good point. I could write some javascript to move them from the left-hand sidebar to another location, but that would be an opt-in (user must install the javascript). it would be cool if the default location were, as you suggest, in a more noticeable place as part of the default skin. Frietjes (talk) 21:57, 30 November 2016 (UTC)
Javascript doesn't sound useful - the target audience I had in mind here is readers, not editors, so from that POV it's no use having something that's opt-in! Now looking at the TfD - it looks like a useful template! BTW, please don't remove this from the telesecope infobox (at least) for now, as it's a useful example there. :-) Thanks. Mike Peel (talk) 21:58, 30 November 2016 (UTC)
Mike Peel, yes, I agree it should be in the default skin, not an opt-in sort of thing. although a demo in javascript may be useful for demonstrating the resulting look. and, don't worry, I don't plan to remove the commons linking from any of the space/astro/telescope-based infoboxes. that community appears to be in favour of putting the commons link in the infobox. Frietjes (talk) 22:04, 30 November 2016 (UTC)

Head to head template[edit]

I like the idea of the head to head template, and have tried it out for the first five teams in NWC Prem.

I'm not too keen on the dates wrapping over to a second line, so have tried a couple options to keep them on one line.

Home \ Away 18N ABH DAR LVP ASH
1874 Northwich โ€” 2โ€“0 3โ€“0 1โ€“3 7 Jan
Abbey Hey 8 Apr โ€” tba 7 Jan 21 Jan
AFC Darwen 2 Apr 1โ€“3 โ€” 2โ€“2 0โ€“4
AFC Liverpool 17 Dec 1โ€“2 25 Mar โ€” 3โ€“1
Ashton Athletic 25 Mar tba 1โ€“3 22 Apr โ€”
Updated to match(es) played on 30 November 2016. Source: some source
Colours: Blue = home team win; Yellow = draw; Red = away team win.
Home \ Away 18N ABH DAR LVP ASH
1874 Northwich โ€” 2โ€“0 3โ€“0 1โ€“3 7/1
Abbey Hey 8/4 โ€” tba 7/1 21/1
AFC Darwen 2/4 1โ€“3 โ€” 2โ€“2 0โ€“4
AFC Liverpool 17/12 1โ€“2 25/3 โ€” 3โ€“1
Ashton Athletic 25/3 tba 1โ€“3 22/4 โ€”
Updated to match(es) played on 30 November 2016. Source: some source
Colours: Blue = home team win; Yellow = draw; Red = away team win.
Drawoh46, it would be trivial to make the contents of the cells nowrap by default. I will do that in a moment. Frietjes (talk) 22:31, 2 December 2016 (UTC)
Drawoh46, now updated. Frietjes (talk) 22:33, 2 December 2016 (UTC)
Frietjes Looking good! Now expanded to show full width. I like it! Will almost certainly adopt it for NWC. Drawoh46 (talk) 22:51, 2 December 2016 (UTC)
Home \ Away 18N ABH DAR LVP ASH FFF GGG HHH III JJJ KKK LLL MMM NNN OOO PPP QQQ RRR SSS TTT UUU VVV
1874 Northwich โ€” 2โ€“0 3โ€“0 1โ€“3 7 Jan 15 Apr 4 Feb 2โ€“1 1 Apr 5โ€“0 1โ€“3 21 Jan 1โ€“1 tba 29 Apr 2โ€“1 28 Jan tba 10 Dec 11 Feb 4โ€“1 1โ€“3
Abbey Hey 8 Apr โ€” tba 7 Jan 21 Jan
AFC Darwen 2 Apr 1โ€“3 โ€” 2โ€“2 0โ€“4
AFC Liverpool 17 Dec 1โ€“2 25 Mar โ€” 3โ€“1
Ashton Athletic 25 Mar tba 1โ€“3 22 Apr โ€”
FFF โ€”
GGG โ€”
HHH โ€”
III โ€”
JJJ โ€”
KKK โ€”
LLL โ€”
MMM โ€”
NNN โ€”
OOO โ€”
PPP โ€”
QQQ โ€”
RRR โ€”
SSS โ€”
TTT โ€”
UUU โ€”
VVV โ€”
Updated to match(es) played on 30 November 2016. Source: some source
Colours: Blue = home team win; Yellow = draw; Red = away team win.

Frietjes Got it installed here. Any chance that the head to head module can have the V/T/E links, as does the sports table module? Drawoh46 (talk) 09:28, 3 December 2016 (UTC)

Drawoh46, yes will do. by the way, I was just informed of the existence of Module:Sports results, so this module may be replaced in the future, but the syntax should be nearly the same, so we can always convert any uses with little problem. Frietjes (talk) 12:56, 3 December 2016 (UTC)
Frietjes Thanks. I'll keep my eye on what's happening regarding Module:Head to head and Module:Sports results. Meanwhile, I'll keep the one template updated, but hold back on any others. Drawoh46 (talk) 13:11, 3 December 2016 (UTC)
Drawoh46, I started the merger discussion at Module talk:Sports results. thank you. Frietjes (talk) 14:01, 3 December 2016 (UTC)
Drawoh46, now merged. Frietjes (talk) 14:52, 5 December 2016 (UTC)
Frietjes. Well done. And thanks for making the few necessary changes to the one template I'd used to call the Module:Head to head. I'll try another one shortly. Drawoh46 (talk) 15:12, 5 December 2016 (UTC)
Frietjes. Just noticed that you'd changed my sandbox too. Thanks! Drawoh46 (talk) 15:16, 5 December 2016 (UTC)

TfD process[edit]

Your comment here contradicts your previous comment. Seems I'm wrong whichever path I take. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:12, 3 December 2016 (UTC)

Pigsonthewing, wow a comment that I made in 2016 is different from one that I made in 2014. shocking. if you want, I can strike my 2016 comment and say "keep" instead. Frietjes (talk) 15:15, 3 December 2016 (UTC)

Check for Unknown Params[edit]

Hello! First let me say that I absolutely LOVE your script User:Frietjes/addcheckforunknownparameters.js. I'm just started using it and it is AMAZING!!! Great work. I wanted to make one suggestion if I may... It would be nice to have a check in there to make sure that #invoke:Check for unknown parameters doesn't already appear in the code... Just a thought and my own little 2 cents on what might make a tiny improvement to an already awesome script! --Zackmann08 (Talk to me/What I been doing) 22:37, 3 December 2016 (UTC)

Zackmann08, done. if you ever see a warning about incomplete parsing, make sure to check that the list of parameters is correct. this warning is usually safe so long as there are no parameters in the junk presented in the warning. however, if you ever find a case where it doesn't get all the parameters, or does something else that's wrong, let me know. Frietjes (talk) 13:57, 4 December 2016 (UTC)

pname parameter in Speciesbox[edit]

Hi, I saw your edit to Human. The logic of the code relating to |pname= in {{Speciesbox}} seems incorrect to me. Presumably it's trying to detect cases when the template is used for a genus with a single species, so the page name will be the genus although the target of the taxobox is the species, But I don't see why the number of parents then displayed by default should be 2 whereas it should be 0 otherwise. However, as it's coded, it's wrong to set |pname=Homo since the page name would be "Homo sapiens" if not "Human", so this should be the value of the parameter. I favour removing the test altogether, and defaulting to 1 parent above the genus โ€“ as the HTML comment says is the case. Peter coxhead (talk) 22:24, 4 December 2016 (UTC)

Peter coxhead, fix it in whatever manner works. I was just trying to remove the transclusion of Template:Taxonomy/Human which was causing the page to appear in a database report for transclusions of deleted templates. Frietjes (talk) 13:58, 5 December 2016 (UTC)
Ok, I'll look again at {{Speciesbox}}. However, checking for taxonomy templates by attempting to transclude them is a frequent feature of the automated taxobox system, so it's likely such pages will appear in the database report again for other reasons. Peter coxhead (talk) 15:41, 5 December 2016 (UTC)

{{webarchive}}[edit]

This edit[29] and some others are incorrect usage of the template. The documentation shows how it works. -- GreenC 03:12, 5 December 2016 (UTC)

I fixed them for you. you discarded some information and introduced some incorrect dates which should have been archive dates. Frietjes (talk) 13:58, 5 December 2016 (UTC)

There are two ways to do citations with archives. Bare links + webarchive .. or CS1|2 templates such as {{web cite}} with the |archiveurl=. The later is recommended over the former if possible, as CS1|2 templates have many more features and options and are designed for use in citations. webarchive wasn't really designed for citations, rather for external links sections. But it gets used in citations mainly because link rot bots are unable to convert bare link style to CS1|2 which requires manual work. -- GreenC 15:30, 5 December 2016 (UTC)

..and I see that's what you just did :) (the |date= in webarchive is the archive date, they were correct). -- GreenC 15:34, 5 December 2016 (UTC)

Paris Metro lines[edit]

Hello Frietjes
Please see Template talk:Infobox Paris Metro line#Electrification and Talk:Paris Mรฉtro Line 1#Electrification. Peter Horn User talk 02:18, 6 December 2016 (UTC)

Template:Deafness navbox[edit]

Dude my box, I'm sorry I didn't put it anywhere, it wasn't done. Can I have the code back? I'll put it in my sandbox. Template:Deafness navbox Rue-chan (talk) 05:36, 7 December 2016 (UTC)

Rue-chan, ask the administrator who deleted it (Plastikspork). Frietjes (talk) 13:04, 8 December 2016 (UTC)

p tag[edit]

  1. After Midnight (J. J. Cale song)
  2. Alberta Highway 2
  3. Andy Miller (harness racing)
  4. Bill O'Donnell (harness race driver)
  5. Billy Haughton
  6. Brian Sears
  7. Bruce Nickells
  8. Cam Fella
  9. Critical Resistance
  10. Dakota Access Pipeline protests
  11. Dave Palone
  12. Earle Avery
  13. Gene Riegle
  14. Gilbert Kaplan
  15. Glutamineโ€”fructose-6-phosphate transaminase (isomerizing)
  16. Hervรฉ Filion
  17. Islamic views on evolution
  18. Jimmy Takter
  19. John Campbell (harness racing)
  20. John Chapman (harness racing)
  21. Laverne Hanover
  22. Malaysia at the 1969 Southeast Asian Peninsular Games
  23. Malaysia at the 1981 Southeast Asian Games
  24. Malaysia at the 2006 Asian Games
  25. Michel Lachance (harness racing)
  26. Murder of Sherri Rasmussen
  27. Muscle Hill
  28. Nathan Kelly
  29. Ralph Hanover
  30. Ray Schnittker
  31. Ron Waples
  32. Scott Frost (horse)
  33. Sound localization
  34. Tim Tetrick
  35. Wally Hennessey
  36. Western Dreamer
  37. Yannick Gingras

-- Magioladitis (talk) 16:26, 8 December 2016 (UTC)

Geobox query[edit]

Hi Frietjes, thanks for adding the pushpin_map coding to the Geobox template, hence I can understand the TfDs for the now redundant Geobox locator maps. Can I enquire what prompted the changes to the Geobox, as I didnโ€™t notice anyone asking for this useful improvement?...Jokulhlaup (talk) 17:14, 8 December 2016 (UTC)

Jokulhlaup, there are many more {{location map}} templates compared to the old "geobox locator maps", and there is really no need to have duplicate templates that do the exact same thing. one advantage that the {{location map}} system has is that you don't need to specify the image. I found several which were using the "Texas" locator with a "Florida" map, or other such nonsense. Frietjes (talk) 17:18, 8 December 2016 (UTC)
Jokulhlaup, what originally prompted this was that I tried to add a location map to a geobox and found that there was no corresponding "geobox locator". instead of creating a new map just for geobox, I added the pushpin_map option to geobox. Frietjes (talk) 17:20, 8 December 2016 (UTC)
Thanks for the replies, all makes sense now - it certainly was a pain creating a locator map for just a few articles...Jokulhlaup (talk) 17:43, 8 December 2016 (UTC)

A barnstar for you![edit]

Vitruvian Barnstar Hires.png The Technical Barnstar
For your continued assistance with modules and templates. Thank you for being such a joy to work with and for being so responsive to requests for assistance. Keep up the awesome work. Zackmann08 (Talk to me/What I been doing) 20:30, 8 December 2016 (UTC)