User talk:WOSlinker/Archive 6
This is an archive of past discussions about User:WOSlinker. 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 1 | ← | Archive 4 | Archive 5 | Archive 6 | Archive 7 | Archive 8 | → | Archive 10 |
Flatlist & large pages
Hi,
Could you look into the issue of {{Flatlist}} causing slowness alleged in (this reverting edit sumamry and discussed at Wikipedia talk:Featured articles#List markup, please? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:51, 29 December 2011 (UTC)
- It's probably due to the large volumes of text being passed into the template through the
{{{1}}}
parameter. I've implemented an alternative method. See talk page for details. -- WOSlinker (talk) 16:14, 29 December 2011 (UTC)
WPMILHIST Announcements
I've tried to deploy HLIST in {{WPMILHIST Announcements/sandbox}} but can't get it to work. It's complex! Can you work your usual magic, when you have a few minutes free, please? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 20:19, 29 December 2011 (UTC)
- Doesn't appear to be a quick fix. The base template at template:WPMILHIST Announcements/Shell uses ";" lists and embedding a hlist on top of that doesn't work at the moment. May be possible to fix with more css but that's beyond me. The other way is to make a new version of the /Shell template first which works with flatlist. -- WOSlinker (talk) 20:49, 29 December 2011 (UTC)
A barnstar for you!
The Special Barnstar | |
For doing an excellent job helping support accessibility on Wikipedia by adding the hlist feature to navboxes! Sadads (talk) 13:56, 30 December 2011 (UTC) |
I'll second that! Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 00:53, 31 December 2011 (UTC)
Infobox Australian road and Infobox road
Just curious, what's the status of discussions about merging in that last template? Is this something that we could get back to doing at some point in the new year? Imzadi 1979 → 06:00, 31 December 2011 (UTC)
- I think it's still possible. Everything in Template:Infobox Australian road/testcases seems to have been addressed & I've just copied over the different header style with the road name at the top rather than the route number at the top into the live template. Infobo0x road also has the allocation param now. -- WOSlinker (talk) 09:45, 31 December 2011 (UTC)
- Looks fine by me, but can you put a colon at the end of the allocation label to match the rest of the template? Imzadi 1979 → 10:01, 31 December 2011 (UTC)
- Done. Well spotted! -- WOSlinker (talk) 10:07, 31 December 2011 (UTC)
- Cool, and thanks. Now to pitch the idea again. Did you want to propose it, or have one of us do it?
- You can. I'll come along and help out later on if needed. -- WOSlinker (talk) 10:20, 31 December 2011 (UTC)
db-meta Bing link causing problems
Just a courtesy note to let you know I've reverted your recent addition of the Bing link to db-meta as a temporary measure, as it's forcing unconfirmed users to go through Captcha. see the discussion page of the template and WP:VPT for details. An optimist on the run! 10:08, 11 January 2012 (UTC)
Listas param
Just curious about this edit...why was this done? — Huntster (t @ c) 21:24, 29 January 2012 (UTC)
- The did seem to me to be any need to track the usage of the listas param. If there is real need to do so then undo my edit. -- WOSlinker (talk) 21:31, 29 January 2012 (UTC)
on navbox construction
Hi. I think your input would be useful. Thanks. Alarbus (talk) 13:06, 31 January 2012 (UTC)
border option in military navigation
if you have a chance, could you take care of this request, and do the same for template:campaign? I would like to clean up the nesting in Template:Campaignbox Iraq War. thank you. Frietjes (talk) 20:02, 2 February 2012 (UTC)
- Done -- WOSlinker (talk) 21:15, 2 February 2012 (UTC)
Thanks for the archive box
Bare filenames in |image=
Can you please update {{Infobox Speedway rider}} and {{Infobox military person}} to use bare filenames? -- Magioladitis (talk) 17:04, 22 January 2012 (UTC)
- Not got much spare time to edit at present. -- WOSlinker (talk) 21:40, 25 January 2012 (UTC)
- Done {{Infobox Speedway rider}}. -- WOSlinker (talk) 13:23, 28 January 2012 (UTC)
- 4 more infoboxes updated to use bare filenames. -- Magioladitis (talk) 16:59, 1 February 2012 (UTC)
- Done {{Infobox Speedway rider}}. -- WOSlinker (talk) 13:23, 28 January 2012 (UTC)
I updated {{Infobox military person}} to use bare filenames but updating the pages was proven painful. I really need your help on this one. -- Magioladitis (talk) 18:04, 5 February 2012 (UTC)
- I've created a tracking category at Category:Infobox military person image param needs updating. Over 12,000 to update. I've also updated the infobox so that the image param will work with both options, so there is not as much of a rush to update all those images. -- WOSlinker (talk) 19:01, 5 February 2012 (UTC)
- Thanks. My code is still buggy and I am making the changes manually. I hope it gets better. -- Magioladitis (talk) 20:21, 5 February 2012 (UTC)
Maybe you could your magic to the football player too? -- Magioladitis (talk) 18:57, 8 February 2012 (UTC)
use {{px}} for image size
I tried to ensure {{px}} is used in all infoboxes. Please take a look when you find some spare time. -- Magioladitis (talk) 21:46, 2 February 2012 (UTC)
In User:Magioladitis/Sandbox you can find my custom module for converting images to bare filenames. -- Magioladitis (talk) 22:15, 7 February 2012 (UTC)
Template:Infobox cricketer tour biography
We need to use birth_date and death_date. I can fix the infoboxes afterwards. -- Magioladitis (talk) 16:14, 11 February 2012 (UTC)
- I tried adding support while keeping the existing options but it was too difficult to do, so I've put a new version with just the new params in Template:Infobox cricketer tour biography/sandbox which is ready to copy over when you are ready to update the articles. -- WOSlinker (talk) 18:24, 11 February 2012 (UTC)
comics creator
More and more editors support standardisation of Infobox comics creator. I think now we can replace yob/mob/dob with birth_date. Can you please help? -- Magioladitis (talk) 13:37, 4 February 2012 (UTC)
- No pages use yob/mob/dob right now. -- Magioladitis (talk) 15:38, 11 February 2012 (UTC)
- Just an observation, but if you are going to depreciate what you see 1 set of parameters, please make sure that they are only used with regard to the single field you are going to replace them with. One of the parameters you've been removing functions outside of the birth/death date issue. Could you please go back an replace instances where "nonUS" which you removed were completed with something other than "y"? It is used within the template for language ID of non-English names.
- - J Greb (talk) 20:35, 11 February 2012 (UTC)
- I didn't know that nonUS was used on other places too. I'll try to fix this. -- Magioladitis (talk) 20:37, 11 February 2012 (UTC)
Template_talk:Infobox_comics_creator#yob_.26_yod_params might be interesting for you. -- Magioladitis (talk) 17:04, 19 February 2012 (UTC)
Infobox simplified. -- Magioladitis (talk) 16:43, 21 February 2012 (UTC)
hlist conversions
if you would like me to help, I can update your script to fix multi-item spanning bold and italics. without it, you are basically screwing up the italics in templates like you did here. I recently added code in my own script to address this issue. Frietjes (talk) 21:35, 12 February 2012 (UTC)
- Yes, that would be good. -- WOSlinker (talk) 21:42, 12 February 2012 (UTC)
- This is even worse, now the template is completely broken, another reason to have a script do it. is your script here on WP? I used your User:WOSlinker/hlist.js as a starting point for mine, which is only stored locally on my computer. Frietjes (talk) 21:44, 12 February 2012 (UTC)
put the following in your script, near the top before you start the conversion to hlist
while( myContent.search(/(?:[\n]|=|\{\{[ ]*(?:·|•|,|\*|!)(?:wrap|w|)[ ]*\}\}|\&bull\;|(?:\ \;| )(?:•|·)|\{\{nowrap[_ ]+begin\}\})[ ]*(\'?\'\')(?:[^\'\n]|[^\'\n]\')*(?:\{\{[ ]*(?:·|•|,|\*|!)(?:wrap|w|)[ ]*\}\}|\&bull\;|(?:\ \;| )(?:•|·))[ ]*\1/gi) >= 0 ) { myContent = myContent.replace(/((?:[\n]|=|\{\{[ ]*(?:·|•|,|\*|!)(?:wrap|w|)[ ]*\}\}|\&bull\;|(?:\ \;| )(?:•|·)|\{\{nowrap[_ ]+begin\}\})[ ]*)(\'?\'\')((?:[^\'\n]|[^\'\n]\')*)((?:\{\{[ ]*(?:·|•|,|\*|!)(?:wrap|w|)[ ]*\}\}|\&bull\;|(?:\ \;| )(?:•|·)))[ ]*\2/gi, '$1$2$3$2$4'); } while( myContent.search(/(?:[\n]|=|\{\{[ ]*(?:·|•|,|\*|!)(?:wrap|w|)[ ]*\}\}|\&bull\;|(?:\ \;| )(?:•|·)|\{\{nowrap[_ ]+begin\}\})[ ]*\'?\'\'(?:[^\'\n]|[^\'\n]\')*(?:\{\{[ ]*(?:·|•|,|\*|!)(?:wrap|w|)[ ]*\}\}|\&bull\;|(?:\ \;| )(?:•|·))/gi) >= 0 ) { myContent = myContent.replace(/((?:[\n]|=|\{\{[ ]*(?:·|•|,|\*|!)(?:wrap|w|)[ ]*\}\}|\&bull\;|(?:\ \;| )(?:•|·)|\{\{nowrap[_ ]+begin\}\})[ ]*)(\'?\'\')((?:[^\'\n]|[^\'\n]\')*)((?:\{\{[ ]*(?:·|•|,|\*|!)(?:wrap|w|)[ ]*\}\}|\&bull\;|(?:\ \;| )(?:•|·)))/gi, '$1$2$3$2$4$2'); }
this convert the multi-item spanning italic and bold stuff into something that won't be mangled by your script. you can try it on an old version of the Holtzbrinck template to test it. by the way if you are using User:WOSlinker/hlist.js to do your conversions, I have some fixes and massive simplifications for that script, for example, you should replace
myContent = myContent.replace(/\{\{nowrap begin\}\}\n/g,'\n* '); myContent = myContent.replace(/\{\{nowrap begin\}\}/g,'\n* '); myContent = myContent.replace(/\{\{Nowrap begin\}\}\n/g,'\n* '); myContent = myContent.replace(/\{\{Nowrap begin\}\}/g,'\n* ');
with
myContent = myContent.replace(/\{\{[_ ]*[Nn]owrap[_ ]+begin[_ ]*\}\}[ ]*[\n]?/gm,'\n* ');
which is far more robust and covers all four cases, and added the cases where there is extra whitespace. also, everywhere you repeat code for both • and · just use [•·] which will match either one. Frietjes (talk) 22:14, 12 February 2012 (UTC)
- I just updated the code above to address issues while updating 'template:Bonnie Pink', where the bullets are inside the italic spans. Frietjes (talk) 23:17, 12 February 2012 (UTC)
- Thanks. I'll take a look at incorporating the changes later on. I'm using User:WOSlinker/hlist-private.js as I sometimes make occasional changes for converting specific sets of templates and there's already other people using my hlist.js one, so that one just contained some of the basic stuff. The private one does slightly better in some cases but it's still not great coding and doesn't handle the italics either. -- WOSlinker (talk) 23:41, 12 February 2012 (UTC)
I just found another one your script is missing here. if you would like to correct this, you can add
myContent = myContent.replace(/(\{\{)[ _]*((?:·|•|,|\*|!)(?:wrap|w|))[ _]*(\}\})/g, '$1$2$3');
near the top of your script, which will remove the leading and trailing spaces and underscores before you start other conversions. then, you don't need to worry about them later. the alternative would be to add a '[_ ]*' everywhere you match bullet delimiters. Frietjes (talk) 17:27, 20 February 2012 (UTC)
one more thing. I added the following sanity check at the bottom of my script. it checks for possibly mangled italics or bold markup, which could have either been caused by this script, when it split multibullet spanning italics and bolds (or failed to do so), or it could have been there before the conversions. either way it's good to check them by hand:
// Error checks myContent = myContent.replace(/([\r\n](?:[^\'\r\n]|[^\'\r\n]\')*\'\'(?:[^\'\r\n]|[^\'\r\n]\')*)([\r\n])/gi, '$1<!-- CHECK ITALICS -->$2'); myContent = myContent.replace(/([\r\n](?:[^\'\r\n]|[^\'\r\n]\')*\'\'\'(?:[^\'\r\n]|[^\'\r\n]\')*)([\r\n])/gi, '$1<!-- CHECK BOLD -->$2'); if( myContent.search(/<!-- CHECK (?:BOLD|ITALICS) -->/gi) >= 0 ) { myContent = "<!-- CHECK BOLD OR ITALICS! -->\n" + myContent; }
what it does is add a comment at the very top telling you to check for these errors, and also marks the line in the template where it found the error. I have it add the line at the top so you can immediately see it in the edit window, and know to look further down. otherwise you might miss the warning. you can see an example of what I was able to detect and correct here. Frietjes (talk) 17:31, 20 February 2012 (UTC)
- thanks. I've updated my script to handle spaces better & added your check sugguestion. -- WOSlinker (talk) 18:40, 20 February 2012 (UTC)
FYI
WikiProject Water sports - does exist! SatuSuro 03:48, 18 February 2012 (UTC)
- So it does. But a banner at {{WikiProject Watersports}} didn't. I've now added a redirect to {{WikiProject Water sports}}. -- WOSlinker (talk) 09:47, 18 February 2012 (UTC)
- Thanks for that SatuSuro 21:43, 26 February 2012 (UTC)
The US Newsletter
I noticed you made some edits to some of the historical newsletters. I think that if you watch them for a couple months you can probably mark them as historical. Its doubtful anyone else will make any more (although I hope I am wrong honestly) so there's probably not a huge return on investment for cleaning up the coding on them. --Kumioko (talk) 17:13, 18 February 2012 (UTC)
Harold Budd template
Hi WOSlinker,
Thanks for your work on Template:Harold Budd. I've seen similar edits before but couldn't quite find out if it's protocol, so the link to WP:Hlist is quite helpful. I'll use it on the templates I've been working on besides Budd. Cheers, — Quibus (talk) 19:20, 19 February 2012 (UTC)
Template:Uir and ilk
Your recent changes to Template:Uir have produced some undesired results. Over 1,000 templates invoke this template. The |info-class=nowraplinks parameter is useful for many of these templates, but causes problems for many others. Most commonly, the use of |info-class=nowraplinks may cause the WikiProject name to extend beyond the userbox width when |option=41. This may also occur for other options. Examples include:
This user participates in WikiProject Andaman and Nicobar Islands. |
This user participates in WikiProject Arunachal Pradesh. |
This user participates in WikiProject Dadra and Nagar Haveli. |
This user participates in WikiProject Khyber Pakhtunkhwa. |
This user participates in WikiProject New South Wales. |
This user participates in WikiProject Newfoundland and Labrador. |
This user lives in the U.S. Commonwealth of Pennsylvania. |
This user participates in WikiProject Prince Edward Island. |
Please check each option before adding |info-class=nowraplinks. Yours aye, Buaidh 15:54, 21 February 2012 (UTC)
- Sorry, had checked the ones I did but had missed the Wikiproejexct option. I'll go back & fix them soon. (In a couple of hours at most.) -- WOSlinker (talk) 17:13, 21 February 2012 (UTC)
- I have a table of these templates at User:Buaidh/Regions. Thanks for all your work on these templates. Buaidh 18:58, 21 February 2012 (UTC)
Can you please convert this template to transclude {{Infobox}}? -- Magioladitis (talk) 21:16, 21 February 2012 (UTC)
- Should be easy enough to do. I'll take a look soon. -- WOSlinker (talk) 21:26, 21 February 2012 (UTC)
- Done by Frietjes. -- Magioladitis (talk) 21:55, 21 February 2012 (UTC)
- Ultimate goal is to convert all pages to use {{Infobox}} or even better {{Infobox person}} and {{Infobox sportsperson}}. -- Magioladitis (talk) 21:36, 21 February 2012 (UTC)
My method fixed more than 7,000 pages. Now only 5,000 pages left. -- Magioladitis (talk) 18:53, 22 February 2012 (UTC)
- Thats good :) Still quite a few that will need some manual work though. -- WOSlinker (talk) 18:55, 22 February 2012 (UTC)
It needs to add birth/death date/place parameters. -- Magioladitis (talk) 19:14, 22 February 2012 (UTC) Done by me. -- Magioladitis (talk) 22:03, 23 February 2012 (UTC)
A barnstar for you!
The Technical Barnstar | |
Good work. Alarbus (talk) 21:22, 22 February 2012 (UTC) |
Headings should be visible only if at least one parameter is set. -- Magioladitis (talk) 17:22, 23 February 2012 (UTC)
- Done -- WOSlinker (talk) 17:26, 23 February 2012 (UTC)
Template:Infobox MLB manager has been nominated for deletion. You are invited to comment on the discussion at the template's entry on the Templates for discussion page. Magioladitis (talk) 22:26, 22 February 2012 (UTC)
Externally hosted scripts on Common.js
Hey there,
Thanks for contacting me when you reverted my adding an external script to Common.js. Is there a standing policy about this? I realise externally hosted scripts aren't really ideal (considering server load, all that sort of thing), but I would prefer to keep it hosted there while I'm actively developing it (which will only be for another hour or two) and then move it to a gadget when I'm done. It's only done on a single low-traffic page for development purposes. If there is indeed a general policy against external scripts, do you think I'd be able to make an exception for an hour or two?
— Andrew Garrett • talk 22:26, 24 February 2012 (UTC)
- It really needs discussing on the talk page first, but I think most people would say no. Another reason not to use Common.js is also that you shouldn't really be making changes to sitewide code just to test (even if it is just running most of it on one page). Why don't you just develop in your own userpages at User:Werdna/monobook.js or User:Werdna/vector.js ? -- WOSlinker (talk) 22:31, 24 February 2012 (UTC)
- Fair enough, I somehow didn't think of my own userspace (perhaps because I'm working with other people as well). I don't think it was causing any harm in Common.js (though I did have one giddy moment where I remembered to put an if statement around), but I guess userspace works just as well. Of course, I'm going to have to figure out how to turn it into a gadget eventually ;-). Thanks for being patient with me. — Andrew Garrett • talk 22:38, 24 February 2012 (UTC)
- Also, note that when you create a gadget, don't set it to enabled by default. A few others have done that without discussion and there were some complaints. (see here) -- WOSlinker (talk) 22:43, 24 February 2012 (UTC)
Template
I know that under WP:OWN i do not own any of the templates that I've created, but may I ask why did you move Template:Agricultural engineer to User agricultural engineer ? and the same for the civil engineer template? Abhijay What did I do this time? 12:59, 26 February 2012 (UTC)
- It's just that generally, most userboxes are prefixed with User in their name. See the What links here for the Userbox template. There's over 17,000 templates prefixed with User and I've got a list of about 200 that are not, which I'm slowly working through, renaming them. -- WOSlinker (talk) 13:05, 26 February 2012 (UTC)
- K, thanks. Abhijay What did I do this time? 14:48, 26 February 2012 (UTC)
- and per WP:GUS, they should probably be moved to User:UBX space. Frietjes (talk) 18:05, 26 February 2012 (UTC)
- Probably for some of them. If I spot any user specific ones then I move them to userspace, otherwise I just prefix them with User as a start. -- WOSlinker (talk) 18:32, 26 February 2012 (UTC)
- and per WP:GUS, they should probably be moved to User:UBX space. Frietjes (talk) 18:05, 26 February 2012 (UTC)
- K, thanks. Abhijay What did I do this time? 14:48, 26 February 2012 (UTC)
Template:Jct, again
Could you look at {{Jct}}? An editor requested the type US-Temp be created and he went and created the subtemplates ({{Infobox road/NJ/shield US-Temp}}, {{Infobox road/NJ/link US-Temp}}, and {{Infobox road/NJ/abbrev US-Temp}}) that would have been deprecated when you did your consolidation work in the last year. From what I can tell, whatever feeds {{Jct/banner}} isn't accepting US-Temp as a type. I can't make heads or tails of the template. Thanks. –Fredddie™ 03:34, 1 March 2012 (UTC)
- Seems to be used with the following.
{{Jct|state=NJ|US-Temp|9|dab1=Beesley's Point}}
Temp. US 9 -- WOSlinker (talk) 07:50, 1 March 2012 (UTC)- Right, but it should look like this: –Fredddie™ 12:28, 1 March 2012 (UTC)
Temp. US 9- Fixed with this edit to Jct/plate/1 & also the /2 /3 & /4 versions as well. -- WOSlinker (talk) 18:30, 1 March 2012 (UTC)
Orphaned non-free image File:Samsung Galaxy Tab.jpg
Thanks for uploading File:Samsung Galaxy Tab.jpg. The image description page currently specifies that the image is non-free and may only be used on Wikipedia under a claim of fair use. However, the image is currently not used in any articles on Wikipedia. If the image was previously in an article, please go to the article and see why it was removed. You may add it back if you think that that will be useful. However, please note that images for which a replacement could be created are not acceptable for use on Wikipedia (see our policy for non-free media).
Note that any non-free images not used in any articles will be deleted after seven days, as described in the criteria for speedy deletion. Thank you. Skier Dude (talk) 05:20, 1 March 2012 (UTC)
Tehran Province
Hi WOSlinker, I noticed that you do a lot of template work. I was wondering if you could help me on Tehran_Province#References: the templates Provinces of Iran and Tehran Province have some sort of bizarre overlap on that page and are a mess, but I haven't been able to fix them. If you can help, or know someone that can, that would be great. Thanks in advance. Acalamari 11:47, 2 March 2012 (UTC)
- This edit has fixed it. -- WOSlinker (talk) 12:12, 2 March 2012 (UTC)
- Thank you! :) Acalamari 12:29, 2 March 2012 (UTC)
Converting HTML to wikicode
User_talk:Frietjes#More_help_needed. -- Magioladitis (talk) 17:25, 2 March 2012 (UTC)
Mentioned you (though not by name) here: <https://bugzilla.wikimedia.org/show_bug.cgi?id=33189#c1>. --MZMcBride (talk) 23:03, 3 March 2012 (UTC)
- I've mentioned the bug on the MobileFrontend talk page. -- WOSlinker (talk) 23:49, 3 March 2012 (UTC)
Lower-case navbox links
Hi there. I attempted adding the CSS you suggested to my vector.js page (I'm using the vector skin, just to be clear!) yet I'm still seeing uppercase links... Any ideas where I went wrong? Thanks, Nikthestoned 15:59, 9 March 2012 (UTC)
- You added it to User:Nikthestoned/vector.js but it should be in User:Nikthestoned/vector.css -- WOSlinker (talk) 16:03, 9 March 2012 (UTC)
- Heh, thanks! Nikthestoned 16:10, 9 March 2012 (UTC)
hlist
Thanks for all your good work applying hlist
. Are you using a script, and, if so, how can I do so? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 12:28, 21 November 2011 (UTC)
- I'm using User:WOSlinker/hlist.js. It's not fully automated though, so there is still some manual editing & checking before saving the changes. -- WOSlinker (talk) 12:30, 21 November 2011 (UTC)
- Thank you. How do I invoke it? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 17:50, 22 November 2011 (UTC)
- In your monobook.js add:
- Thank you. How do I invoke it? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 17:50, 22 November 2011 (UTC)
importScript('User:WOSlinker/hlist.js');
or copy the whole source in and then you will see a "hlist" button near the talk / edit / history buttons. -- WOSlinker (talk) 18:13, 22 November 2011 (UTC)
- Got it, thank you. I spotted News Corporation scandal&oldid=461981169 461980881. also, please could you add [[WP:HLIST]] to the default edit summary? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 19:12, 22 November 2011 (UTC)
- Also (as I'm sure you're aware), you;re not catching the first item in each list. Could you match a pattern of "list[n]="? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 19:37, 22 November 2011 (UTC)
- Updated the edit summary. Will look at the other issues. -- WOSlinker (talk) 20:29, 22 November 2011 (UTC)
- Right, I've done the list thing to add a * only if the first item starts with a square bracket. This is so that it doesn't add a * if it's a Navbox subgroup. -- WOSlinker (talk) 20:43, 22 November 2011 (UTC)
- Thank you for your prompt action. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 22:12, 22 November 2011 (UTC)
- What about here the first character is
'
, for emboldening or italicisation? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 22:41, 22 November 2011 (UTC)- Done that now as well. -- WOSlinker (talk) 23:03, 22 November 2011 (UTC)
- Excellent. Thank you again. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 23:26, 22 November 2011 (UTC)
- One more, please: if
|above=
or|below=
include a list, apply the class to|bodyclass=
instead of|listclass=
. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 23:32, 22 November 2011 (UTC)- Can do as well, but not today. Need to have a break. -- WOSlinker (talk) 23:33, 22 November 2011 (UTC)
- Done that now as well. -- WOSlinker (talk) 23:03, 22 November 2011 (UTC)
- Right, I've done the list thing to add a * only if the first item starts with a square bracket. This is so that it doesn't add a * if it's a Navbox subgroup. -- WOSlinker (talk) 20:43, 22 November 2011 (UTC)
- Updated the edit summary. Will look at the other issues. -- WOSlinker (talk) 20:29, 22 November 2011 (UTC)
Another thing I've done is add the following to my monobook.css page to make it more noticeable when a list has been updated. -- WOSlinker (talk) 21:16, 22 November 2011 (UTC)
/* Make it a bit bigger and purple so that it stands out from unconverted lists */
.hlist dd:after,
.hlist dt:after,
.hlist li:after {
content: " ♦";
font-weight: bold;
color: purple;
}
Purpose
Can you explain to me what you exactly have done? It is a mystery to me what is the effect on Template:County Clare, except for a smaller template. Night of the Big Wind talk 15:16, 21 November 2011 (UTC)
- It's now a proper list rather than just a collection of links with {{·w}} inbetween them. Visually, eveything should look the same. See Wikipedia:Wikipedia Signpost/2011-11-21/Technology report for a bit of background to it. -- WOSlinker (talk) 15:36, 21 November 2011 (UTC)
- Aha, tried on Template:Michelin stars in Ireland. No change in appearance, but still 333 characters less! Clear and much handier to work with. Thanks for this, will use it! Night of the Big Wind talk 17:54, 21 November 2011 (UTC)
- Yes, the lists are easier to work with. Can also copy them into a spreadsheet & sort them and then copy them back into the template (if needed). -- WOSlinker (talk) 17:57, 21 November 2011 (UTC)
- Aha, tried on Template:Michelin stars in Ireland. No change in appearance, but still 333 characters less! Clear and much handier to work with. Thanks for this, will use it! Night of the Big Wind talk 17:54, 21 November 2011 (UTC)
Thanks
I am using the hlist script and it is awesome. I think making navboxes easier to navigate will encourage less experienced users to edit them. Thanks for doing what you do. Blue Rasberry (talk) 15:42, 30 November 2011 (UTC)
Script issue
Your script had to be manually assisted with this, and with this. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 19:37, 17 December 2011 (UTC)
- I hadn't added {{!}}) as there were plenty of others to sort out first. I've now added it. There still going to be cases sometimes that don't work very well and if you spot a set of templates that need something specific then it's sometimes useful to make a copy of the script & edit it to work for those particular templates. That one of the reasons why I created a separate copy at User:WOSlinker/hlist-private.js just for my personal use. -- WOSlinker (talk) 20:59, 17 December 2011 (UTC)
- Thank you. Alas, I'm not a coder. Do you still want to know about such cases? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 21:31, 17 December 2011 (UTC)
- You can always mention them and if they are generic enough I'll add them. -- WOSlinker (talk) 22:31, 17 December 2011 (UTC)
- Fair enough; thanks. How about this one? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 11:52, 18 December 2011 (UTC)
- I've sort of added that. It works apart from leaving a }} at the end of the list which is a bit more difficult to remove via the script as can't just remove all }}, so those at the end will need to be done manually. -- WOSlinker (talk) 12:02, 18 December 2011 (UTC)
- Noted, thanks. Here's yet another. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 14:09, 18 December 2011 (UTC)
- That one should work now. -- WOSlinker (talk) 14:14, 18 December 2011 (UTC)
- Noted, thanks. Here's yet another. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 14:09, 18 December 2011 (UTC)
- I've sort of added that. It works apart from leaving a }} at the end of the list which is a bit more difficult to remove via the script as can't just remove all }}, so those at the end will need to be done manually. -- WOSlinker (talk) 12:02, 18 December 2011 (UTC)
- Fair enough; thanks. How about this one? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 11:52, 18 December 2011 (UTC)
- You can always mention them and if they are generic enough I'll add them. -- WOSlinker (talk) 22:31, 17 December 2011 (UTC)
- Thank you. Alas, I'm not a coder. Do you still want to know about such cases? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 21:31, 17 December 2011 (UTC)
Thank you. Next: instances of {{US county navigation box}} don't get |listclass=hlist
; see this example. No problem if you want to bunch fixes, rather than giving immediate responses. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 14:40, 18 December 2011 (UTC)
- Fixed that one. There's just over 3000 of them so will take you a few days to do. -- WOSlinker (talk) 15:28, 18 December 2011 (UTC)
- Thank you. We still need a bot to do this. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:46, 18 December 2011 (UTC)
- Can only get a bot to do them when there is a set of templates that are formatted in the same way. That may be the case for those particular ones. But it's difficult to get a bot to do them all as there are so many different ways for formatting a list. I've managed to do quite a few over the last two months with my hlist script. -- WOSlinker (talk) 15:51, 18 December 2011 (UTC)
- Thank you. We still need a bot to do this. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:46, 18 December 2011 (UTC)
Another one which give your script problems. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 23:22, 18 December 2011 (UTC)
- and another... Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 23:36, 19 December 2011 (UTC)
- Try now. -- WOSlinker (talk) 23:44, 19 December 2011 (UTC)
- Thank you. Any idea went wrong here? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 00:50, 20 December 2011 (UTC)
- There were some {{link-interwiki}} templates within some of those lines & my script removed the trailing }} from them. It's another one that's difficult to fix. -- WOSlinker (talk) 07:57, 20 December 2011 (UTC)
- Doh! I should have spotted that. Thanks. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 18:43, 23 December 2011 (UTC)
- There were some {{link-interwiki}} templates within some of those lines & my script removed the trailing }} from them. It's another one that's difficult to fix. -- WOSlinker (talk) 07:57, 20 December 2011 (UTC)
- Thank you. Any idea went wrong here? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 00:50, 20 December 2011 (UTC)
- Try now. -- WOSlinker (talk) 23:44, 19 December 2011 (UTC)
Also not working on {{Muriel Spark}}. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 22:43, 24 December 2011 (UTC)
- Done -- WOSlinker (talk) 23:25, 24 December 2011 (UTC)
- That's great, thanks. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 11:57, 26 December 2011 (UTC)
And another: {{Top of the Pops}}. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 19:33, 26 December 2011 (UTC)
And again; I (converted this one manually. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 19:58, 28 December 2011 (UTC)
Also {{SDFCS Awards Chron}}. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 21:10, 29 December 2011 (UTC)
- Should work for {{Top of the Pops}} & {{SDFCS Awards Chron}} now. -- WOSlinker (talk) 22:58, 29 December 2011 (UTC)
- Thanks again. And could you look at covering {{Japan Railway Line}}, which calls {{Navbox}}, please? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 00:49, 31 December 2011 (UTC)
- I've added listclass passthrough and also added it to Category:Navigational box wrapper templates. -- WOSlinker (talk) 09:51, 31 December 2011 (UTC)
Campaign box
Could you make the script work with {{Campaign}}, too, please? Here's a (conversion ) Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 18:42, 23 December 2011 (UTC)
- Done -- WOSlinker (talk) 21:36, 23 December 2011 (UTC)
- Thank you. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 22:13, 24 December 2011 (UTC)
- Not working on {{Campaignbox War of the Spanish Succession}}, no doubt due to the – separator. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 22:20, 24 December 2011 (UTC)
Comma-separated lists
How about comma-separated lists, like {{Jalilabad Rayon}}? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 22:13, 24 December 2011 (UTC)
- Commas are sometimes within the individua litems on some of those navboxes, so can't really add it to the general script but created a specific version at User:WOSlinker/hlist-comma.js which does commas. Could be worth switching over to that version and doing Category:Azerbaijan rayon templates and then switching back to the standard version of the script. -- WOSlinker (talk) 23:13, 24 December 2011 (UTC)
- Thank you. If you trap "]], [[" you should avoid commas within list items in such lists, surely? anyway have a great Christmas! Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 23:19, 24 December 2011 (UTC)
- True. I've now added that to the general script. The other version is still available if needed for odd cases. -- WOSlinker (talk) 23:25, 24 December 2011 (UTC)
- Works well. Thank you. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 11:57, 26 December 2011 (UTC)
- True. I've now added that to the general script. The other version is still available if needed for odd cases. -- WOSlinker (talk) 23:25, 24 December 2011 (UTC)
- Thank you. If you trap "]], [[" you should avoid commas within list items in such lists, surely? anyway have a great Christmas! Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 23:19, 24 December 2011 (UTC)
In similar vein; period-separated lists, like {{Nineveh plains}}. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 14:21, 14 January 2012 (UTC)
Other types
Could you make the script work with {{Sidebar}}, please; for example: {{Maya civilization}}. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 01:05, 7 January 2012 (UTC)
Likewise {{Navbox education in Canada}} - no rush! Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 23:45, 29 January 2012 (UTC)
And here's anther one your script doesn't yet do: {{Members of the European Parliament 2009–2014}}. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 22:06, 31 January 2012 (UTC)
And {{Railway stations in Oxfordshire}}, please. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 13:15, 6 February 2012 (UTC)
- Updated the script to work with those last two. -- WOSlinker (talk) 19:31, 6 February 2012 (UTC)
- Thank you.
Which two? ;-)Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 21:36, 9 February 2012 (UTC)
- Thank you.
Also {{Country history}}; failed in this edit. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 21:36, 9 February 2012 (UTC)
- Just needed bodyclass = hlist -- WOSlinker (talk) 22:42, 9 February 2012 (UTC)
- Thank you. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 23:26, 13 March 2012 (UTC)
Infoboxes
Please can you look at making the script work with templates like {{Infobox Olympics Lebanon}}. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 23:26, 13 March 2012 (UTC)
- I've converted them all. -- WOSlinker (talk) 21:40, 14 March 2012 (UTC)
hlist in hockey boxes
All comments welcome at Wikipedia_talk:WikiProject_Ice_Hockey#Accessibility. Frietjes (talk) 22:04, 8 March 2012 (UTC)
Ya, input needed here. Alarbus (talk) 02:34, 9 March 2012 (UTC)
- Not really into test sort of debates but if I have any useful thoughts I'll post a message. -- WOSlinker (talk) 23:56, 9 March 2012 (UTC)
Template:Birth date and age
Hi,
Please could you update the Template:Birth date and age so that it is the same as Template:Birth date and age/sandbox? I have added the ability to sort by date of birth when the template is used in wikitable. TheBigJagielka (talk) 12:47, 9 March 2012 (UTC)
- The same should be done for {{Birth date}}, {{Death date}}, {{Death date and age}}, {{Start date}} & {{End date}}, please. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 20:18, 15 March 2012 (UTC)
- I've updated Template:Birth date and age -- WOSlinker (talk) 23:08, 15 March 2012 (UTC)
Thanks...
...for cleaning up after me! :) And sorry for the mess in the first place. I'm not entirely sure why I created the test in the template namespace, and even less why I didn't remove it afterwards. Cheers, Waldir talk 21:52, 15 March 2012 (UTC)
Wraps infobox
You might find {{Wraps infobox}} useful. It currently adds a category; we could make that switchable. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 21:02, 17 March 2012 (UTC)
Happy First Day of Spring!
Just wishing you a wonderful First Day of Spring 2012! Mifter (talk) 22:54, 20 March 2012 (UTC)
To spread this message to others, add {{subst:First Day Of Spring}} to their talk page with a friendly message.
Medal templates
Can you please add medaltemplates support to all infoboxes about sportsmen or at least make v list of the infoboxes lacking it so I can add it? -- Magioladitis (talk) 22:07, 24 March 2012 (UTC)
- I've added it to the list. I may have missed the odd one though that needs it as well. Didn't include any motorsport ones. -- WOSlinker (talk) 23:06, 24 March 2012 (UTC)
Infobox
Thanks for updating my infobox thing,
Much Appreciated,
Kind Regards,
Medal templates
Can you please add medaltemplates support to all infoboxes about sportsmen or at least make v list of the infoboxes lacking it so I can add it? -- Magioladitis (talk) 22:07, 24 March 2012 (UTC)
- I've added it to the list. I may have missed the odd one though that needs it as well. Didn't include any motorsport ones. -- WOSlinker (talk) 23:06, 24 March 2012 (UTC)
Infobox
Thanks for updating my infobox thing,
Much Appreciated,
Kind Regards,
A barnstar for you!
The Random Acts of Kindness Barnstar | |
Thank you for your fix on the Ballet template. Dkreisst (talk) 00:51, 11 April 2012 (UTC) |
Tracking categories
Do you think you could kindly help with this request, to add tracking categories to {{Geobox}}, please? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 20:15, 15 March 2012 (UTC)
- Now populating at Category:Geobox usage tracking. -- WOSlinker (talk) 22:58, 15 March 2012 (UTC)
- That's very helpful; thank you. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 23:46, 15 March 2012 (UTC)
I've removed geobox tracking by reverting to before your recent edits as it was resulting in a non-functional category message at the article top, for example [[Category:Geobox usage tracking for other type|PHYSIOGRAPHIC PROVINCE Wyoming Basin]] was showing as the top line at Wyoming Basin and similar on other pages. Rather than messing with the code I simply went back to a clean version. Please fix it if it is to be used. Vsmith (talk) 20:05, 23 March 2012 (UTC)
- Thanks for letting me know. It was more of an issue with the article than the template, which I've fixed with this edit. -- WOSlinker (talk) 20:24, 23 March 2012 (UTC)
- OK ... didn't recognize that as the problem. Now I can fix others I find such as Great Divide Basin where I see the same problem. Thanks, Vsmith (talk) 21:17, 23 March 2012 (UTC)
Follow-up
These have been very useful; thank you again. Could I now trouble you to take a look at Template_talk:Geobox#Mountains, please? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 17:17, 28 March 2012 (UTC)
- Nudge ;-) Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 17:46, 16 April 2012 (UTC)
hList script, redux
{{Byzantine Empire topics}} has a separator that's not recognised by your script Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 17:48, 16 April 2012 (UTC)
- Do you mean the → ? I'm not sure about wether they should be changed or not. -- WOSlinker (talk) 19:13, 16 April 2012 (UTC)
- I do; why wouldn't they be? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 20:01, 16 April 2012 (UTC)
- I would have just left them as they are. Anyway, they are not very common, so not really work adding to the script. Wouldn't take very long to do them manually. -- WOSlinker (talk) 20:15, 16 April 2012 (UTC)
- I do; why wouldn't they be? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 20:01, 16 April 2012 (UTC)
Template:Infobox Dalai Lama
Updating Template:Infobox Dalai Lama to use {{Infobox}} should be easy now. -- Magioladitis (talk) 16:18, 17 April 2012 (UTC)
- Done -- WOSlinker (talk) 19:05, 17 April 2012 (UTC)
My goodness you're fast
Wikipedia:Database reports/Unbelievable life spans is hot off the press and you've already corrected many of the entries. Nice work. :-) --MZMcBride (talk) 18:40, 22 April 2012 (UTC)
Template:Infobox AFLretired
Do you think you could replace the instances of Template:Infobox AFLretired with Template:Infobox AFL player or Template:Infobox AFL biography? Any of the two would be fine. -- Magioladitis (talk) 16:05, 17 April 2012 (UTC)
Infobox AFLretired needs to be updated to support birth_place and death_place and seperate the parameters in the infoboxes and remove Color and fontcolor from them too. -- Magioladitis (talk) 19:27, 22 April 2012 (UTC)
I think I partially did it but someone needs to check and finish the job. -- Magioladitis (talk) 19:57, 22 April 2012 (UTC)
- I've updated the articles that use it. -- WOSlinker (talk) 20:32, 22 April 2012 (UTC)
Moreover, height needs to be merged in a single parameter. This is the first step before we separate height and weight parameters in the remaining infoboxes. -- Magioladitis (talk) 20:00, 22 April 2012 (UTC)
- Height is not really supported by the infobox but in the code heightin anf heightft can be found. {{Infobox Arena Football player}} uses heigthft and heightin. The other two infoboxes use hieghtweight is is also uncommon. -- Magioladitis (talk) 20:38, 22 April 2012 (UTC)
stat1label needs to change to statlabel1 and stat1value needs to change to statvalue1 to fit all other infoboxes that use the same method. The same for other numbers. -- Magioladitis (talk) 20:43, 22 April 2012 (UTC)
- It now supports both formats, so can now switch over and then remove support for old format. -- WOSlinker (talk) 21:02, 22 April 2012 (UTC)
- I replaced old format with new format in all pages. -- Magioladitis (talk) 10:50, 23 April 2012 (UTC)
- Woah, maybe I'm misreading this, but you guys do know that Template:Infobox AFL player or Template:Infobox AFL biography are for Australian Football League players, while Template:Infobox AFLretired and Template:Infobox Arena Football player are for Arena Football League players, completely different sports, right?
Anyway, I was actually stopping by to say that your hlist script doesn't work when|
is used as the separator. Not a huge deal, because I just run a search and replace on navboxes that use this, but it would make things easier if the script was able to treat|
the same way it treats, say, {{!}}. Cheers, Jenks24 (talk) 21:55, 24 April 2012 (UTC)
- I try to merge Template:Infobox AFL player with Template:Infobox AFL biography and Template:Infobox AFLretired with Template:Infobox Arena Football player. I think we are almost done. Then we can see which sport infoboxes could be merged further. -- Magioladitis (talk) 14:37, 25 April 2012 (UTC)
Template:Infobox PBA player
Some instances of the infobox still use ImageWidth instead of image_size. Can you please fix them for me? -- Magioladitis (talk) 20:03, 2 May 2012 (UTC)
- All done. -- WOSlinker (talk) 09:59, 5 May 2012 (UTC)
- Thanks. -- Magioladitis (talk) 10:05, 5 May 2012 (UTC)
Your recent it to Template:Infobox mountain
Could you explain your last edit to {{Infobox mountain}}?11:28, 8 May 2012 (UTC) –droll [chat] 17:17, 8 May 2012 (UTC)
- There's no need to transclude {{Infobox map}} if the map param is not set when using Infobox mountain. -- WOSlinker (talk) 12:25, 8 May 2012 (UTC)
- Can I make a suggestion? The very first If statement in infobox map tests whether the map parameter is empty. If you are worried about the caption, you can simply move one pair of braces and get exactly the same results as you get with your edit. I would suggest tweaking infobox map, and revert your changes to the other infoboxes. —hike395 (talk)
- The main reason is to stop transclusions of an unused template, so that when Special:WhatLinksHere/Template:Infobox_map is used, it only shows articles which actually have a map. -- WOSlinker (talk) 17:12, 8 May 2012 (UTC)
Infobox mountain
Hi,
Not quite sure how this happened but {{infobox mountain}} seems to be malfunctioning with regards to the location map.
It should display the relief map by default (normally the alt map), falling back to the default when not available or specifically requested. However, that behaviour seems to have been reversed recently. Can't see any reason for that on the talk page and documentation seems to support this as an error.
As you are most recent editor (and know your way round these templates) could you have a look?--Nilfanion (talk) 23:10, 10 May 2012 (UTC)
- Have a look now & see if it's fixed. -- WOSlinker (talk) 07:16, 11 May 2012 (UTC)
- Yep, that's worked thanks.--Nilfanion (talk) 10:31, 11 May 2012 (UTC)
exception for hlist
you should be able to get this to work, but I think you need to add the "!important" keyword to override the default. so, instead of
text-align: inherit;
use say
text-align: inherit !important;
but I could be wrong since I can't really test it (or maybe I could try it in my own personal css file). Frietjes (talk) 22:36, 18 May 2012 (UTC)
- The following worked for me in my vector.css
/* lists in data cells are always left-aligned unless they also use the hlist class */ .wikitable.hlist td ul, .wikitable.hlist td ol, .wikitable.hlist td dl { text-align: inherit !important; }
- Frietjes (talk) 22:39, 18 May 2012 (UTC)
- we could also add the same for plainlist. Frietjes (talk) 22:44, 18 May 2012 (UTC)
- I've added it into MediaWiki:Common.css. Oddly, when I was testing earlier in my own css page, it seemed to work some of the time without the !important but not all of the time. Might has depended on the order in which the css files were loaded by the browser. -- WOSlinker (talk) 05:24, 19 May 2012 (UTC)
Infobox on Montacute House
Hi, Although I'm on a wikibreak I noticed you had made the infobox show on Montacute House. You might want to take a look at the talk page where this was discussed at great length & the collapsed infobox used as a compromise. Some of the major editors of this article might object to your action - although I'm all in favour - as you can see from the discussion.— Rod talk 19:55, 21 May 2012 (UTC)
- Hand't noticed that. Just checked the discussion now & noticed that User:GiacomoReturned hasn't edited much for a few months anyway, so may not be as much of an issue now. I may leave it as is now & see what happens. -- WOSlinker (talk) 21:07, 21 May 2012 (UTC)
Nowrap and hlist
Hello.
You recently removed template nowrap from a few navboxes that I've created. Actually, nowrap is needed here, otherwise there will be linebreaks at undesired places (in the middle of an entity). I've seen it myself.
So if you don't mind, I'll revert this on "my" templates.
Regards
HandsomeFella (talk) 09:43, 23 May 2012 (UTC)
- Are you using IE 6 or 7 ? In MediaWiki:Common.css there is the following CSS:
.navbox .hlist dd,
.navbox .hlist dt,
.navbox .hlist li {
white-space: nowrap; /* Nowrap list items in navboxes */
white-space: normal !ie; /* IE < 8 no-wraps entire list, so disable it */
}
- So hlist in a navbox automatically includes nowraping for everything apart from IE 6 & 7. -- WOSlinker (talk) 10:44, 23 May 2012 (UTC)
- Actually it's IE 8. I am currently at work (oops...), and can't say off the top of my head what I have at home, but it's probably IE 8 there too. So maybe the code doesn't work? HandsomeFella (talk) 11:25, 23 May 2012 (UTC)
- Hmm, just checked it against IE 8 & 9 with this old revision of one of the templates and then resized the window and the wrapping was fine. Unfortunatly, I don't have IE 6 or 7 to hand to test those.
- Strange. When I pick up Template:2008 Summer Olympics water polo convenience template navbox, remove nowrap for the men's game A9 (Australia–Canada), which appears as the first item on the second line following a linebreak, and then preview it, "A9 (Australia–" moves up to the first line, and "Canada)" stays on the second line, which is obviously not what one wants. HandsomeFella (talk) 11:51, 23 May 2012 (UTC)
- Tried the old version above, and same thing happens: linebreaks between the dot and "Ax" (game designation), between "Ax" and left parenthesis, and between endash and question mark, as I gradually resize the window. HandsomeFella (talk) 12:12, 23 May 2012 (UTC)
- Also, as a separate thing, I've added some br tags to Template:2012 Summer Olympics handball convenience template navbox to make the groups narrower and give more from to the list section. Hope you don't mind. A similar thing could be done to the other templates. -- WOSlinker (talk) 11:43, 23 May 2012 (UTC)
- Hmm, just checked it against IE 8 & 9 with this old revision of one of the templates and then resized the window and the wrapping was fine. Unfortunatly, I don't have IE 6 or 7 to hand to test those.
- Actually it's IE 8. I am currently at work (oops...), and can't say off the top of my head what I have at home, but it's probably IE 8 there too. So maybe the code doesn't work? HandsomeFella (talk) 11:25, 23 May 2012 (UTC)
Template:Jctint/conversion
Could you look at {{Jctint/conversion}}
? It works just great, but I discovered on U.S. Route 161#Major intersections that inputting 10 miles will convert to 20 km instead of 16 km. I had admin put in what I thought would fix the issue, but I discovered that over 100 miles, the km column was rounding to the nearest 10 km. Thanks. –Fredddie™ 03:06, 25 May 2012 (UTC)
- I've fixed it. -- WOSlinker (talk) 07:06, 25 May 2012 (UTC)
- Thank you. It looks like I was really close. –Fredddie™ 22:25, 25 May 2012 (UTC)
Membership
See Wikipedia:DRV#Template:Membership. Frietjes (talk) 00:01, 26 May 2012 (UTC)
Placeholder image
Could you please link me the discussion where the community decided that "placeholder image" is forbidden? See this Category:Infobox person using placeholder image. In far far 2008, this discussion, the decision to delete don't reached consensus. --Kasper2006 (talk) 06:33, 29 May 2012 (UTC)
- I've just removed a few that were not the most common ones such as & -- WOSlinker (talk) 06:56, 29 May 2012 (UTC)
- Naaa.... I think that that images are better than others and if you see this commons category commons:Category:Persons placeholders, you can see that are "Placeholder images". You must to tell me if you don't like, the images must to be removed? If no, and without community consensus, I think that is possible to re-put it. --Kasper2006 (talk) 07:33, 29 May 2012 (UTC)
- There is no consensus either way. The question has been asked a few times but nothing was ever decided. If it was no then there wouldn't be any placeholder images about. If it was yes then all the Infobox templates would show the placeholder images automatically if no image was set. But what we have instead is that there are a small percentage of articles that have a placeholder image. -- WOSlinker (talk) 08:52, 29 May 2012 (UTC)
- "Small percentage" you said... than let's go to delete this 116. --Kasper2006 (talk) 08:58, 29 May 2012 (UTC)
- No, there are more than that. See [1]. I've just removed the tracking category from the Infobox templates as there doesn't seem much use for it. I originally setup that category to see how the placeholder images were being used. -- WOSlinker (talk) 09:55, 29 May 2012 (UTC)
- "Small percentage" you said... than let's go to delete this 116. --Kasper2006 (talk) 08:58, 29 May 2012 (UTC)
- There is no consensus either way. The question has been asked a few times but nothing was ever decided. If it was no then there wouldn't be any placeholder images about. If it was yes then all the Infobox templates would show the placeholder images automatically if no image was set. But what we have instead is that there are a small percentage of articles that have a placeholder image. -- WOSlinker (talk) 08:52, 29 May 2012 (UTC)
- Naaa.... I think that that images are better than others and if you see this commons category commons:Category:Persons placeholders, you can see that are "Placeholder images". You must to tell me if you don't like, the images must to be removed? If no, and without community consensus, I think that is possible to re-put it. --Kasper2006 (talk) 07:33, 29 May 2012 (UTC)
template:infobox swimmer additional parameter "pb"
Hi! May I ask your opinion whether a parameter for "personal best/s" will be also suitable at the T:infobox swimmer? See T:infobox athlete as an example. Cheers. CeeGee (talk) 14:32, 29 May 2012 (UTC)
- Well, if infobox athlete has it then doesn't seem to be much of a reason not to have it for swimmers as well. You could always just add a note on Template talk:Infobox swimmer and see if anyone else has anything to say about it and if not then just go ahead and add it. -- WOSlinker (talk) 15:44, 29 May 2012 (UTC)
- IMO the reason is that a record in swimming isn't like athletics record. For a swimmer of 20 years ago is not significant know his time, because you can't compare the periods. --Kasper2006 (talk) 16:17, 29 May 2012 (UTC)
Substitution checking
Hi WOS. Template:Userspace draft calls Template:New unreviewed article which calls Template:Ambox and I am trying to get the substitution detection working by passing subst through. It's not working as I hoped - can you take a look? — Martin (MSGJ · talk) 06:14, 2 June 2012 (UTC)
- Seems to be working when I tried it out. Do you have an example where it's not working? -- WOSlinker (talk) 07:12, 2 June 2012 (UTC)
- So it is, sorry. I was expecting the red error message to show up, but now I remember that only happens when the name parameter is used. Thanks anyway — Martin (MSGJ · talk) 17:11, 2 June 2012 (UTC)
hlist class
Hi WOSlinker, I see from Special:Contributions/WOSlinker that you've made thousands of edits, single-handedly converting all the Navigational boxes without horizontal lists to use the hlist class. Are you doing this manually? Shouldn't there be some way to write a bot or at least use AWB to help with the job? Set theorist (talk) 09:53, 6 June 2012 (UTC)
- I'm using some javascript assisted edits, using User:WOSlinker/hlist.js. It does some of the work but still needs checking before saving as sometimes it doesn't do everything correctly. There are other people use it or their own versions as well. -- WOSlinker (talk) 10:21, 6 June 2012 (UTC)
thank you
Thank you for the improvements to the Balanchine ballets template. — Robert Greer (talk) 21:29, 8 June 2012 (UTC)
Zero-level categories
Hi. Thanks for working on the language categories. But please don't add zero level categories. There is long standing previous consensus to not have zero level language categories. (You're not the only one - I've heard that there is a bot somewhere automatically creating them too.) - jc37 17:03, 15 June 2012 (UTC)
- I took a closer look at your edits. My apologies, you were categorising the templates, not adding categories to categorise Wikipedians through transclusion. Sorry for the misunderstanding : ) - jc37 22:32, 15 June 2012 (UTC)
jct, again
Ok, quick question. When we added the "extra" parameter, {{jct/extra}} was created to handle which graphic was displayed between airports, etc. I just added a switch so that if the country=AUS, then the airport graphic is switched to one with a blue background. Can you add whatever we need to pass the country through to that subtemplate so that the switch works? Thanks! Imzadi 1979 → 07:25, 19 June 2012 (UTC)
- I've done that. -- WOSlinker (talk) 08:40, 19 June 2012 (UTC)
- Thanks! Imzadi 1979 → 08:50, 19 June 2012 (UTC)
Category:Unsorted userboxes
Thanks for adding a category to {{User 1ofActive}}, you prompted me to put it in its proper category Category:Edit user templates. For future reference, Category:Userboxes should contain only subcategories, userboxes should be put in a specific subcategory or Category:Unsorted userboxes. ··gracefool☺ 16:51, 22 June 2012 (UTC)
- I'm just putting them in the root category as a starting point. Will look at moving them to sub-cats later on. -- WOSlinker (talk) 18:05, 22 June 2012 (UTC)
- Yeah I'm suggesting you use Category:Unsorted userboxes instead. ··gracefool☺ 21:03, 23 June 2012 (UTC)
A barnstar for you!
The Original Barnstar | |
for your great work in creating and managing templates ► robomod 10:42, 24 June 2012 (UTC) |
Hide if placeholder image
The Template:Hide if placeholder image (bravo!) doesn't seem to work in Template:Infobox person for the article Narges Mohammadi. I can't understand why not. Do you? -- Michael Bednarek (talk) 13:48, 25 June 2012 (UTC)
- It is using a different placeholder name. I've added that type to the template. -- WOSlinker (talk) 15:16, 25 June 2012 (UTC)
- And these 135? --Kasper2006 (talk) 17:04, 25 June 2012 (UTC)
- Are any of those used on the English Wikipedia? -- WOSlinker (talk) 17:33, 25 June 2012 (UTC)
- And these 135? --Kasper2006 (talk) 17:04, 25 June 2012 (UTC)
jct needs a sibling
In short, we could use someone who understands how jct works well enough to make a sibling template, {{jctname}} or similar. The idea would be that it would work substantially the same with a twist in the output, and hopefully use all of the subtemplates and back end that's in place.
Instead of getting:
AK-9 (Seward Highway) – Anchorage
we'd get:
Seward Highway (AK-9) – Anchorage
Basically, it would put the priority on the names over the numbers, usable for places like Alaska or Australia where the names have the priority, and any numbers are secondary. There's a discussion about it over at Template talk:Jct#Coding Jct to allow "name (route)", but it's an outgrowth of additional discussions at WT:RJL and the Western Australia WikiProject. Imzadi 1979 → 07:33, 27 June 2012 (UTC)
- It's now ready to test, but only for one or two roads. Will add 3 & 4 later if everything ok. -- WOSlinker (talk) 13:00, 27 June 2012 (UTC)
- Seward Highway (AK-9) – Anchorage
- Seward Highway (AK-9) / Edgerton Highway (AK-10) – Anchorage
Category: English List A limited-overs cricketers
See ny proposal to make this category Category:English List A limited-overs cricketers into a list, as a more appropriate format. Hugo999 (talk) 02:31, 4 July 2012 (UTC)
Template:State highways in Washington related to I-82 has been nominated for deletion. You are invited to comment on the discussion at the template's entry on the Templates for discussion page. Imzadi 1979 → 06:53, 6 July 2012 (UTC)
Jimbox
Thanks for that. When I set up the template I had an idea I might be doing something wrong, but wasn't sure what it was Jimfbleak - talk to me? 05:34, 13 July 2012 (UTC)
WikiProject Infoboxes
Hi. There is a try to revive WikiProject Infoboxes by doing some tasks. One of these is to support bare filenames in all infoboxes. Can you help on that? You are invited to participate in Wikipedia:WikiProject Infoboxes with ideas, suggestions and ofcourse your edits :) -- Magioladitis (talk) 03:23, 16 July 2012 (UTC)
New Infobox
Maybe you are interested in helping us with Wikipedia_talk:WikiProject_Infoboxes#Task:_Start_cleaning_pages_that_have_New_infobox_in_their_talk_page. There are some wikitables taht need to be converted in Infoboxes. -- Magioladitis (talk) 21:59, 21 July 2012 (UTC)
- Maybe, but I'm also working on Category:Navigational boxes without horizontal lists a lot so we'll see. -- WOSlinker (talk) 01:26, 22 July 2012 (UTC)
Template:South Korea rapid transit
Thank you so much for editing the coding. Now I can much more easily read it and update as necessary :) ₪RicknAsia₪ 14:58, 3 August 2012 (UTC)
A barnstar for you!
The Original Barnstar | |
Thanks for your helpful response at Wikipedia:Village pump (technical) to correct formatting errors that were occurring with Template:Deletion sorting. The template is working correctly at this time! Northamerica1000(talk) 06:51, 6 August 2012 (UTC) |
Noinclude/includeonly
I think using includeonly inside noinclude in Template:Paris Métro Line 12 is wrong. Can you please check and fix? -- Magioladitis (talk) 18:43, 6 August 2012 (UTC)
- I've fixed it. -- WOSlinker (talk) 21:38, 6 August 2012 (UTC)
- Thanks. -- Magioladitis (talk) 22:46, 6 August 2012 (UTC)
More standardisation
Can you please take a look at Wikipedia_talk:WikiProject_Infoboxes#Task:_URL_parameter_standardisation? We could for instance start with Infoboxes about persons. -- Magioladitis (talk) 17:50, 7 August 2012 (UTC)
hlist
seems not very controversial, but I posted a thread for adding hlist to Infobox music genre. Frietjes (talk) 20:40, 7 August 2012 (UTC)
- The nowrap feature of hlist currently only works in navboxes due to some of the css in MediaWiki:Common.css. It still wraps in infoboxes. -- WOSlinker (talk) 21:25, 7 August 2012 (UTC)
.navbox .hlist dd,
.navbox .hlist dt,
.navbox .hlist li {
white-space: nowrap; /* Nowrap list items in navboxes */
white-space: normal !ie; /* IE < 8 no-wraps entire list, so disable it */
}
.navbox .hlist dd dl,
.navbox .hlist dt dl,
.navbox .hlist li ol,
.navbox .hlist li ul {
white-space: normal; /* But allow parent list items to be wrapped */
}
- e.g.
Thisistheheader |
|
---|
- interesting. is there any reason why we cannot add the same for the infobox class? Frietjes (talk) 21:49, 7 August 2012 (UTC)
- Don't see any reason why not. I've added a new discussion at MediaWiki talk:Common.css to see if anyone has any comments. -- WOSlinker (talk) 22:11, 7 August 2012 (UTC)
- great. by the way, sidebar uses "class = nowraplinks" by default, which would generally fix the issue in the infobox in question, since they are almost all (if not all) lists of links. however, it's possible that there may be other links in the infobox which may need to wrapped. Frietjes (talk) 22:25, 7 August 2012 (UTC)
- Don't see any reason why not. I've added a new discussion at MediaWiki talk:Common.css to see if anyone has any comments. -- WOSlinker (talk) 22:11, 7 August 2012 (UTC)
- interesting. is there any reason why we cannot add the same for the infobox class? Frietjes (talk) 21:49, 7 August 2012 (UTC)
Infobox University
Wikipedia_talk:WikiProject_Infoboxes#Chnage_Infobox_University_to_support_bare_filenames_for_images. -- Magioladitis (talk) 12:29, 8 August 2012 (UTC)
Need to clean ImageWidth parameter from Infobox gridiron football person
Some pages of {{Infobox gridiron football person}} still use the old ImageWidth parameter. It should be renamed to image_size. |Color=
and |fontcolor=
should be removed. -- Magioladitis (talk) 12:31, 8 August 2012 (UTC)
Error in template
Template talk:WikiProject United States#Error in template--Traveler100 (talk) 05:13, 9 August 2012 (UTC)
Category:Heroes task force
Category:Heroes task force, which you created, has been nominated for possible deletion, merging, or renaming. If you would like to participate in the discussion, you are invited to add your comments at the category's entry on the Categories for discussion page. Thank you. Armbrust, B.Ed. WrestleMania XXVIII The Undertaker 20–0 06:47, 13 August 2012 (UTC)
Template:Citation needed cheap has been nominated for deletion. You are invited to comment on the discussion at the template's entry on the Templates for discussion page. -- Beland (talk) 14:48, 18 August 2012 (UTC)
Tracking category request
I asked a question at User_talk:Magioladitis#priority parameter. Also, could you explain the ifeq statement? I've never seen one like that before. Bgwhite (talk) 08:02, 21 August 2012 (UTC)
Flatlist/microformat
Hi, please can you explain why you created {{Flatlist/microformat}}? Cheers, Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 13:10, 26 August 2012 (UTC)
- I wanted to see which templates where using flatlist and it wasn't very easy to do so with all those microformat templates on the documentation pages. Once I'd switched them over it was easier to find the templates and I then changed some of those to just use listclass=hlist in the navboxes instead of using flatlist. -- WOSlinker (talk) 14:37, 26 August 2012 (UTC)
- That's clever! Thanks for the explanation. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 17:35, 26 August 2012 (UTC)
Template:Infobox cricketer
Can you please add birth_date and death_date support in addition to the existing ones? Nobody disagreed in the talk page. -- Magioladitis (talk) 11:45, 30 August 2012 (UTC)
- I've added support for birth_date, birth_place, death_date & death_place. -- WOSlinker (talk) 11:58, 30 August 2012 (UTC)
- Thanks. Now we need to find a way to convert. Today I'll be working with Infobox military person to convert images to bare filenames. As soon as I finish this I'll have a look unless you find a solution earlier. If I am going to work with it, I'll need some tracking category. -- Magioladitis (talk) 12:02, 30 August 2012 (UTC)
Bare filenames for Infobox automobile
Wikipedia:Bot_requests#Updates_to_.7B.7BInfobox_automobile.7D.7D_et_al.. -- Magioladitis (talk) 13:31, 14 August 2012 (UTC)
- I created Category:Infobox automobile image param needs updating. -- Magioladitis (talk) 19:39, 14 August 2012 (UTC)
I also removed historical parameters: similar, parent_company, fuel_capacity, fuel_economy, electric_range. There may be some leftovers due to unbalanced brackets. -- Magioladitis (talk) 20:03, 14 August 2012 (UTC)
If you have any handy tool to convert filenames please use it or tell me how to use it. -- Magioladitis (talk) 00:08, 15 August 2012 (UTC)
- Sorry, I don't have anything already built. Maybe you could as Frietjes for a regex that could convert them. -- WOSlinker (talk) 07:04, 15 August 2012 (UTC)
- Thanks for the reply. I already did. :) -- Magioladitis (talk) 07:36, 15 August 2012 (UTC)
I created User:Yobot/Automobile but it needs adjustments. Any corrections accepted. -- Magioladitis (talk) 09:16, 15 August 2012 (UTC)
Main problem: We need to find in |image=
values of the form [[file:example.jpg]]caption here and move the caption to the |caption=
. -- Magioladitis (talk) 17:15, 16 August 2012 (UTC)
We also need a tracking category or a list for pages with two Files in |image=
. -- Magioladitis (talk) 17:50, 16 August 2012 (UTC)
- Tracking category has only 9 pages now. -- Magioladitis (talk) 17:55, 2 September 2012 (UTC)
Convert more to bare filenames
If we have more infoboxes where we can convert them to bare filenames, I have a script now with which I can do the job. -- Magioladitis (talk) 17:56, 2 September 2012 (UTC)
{{USRD}} and needs-kml
I tried adding the above flag that checks for the presence of the KML page. It displays fine, but when a KML page is added, it does not refresh the category; a null edit is required to fix it. Do you have any ideas as to why that is? --Rschen7754 00:07, 4 September 2012 (UTC)
- I think they do refresh eventually but it can take a long time since creating a kml page doesn't cause the talk page to get recategorized. Someone else may be able to explain the reasons better than me though. Try asking on WP:VPT if you want. -- WOSlinker (talk) 17:37, 4 September 2012 (UTC)
Habits
I seemingly cannot shake the habit of using brackets in if … then … end
. You seemingly cannot shake the habit of semicolons at the ends of statements. ☺ Uncle G (talk) 13:53, 4 September 2012 (UTC)
Infobox planet
I am interested of why you made this change? The default color has been always present, but was lost during the recent conversion to the meta-template. It was not a new addition. I only fixed an error. Ruslik_Zero 10:40, 12 September 2012 (UTC)
- If you read the template code for the old version more carefully you will notice that the paleturquoise is inside a noinclude tag, so it was only shown on the template page and not when the template was used on any other pages. -- WOSlinker (talk) 10:44, 12 September 2012 (UTC)
Data for Module:Convert
I have done some major refactoring of Module:Convert to implement my plan to create the required data table from a master list. I have put the resulting data into the module, and the source list is here. If we agree on that procedure, it will be important that updates to the conversion data occur in the master list only—data in the module should not be changed except by copying the results of processing the master list.
I am working on a list I have created by copying all data from Template:Convert/list of units (and each of the "full list" pages that it links to). I hope to update my master list with nearly all the conversion data in a few days, but several details will have to be determined before it is complete (for one thing, the power units are not documented). Johnuniq (talk) 11:51, 16 September 2012 (UTC)
Templates that lack documentation
Template:Football in El Salvador and similar. I created Template:Football in Costa Rica/doc. Please check for mistakes and if possible fix more of them. -- Magioladitis (talk) 16:10, 16 September 2012 (UTC)
Navbox|child
Hi, please could explain why you have changed {{Navbox subgroups
to {{Navbox|child
at Template:India topics. The Navbox documentation recommends using {{Navbox subgroup}}
so I was wondering whether there is a reason for doing it like this? Lmatt (talk) 02:48, 17 September 2012 (UTC)
- Hadn't noticed that in the docs. Anyway, Navbox subgroup just calls Navbox with the child option, so there seemed little point to me in using it when Navbox|child could be used directly. -- WOSlinker (talk) 06:29, 18 September 2012 (UTC)
Talk pages not showing up in a category
There are a talk pages not showing up in Category:Biography articles with blank priority parameter
Some examples are: Talk:Alain Junior Ollé Ollé, Talk:Albert Duro, Talk:Barrie Vagg and Talk:Billy Payne (footballer). The last two have been since correct.
What is weird is that at the bottom of the talk pages, it does say they are part of the category. Can you think of what is going on? Bgwhite (talk) 08:35, 18 September 2012 (UTC)
- Not sure why that is but a null edit on the first fixed it and it's in the category now. -- WOSlinker (talk) 08:38, 18 September 2012 (UTC)
Convert nowrap
I have noticed some unexpected results from {{convert}}. It often puts
between the output value and unit, but not between the input value and its unit. Also, for temperature, it uses custom nowrap html (in addition to nbsp for the output). The following shows two examples; the first line is the template, and the second is the resulting wikitext.
{{convert|10|mi|km}} 10 miles (16 km) {{convert|0|C|F}} <span style="white-space:nowrap;">0 °C</span> <span style="white-space:nowrap;">(32 °F)</span>
Can you think of a reason why the span element would be used? I'm thinking that Module:Convert should use nbsp for both the input and output units, and should not use span. Unfortunately that would break our testing because the module results would differ from the expected. I suppose I could start by trying to reproduce exactly what the template does, and remove the unnecessary span later? Ugly.
I think we should have an enwiki talk page to (occasionally) raise issues like this—preferably dedicated to convert as it is sufficiently complex. A talk page on test2 would be ok, but it would be one more page that probably should be imported to enwiki later (I'm thinking that some history of discussions might be useful). On such a page I would speculate about how a transition from template to module might occur (with difficulty!). Would such a talk page be useful? Where? Johnuniq (talk) 03:49, 20 September 2012 (UTC)
- I think it's just whoever created each sub-template of convert did it the way they want to, so not everything in convert is standardised. When it's time to do the proper testing, we could create a separate lua template which would tidy up the output from both the current convert and the new convert, removing spans and replacing 's with spaces, which would then make the comparisons work better. Even then, I think that sometimes we might want to accept a few fails for the final version since some of the current convert code is a bit odd sometimes. Perhaps a talk page at Template talk:Convert/lua would be a good place for it all. -- WOSlinker (talk) 06:52, 20 September 2012 (UTC)
- Yes, thanks, that sounds right. I was over-thinking it, and forgetting that there are thousands of pages involved in the template. Your Module:TestTidy is very sweet. Johnuniq (talk) 21:33, 20 September 2012 (UTC)