User talk:קיפודנחש

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

Template parameter[edit]

I wanted to say thank you for creating the template parameter gadget. I stumbled across it today, and I can tell it is going to be very useful. Also, I have created a documentation page for the template in your userspace [1] by copying your post from the Village Pump. Thank you! ~Adjwilley (talk) 21:11, 19 November 2012 (UTC)

you are welcome (and thanks for salvaging the doc from vpt). unfortunately, i do not know my way around enwiki (politically speaking) to successfully push this to become a sanctioned gadget (as it is on hewiki and arwiki). peace - קיפודנחש (talk) 22:30, 19 November 2012 (UTC)



I've seen you around the village pump and was just wondering if you'd mind adding a Latin-alphabet component to your signature as a courtesy to those of us who can't read Hebrew? There's a suggestion at WP:SIG#Non-Latin.

Best wishes, — Hex (❝?!❞) 10:57, 5 December 2012 (UTC).

sure, no problem. i usually do not touch my sig in different wikis, and it's the same everywhere (i have > 0 contribution counter in some 17 wikis, though many of them are just for single-digit edits - see Special:CentralAuth/קיפודנחש).
peace - קיפודנחש (talk) 14:49, 5 December 2012 (UTC)
test -קיפודנחש (aka kipod) (talk) 14:51, 5 December 2012 (UTC)
Face-smile.svg Thank you! — Hex (❝?!❞) 15:00, 5 December 2012 (UTC)
  • Shalom,

I would like to learn the alphabet you use (Hebrew, right?) and was wondering if you had any recommendations for a good site to do that? Thanks Kipod. Technical 13 (talk) 01:07, 16 May 2013 (UTC)

ahmmm... believe it or not, but when i learned the language there was no internet (literally - it took them quite a few years after this event to even _begin_ developing ARPANET, not to mention the World Wide Web...). you guessed correctly - the language is Hebrew, but i am not familiar with good sites that teach it. i am sure there are such sites, though. if you are serious about it and willing to invest some money, i heard good things about Rosetta Stone (not specifically the Hebrew version - as mentioned, i have no use for it). If all you are interested in is just the alphabet, you should probably start by reading Hebrew alphabet, and continue from there. peace - קיפודנחש (aka kipod) (talk) 15:09, 16 May 2013 (UTC)
Thank you! It seems like it shouldn't be too difficult to learn. In the meantime, I've developed User:Technical_13/Scripts/CommonHebrewUserNames.js so that I can clearly tell your posts apart. I'd like to develop that script to be able to "translate" if you will any Hebrew name into English/Latin. Would you be interested in helping with that? Face-smile.svg Technical 13 (talk) 14:30, 17 May 2013 (UTC)


Following the discussion at WP:VPT I've just given you the rollback permission. I would suggest caution in using it for anything other than testing but you seem trustworthy enough to read the documentation before using it for anything else. If you do not want the permission just let me know and I'll remove it again. Dpmuk (talk) 05:09, 10 December 2012 (UTC)

so i created User:קיפודנחש/apiRollback.js.
here is how it works: it changes the behavior of the "rollback" link in:
  • recent changes
  • watchlist
  • history view
  • diff view
i do not know of any other place where "rollback" links exist, but if there is such a place, we prolly want to add it too.
the new behavior is so:
  1. when pressing "rollback", instead of being transferred to the diff page once the rollback is successful, you stay on the same page, and a little message appears telling you the rollback was successful, and the "rollback" link itself disappears.
  2. if you hold the <Alt> key while pressing "rollback", you are prompted to provide a summary. if you press "cancel" or just leave the summary line empty, no rollback will occur. otherwise, the summary you entered will show on the rollback instead of the default one.
  3. if you add to Special:Mypage/common.js the following line
    window.watchOnRollback = 1;
    rolling back an edit will automatically add the page to your watchlist.
let me know what you think.
peace - קיפודנחש (aka kipod) (talk) 19:32, 10 December 2012 (UTC)

Consider me appeased![edit]

Success. — Francophonie&Androphilie(Je vous invite à me parler) 16:43, 11 December 2012 (UTC)

For your work at WP:VPT[edit]

Since you already have a da Vinci Face-smile.svg:

Compass barnstar.png The Guidance Barnstar
For your work at WP:VPT —[AlanM1(talk)]— 05:13, 24 December 2012 (UTC)

and ribbon Guidance Ribbon.png.


I've used this to start generating some data on the statistics. =) A belated thank you. Biosthmors (talk) 19:26, 14 January 2013 (UTC)

Lua chess diagrams and graphs[edit]

I notice your chess diagram script requires CSS lines. Is this a general problem in Lua we should tell people about? I was fooling around with a "plotter" routine for generally making graphs from numbers at [2] but I was having trouble trying to figure out absolute and relative positioning code that would actually insert a working graph. Is this just me being clueless (very possible) or is that too something that would require common.css to be changed? If so we should point out this general problem. Wnt (talk) 03:03, 21 February 2013 (UTC)

i just took the easy rout, i guess. it is possible to inject the "absolute" and "relative" into the styles directly instead of using CSS, so this is not necessarily a limitation of the system. in many cases (like the chess example) 2 simple lines in the CSS can save countless repetitions of style="position:absolute" and style="position:relative;" statements, but it's not really necessary to use CSS.
in any event, it should not be impossible to add a line or two into common.css if it makes life easier for a popular enough template. just look in Mediawiki:common.css - it's full of stuff that's specific to specific templates.
peace - קיפודנחש (aka kipod) (talk) 06:43, 21 February 2013 (UTC)
Thanks! I RTFMd and started Template:Plotter. I hope eventually it is something useful, though admittedly there's a way to go... Wnt (talk) 07:57, 22 February 2013 (UTC)

Re: The user talk on hewiki here[edit]

Shalom, I want to thank you anyway because the solution I figured out today, is based on a chess diagram which seems you worked on, too. --DancingPhilosopher my talk 15:06, 22 February 2013 (UTC)

Wikipedia:Lua requests[edit]

Hi קיפודנחש, I noticed you worked on a Lua script at Module:Chess from fen. I just created a request page for Lua scripts at Wikipedia:Lua requests and it'd be great if you could watchlist it to assist anyone who needs help with Lua scripts. Thanks! Dcoetzee 23:30, 23 February 2013 (UTC)

sure thing. thanks.
if you are active in this area, i think it might be a good idea to create some kind of "Lua workshop" also, where people active in writing lua modules will be able to ask question, share "best practices" knowledge, and maybe even do some shared development (this is possible with Lua, because you can use one module from another module).
for instance, i just learned that lua can be snadboxed using the "Template sandbox" infrastructure - i learned it from a comment-in-passing made by User:Anomie in WP:VPT, but it's really not documented anywhere, ttbomk.
so if there was this "Lua workshop", this kind of knowledge could be accumulated, and new developers would have some resource to learn and get assistence.
if ever such a "Workshop" is established, i would love to be notified, just like you notified me about the requests page.
peace - קיפודנחש (aka kipod) (talk) 23:37, 23 February 2013 (UTC)
Those are some interesting thoughts. For now some tips are gathered at Wikipedia:Lua and Help:Lua debugging, and of course some docs are on the extension's website, but this could definitely use more organisation. Thanks for the suggestions. :-) Dcoetzee 23:47, 23 February 2013 (UTC)

he:שיחת משתמש:קיפודנחש

Totally should have notified you...[edit]

Hi Kipod. I found your PGN chess viewer thing from someone else's suggestions and I should have posted on your talk page to let you know that I was reviving it. (WP:Village_pump_(technical)#Display_Chess_games_.28with_animation.29_using_PGN_data)

I'm glad you found out anyway. (I'm pretty new as a Wikipedia editor.)
Chag sameach if you celebrate Passover... Mattj2 (talk) 18:56, 25 March 2013 (UTC)

Re: I knew I should not edit using the !@#$%^ tablet...[edit]

You have new message/s Hello. You have a new message at PartTimeGnome's talk page.PartTimeGnome (talk | contribs) 22:57, 30 March 2013 (UTC)

Classic skin and CSS[edit]

Thank you for your instructions on modifying Vector. I don't use Vector, but apparently I'm going to have to start.

I'll let you know how your instructions work. DS (talk) 23:18, 4 April 2013 (UTC)

I recommend you run your experiments and tests before "Classic" is killed, so you'll have a point of reference and something to compare to. after tax day you'll have to work from memory.
peace - קיפודנחש (aka kipod) (talk) 00:01, 5 April 2013 (UTC)

what is in the tleft/tright class?[edit]

I thought that replacing a class with a style is simple: you just look it up in the CSS sheet and copy the contents. I found that any attempt to put my imagemap in the pie chart wasn't getting it processed, so I started doing this - but replacing class="tleft" with the margin: statement it appears to contain led to a complete change in output where the graph no longer floats. There's a hint in that a comment by these classes says "@noflip", but I don't see how/where that affects it. Can you explain?

Diff [3]. "Thumb" is either "right" or "left". Wnt (talk) 14:41, 6 April 2013 (UTC)

hi. i saw some of your experiments and was going to contact you earlier, but other urgent things kept me... what i am writing here is not 100% authoritative, but i *am* 87.37% sure it is true: the way the parser works, tags are processed *before* templates, and hence, before "#invoke:"s also.
so if you want to squirt out an imagemap from a module, you have to use the magicword {{#tag:imagemap. let me know if you need more information about how to do so. as to tleft and tright: they are defined in the vector skin (maybe in other skins also) in the main package. it's not very interesting, but i can dig it up if you want. use "debug=true" and search the resources (chrome). peace - קיפודנחש (aka kipod) (talk) 16:30, 6 April 2013 (UTC)
Well, the function returns through frame.preprocess, and more to the point -- I get a link (in the wrong place) if I put the imagemap after the last div tag, just not if I put it after the second to last. I also get the link if I change the class="tleft" to a style I think is synonymous, but I also lose the ability of the chart to float. My first priority here is to understand what miscellaneous magic occurs in that class="tleft" and how to replicate it in a style I've defined from scratch - until then I'm just playing with a black box with no idea what effect anything will have. Wnt (talk) 17:51, 6 April 2013 (UTC)
regarding @noflip: the CSS that comes from is run through preprocessor that changes right to left and vice verse for RTL wikis. @noflip tells the preprocessor to leave this specific CSS alone. i believe yo can find it here: [4] and [5] (two separate parts of tleft are defined in those two files). i do not know anything about this preprocess thing - you might be 100% correct, but i still think the right way to do it is via #tag:. also, please note that if you use imagemap, i don't think you should include the Circle image directly: do it as the "File" parameter to imagemap. the reason is layering: when something is layered on top of something else, it captures the events (such as mouse events) and does not let it sip down. since the transparent circle image must be on top of the divs (otherwise it does not do its job), the simplest thing is to wrap it with the imagemap tag, instead of using a different image for the imagemap. also please note that the imagepap is "normalized", i.e., the coordinates are calculated based on the original image size, regardless of the magnification/reduction it's actually displayed. i do see that you tried to place the imagemap on top of everything, but i think you used attribute "z-value", which as far as i know is a mistake: the name of this attribute should be "z-index". again, i believe the best thing you can do is place the imagemap around the image of the circle, instead of adding yet-another-transparent-image on top of everything.
peace - קיפודנחש (aka kipod) (talk) 19:02, 6 April 2013 (UTC)
Eventually I found the thing - there are actually three rel="stylesheet" links in the source, only one of which has a "css" in it. The first one contains a tleft class, and applies styles to it also. It isn't actually what was at fault though - I was looking in the wrong place because there was a div buried at the very center of "output". The hack I picked in the end involves doing a find-and-replace to force the image right where I want it at the center of the output, immediately after the circle image. I could go back and try to fuse with circle, but for now I'm happy it works! Now, if only I understood where "noresize" class is defined, I'd be satisfied... :) Wnt (talk) 15:46, 8 April 2013 (UTC)
very nice, and congrats for cracking it at last!
i still think you are doing one thing wrong: creating a raw tag (using "<" and ">") and then forcing parsing of the output by calling frame.preprocess is not the civilized way to do things.
IMO, the correct way is to be polite and return a simple string that contains everything you built, and use the #tag: magic word in the output to induce further parsing of tags (it might also be the more efficient way, which would make wikid77 happy, though i don't think speed should be real consideration here).
regarding tleft and tright: you want to use chrome, add debug=1 to the address line, and in "developer tools" you want to go to the "resource" tab, and hit Ctrl+F, and type either "tleft", "tright". the "debug=1" tells the server not to squash/minify the JS and CSS sources, and not to consolidate many pages to a single page. it also lets you see the comments and such in those pages - sometimes you can get useful hints why something happens. as to "noresize": normally "noresize" is not a class, but rather a html attribute. specifically, the imagemap extension squirt a div with "noresize" class (you can find it on line 283 of "imageMap_body.php in latest snapshot on mw:Extension:Imagemap), but this class has no css attributes. it may be there so wikis can define css attributes for it, or so JS script will be able to find these divs on the page. it has no effect (you can try it by running in the browser console a single JS line that will remove this class from all elements, e.g. $('.noresize').removeClass('noresize');. nothing in the page display will change after running this line.
BTW: you are invited to see and comment on how i create the legends in Module:Chart - you might want to adopt this way also, or you may not want to do so. unlike you, i do not create DIVs, but rather a ul element containing li elements. this allows me to use the "column-width" attribute to display the legends in multiple columns. i think it's better. maybe i should create a sample with large number of legends in the doc page to see how it works.
peace - קיפודנחש (aka kipod) (talk) 16:30, 8 April 2013 (UTC)
Well, to be honest, I never really understood the #tag magic word - I remember seeing it come out a year or two ago but with no examples of when you'd use it. I could be wrong, but I think that when I didn't frame.preprocess the templates in the output never got expanded? I don't know where to find a manual on this stuff and everything is just based on whatever I saw/whatever worked last time. I meant to rewrite the part with the legend templates at some point, but haven't gotten around to it. (They depend on something with "safesubst", which I don't understand what the point of that is either). Your idea with ul's and li's may indeed be good - I'll have to look it over carefully. The divs I used in this function were copied directly from the original template.
Thanks for the suggestion about Google Chrome ... the problem is, last time I had Google software (Google Earth) on the computer, it was creating slowdowns and annoyances with its mandatory hourly updater, and it didn't uninstall properly, won't reinstall without an error either, and it took all kinds of deleting and disabling to get it to quit throwing hourly error messages. I am very reluctant to let that plague back on my system. Wnt (talk) 20:44, 8 April 2013 (UTC)
regarding #tag: it's explained, e.g., here: mw:Help:Magic words. it's by no means a new thing - defintely way before 1.15. this is what you're supposed to use when you want to generate an extension tag inside a template. i believe "module" here should be considered to be "same as template" for this.
regarding chrome: the important part is not necessarily chrome itself, but rather the "debug=1" on the address line (you can just as well use "debug=true"). if you use FF with firebug extension, you can get it at the "CSS" tab on firebug (F12). if you use FF with "Web developer" extension, you can get it through the "View CSS" menu item of web developer. if you use vanilla FF or if you use IE, then i do not know how to find stuff in the CSS, but it's probably also doable the reason i said "chrome" is because a) i'm used to it, and many web developers use it because of the fantastic JS debugger, and b) because it does not require any extension for web development - it's all inbuilt. peace - קיפודנחש (aka kipod) (talk) 21:27, 8 April 2013 (UTC)


Blueprint Barnstar 2.PNG The Wikitable Barnstar
For helping me out by paying attention to a single question. -DePiep (talk) 10:34, 12 April 2013 (UTC)


Thanks for spotting that - I've no idea how the space crept in. Andrew Gray (talk) 19:24, 16 May 2013 (UTC)

space is still there - is it intentional? peace - קיפודנחש (aka kipod) (talk) 21:30, 16 May 2013 (UTC)
Sorry, I misread your message and thought you were saying you'd fixed it! I've corrected it now. Andrew Gray (talk) 11:08, 17 May 2013 (UTC)
well, i couldn't have possibly modified it - i do not have permissions to modify pages in mediawiki namespace... peace - קיפודנחש (aka kipod) (talk) 15:06, 17 May 2013 (UTC)

chess diagram performance testing[edit]

see here. thank you. Frietjes (talk) 00:00, 21 May 2013 (UTC)


Blueprint Barnstar 2.PNG The Template Barnstar
For paving the way to a better chess diagram template. Bubba73 You talkin' to me? 02:34, 30 May 2013 (UTC)

Proposal: mark default gadget as "default"[edit]

At WP:VPT, you mentioned that the method we use at Commons is rather optimal. While I agree that it isn't good practice to maintain the state at 2 locations, how could we improve this? Wouldn't this require a MediaWiki bug request and a change in the MediaWiki software which usually takes ages? It is already an improvement not having to update each translation if the state changes. But if you could show a way (perhaps a LUA module parsing MediaWiki:Gadgets-definition), this would be great. -- Rillke (talk) 15:42, 12 June 2013 (UTC)

(talk page stalker) I've found that MediaWiki bug requests and change to the MediaWiki software don't really take that long if there is consensus for the change on wiki. I would be happy to submit the request and get that ball rolling. Technical 13 (talk) 16:21, 12 June 2013 (UTC)
(working from leaky memory here - don't have time to dig ATM): iirc, what i meant is exactly that: i can't think of a way to improve the way it's done on commons (we do something similar in hewiki). i think improvement to mediawiki software (more precisely, to mw:Extension:Gadgets) is exactly what i meant. i think i even considered opening a new bugzilla ticket, and found one already in existence. again - i believe this is so, but can't be 100% sure the above report is not just some dream i had... peace - קיפודנחש (aka kipod) (talk) 18:41, 12 June 2013 (UTC)
I don't see a ticket yet based on my search. Technical 13 (talk) 19:19, 12 June 2013 (UTC)
Thanks for reporting this to bugzilla:49501. -- Rillke (talk) 22:07, 12 June 2013 (UTC)
(edit conflict) i thought i saw one, but now i can't find it. opened a new one: Bugzilla:49501. if it's a dupe, i hope it will be marked as such. if you can find the appropriate wp:vpt discussion in one of the archives, you are more than welcome to add a link (again, i do not have time to do so right now). peace - קיפודנחש (aka kipod) (talk) 22:10, 12 June 2013 (UTC)



I patrolled your page. I went through the enormously-backlogged list of newly-created pages and confirmed that your page was okay: not spam, not an attack page, not a copyright violation, not any of the other reasons for which I would delete someone's page without asking. Then I clicked "patrolled" to remove it from the list of "pages that have not yet been patrolled", and moved on to the next entry. That's all. DS (talk) 16:56, 5 August 2013 (UTC)

thanks. i forgot that patrolling is active on enwiki (for new pages only). because it's a piece of code, i took the word "review" as in "code review", which was, of course, a silly mistake. thanks.
peace - קיפודנחש (aka kipod) (talk) 16:59, 5 August 2013 (UTC)

pgn template[edit]

Hi, I am impressed with pgn template at the Hebrew wikipedia, which I saw used in the World Championship 2013 article. Could this gadget be adapted for use in the English wikipedia? MaxBrowne (talk) 00:50, 2 December 2013 (UTC)

ok I found the subproject page, village pump discussion, demo page at the Hebrew wikipedia etc. Sorry I haven't kept up with developments. MaxBrowne (talk) 02:12, 2 December 2013 (UTC)
the "project page" linked above is not very serious, i think - it was an attempt by a clueless editor to push something forward, despite the fact that this editor does not know (almost) anything about chess, nor about javascript. this "project page" only real value is the links to past discussions.
(strike that - i was confused with a different attempt made by a different user. this "project page" is just fine).
as to the pgn script and template: the template is a very simple and straightforward package that allows the script to work by wrapping the pgn with some DIVs with specific calsses, so the script knows which pieces of text should be analyzed as pgn. it support some features ot demonstrated anywhere on hewiki (specifically, it supports the FEN= attribute, which allows displaying games from the middle (not very interesting), but also allows displaying games in chess960 (hope i got the name right). i think the script itself is language-independent - the only little perversion is some "easter egg" that cause it, if the user running it has some special line in her common.js, to add two new buttons. pressing these button cause the script to squirt out a {{Chess diagram}} template specific to hewiki (on of the buttons cause it to do so for the current state of the game, and the other will generate one template for each of the plys (i think that what you call a "half move", i.e., a single player move). let me know if you need something else. i will be very happy to see this script being used on enwiki, but i do not think it makes sense as a gadget, or user script - it only makes sense, IMO, if it's added globally. it's very easy to add it in a way that will only load the script on pages which contains the template, though, admittedly, we did not bother in hewiki and just added it unconditionally. peace - קיפודנחש (aka kipod) (talk) 21:41, 2 December 2013 (UTC)

Possible css help?[edit]

Hey קיפודנחש. Given how facile you appear with css coding from that recent discussion at VPT, I was wondering if you might know a fix for something. Quite a while back they moved the insert symbols field/dialogue above the save page/preview/show changes buttons. It used to be below it (like this). Is there a hack to move it back below the buttons? Also, is there a way to hide the text "By clicking the "Save page" button, you agree to the Terms of Use, and you irrevocably..." Basically, I am trying to make it so that when I open the edit screen on my browser, I can edit and see the save page button in one view, without ever having to scroll down all the time to get to the save page button, which is extra work. Thanks much in advance. Please feel free to tell me it's too much work to find/figure out a hack, even if you could.--Fuhghettaboutit (talk) 23:30, 26 December 2013 (UTC)

you can do something, but it's not css - it's js, so it goes in your Special:MyPage/common.js (and not in the css):
$(function() { $('#wpTextbox1').after($('.editButtons').css({margin: '8px 0'})); } );
try it. HTH - קיפודנחש (aka kipod) (talk) 05:10, 27 December 2013 (UTC)
Thanks much! I was playing around with it and changing .editButtons to .editOptions makes it perfect, so the symbols are completely below both the edit summary and save page buttons (I know just enough to inspect elements and see what labels you used, though I could never put it together myself). Thanks again--Fuhghettaboutit (talk) 11:20, 27 December 2013 (UTC)
of course - this was just dumb of me. i didn't even look at the summary... (in my defense i can say that many editors do not bother to write summaries for their edits, but this is just a bad habit...). if you want to get fancy, you could do:
$(function() { 
    .after($('.editButtons').css({margin: '8px 0'}))
} );

which puts the most useful stuff immediately under the textarea, and leaves everything else below (now i think it's useful enough that i'll use it myself - thanks for the idea). peace - קיפודנחש (aka kipod) (talk) 16:41, 27 December 2013 (UTC)

Aha! that allowed me take it one step further. For me this is the absolute ideal (it gives access to the minor edit button):
$(function() { 
    .after($('.editCheckboxes').css({margin: '8px 0'}))
} );

I can't even imagine anyone preferring the current setup over it. Much obliged for the help.--Fuhghettaboutit (talk) 00:22, 28 December 2013 (UTC)

Interactive Chessboard[edit]

Please see The DJ's comment on the script, as it very well surmises one of the key points that I wanted from the script.

Will this be possible?

TheOriginalSoni (talk) 10:33, 3 January 2014 (UTC)

A comment for you[edit]

See [6]. --Piotr Konieczny aka Prokonsul Piotrus| reply here 15:17, 4 January 2014 (UTC)

you are too late, my friend: see This edit... peace - קיפודנחש (aka kipod) (talk) 15:35, 4 January 2014 (UTC)


Sorry, busy with other articles (as you saw). As to the F8 and Noyce, this book from MIT seems pretty direct. However, they may have copied it from the Wiki, but I'm not sure how to figure that. Maury Markowitz (talk) 15:13, 6 January 2014 (UTC)

p.s. Next time perhaps mark it up and take it to the talk page? Not everyone has time to jump to every requested edit in under 24 hours! Maury Markowitz (talk) 15:14, 6 January 2014 (UTC)

Maury Markowitz: thanks for the reply, and thanks for pointing to the source.
regarding my order-of-actions: in principle you are correct, but in particular, the claim seems so improbable as to be "patently false": noyce left fairchild in 1968, at which time the technology only allowed order-of-magnitude less transistors-per-chip than even the 4004 requires (f8 has roughly double that - around 4000). moreover, the F8 was produced using a technology (namely, NMOS), which first appeared (in labs and on papers, not in products) in 1969, and first became available in products in 1970, so the claim that he started developing this chip while at fairchild just does not make sense.
regarding the quoted source: it is clearly a gross anachronism: it says "a specialty processor created by future intel founder noyce". the F8 was announced in 74 and became available in 75, while noyce left fairchild and founded intel in 68, so a source that talks about "future intel founder" clearly does not know what he is talking about.
peace - קיפודנחש (aka kipod) (talk) 17:47, 6 January 2014 (UTC)
Good points, all. Maury Markowitz (talk) 18:04, 6 January 2014 (UTC)

Chessboard templates and |reverse=true|[edit]

I did test myself with all of the documented chess templates before changing the documentation to say |reverse=true| works with odd-sized (but not alice &c) boards. Please see my sandbox for a whole bunch of test boards. If it really doesn't work for you could you show how you tested, please? Zack (talk) 01:03, 11 February 2014 (UTC)

kind of funny, really, since it was i who introduced the "reverse" parameter in the first place...
i did it for the 8x8 configuration only. the module (Module:Chessboard, which implements the template now) was changed significantly by other people since the last time i touched it, and when i saw your edit to the documentation, i was excited about it, and immediately tested it to see how it looks with boards other than 8x8.
i do not know what happened - possibly i misspelled the parameter or something, because it did not work for me. i guess i should have tested more thoroughly, instead of rushing to reverse your edit. sorry about it. peace - קיפודנחש (aka kipod) (talk) 01:51, 11 February 2014 (UTC)


Nuvola apps edu languages.svg
Hello, קיפודנחש. You have new messages at Faizan's talk page.
Message added 16:10, 19 February 2014 (UTC). You can remove this notice at any time by removing the {{Talkback}} or {{Tb}} template.

Faizan 16:10, 19 February 2014 (UTC)

Wikipedia:Village pump (technical)/Archive 124#Difference between revisions pages comment truncation[edit]

I replied to your question at Wikipedia:Village pump (technical)/Archive 124#Difference between revisions pages comment truncation. —Anomalocaris (talk) 11:03, 26 February 2014 (UTC)

answered there. peace - קיפודנחש (aka kipod) (talk) 16:31, 26 February 2014 (UTC)

Template editor right[edit]

Hi Kipod. :) I saw your comment on WP:VPT about templates being editable by mere mortals. Actually, I think you probably fulfil all of the criteria to get the template editor user right, which would let you edit most templates on enwp. Your template and module edits here and on hewp are more than enough to show you have the technical knowhow for the right. The only thing that is kind of vague at the moment is that due to your low number of edit requests on enwp (I couldn't find any), it is hard to find evidence that you would know when to seek consensus for potentially controversial template changes. I would be prepared to overlook this if you can confirm to me that you have read Wikipedia:TPE#When to seek discussion for template changes and that you'll be careful when updating high-risk templates on enwp. There are certainly a lot of template fixes that need to be done on enwp, so if you can be careful to seek consensus when necessary, it would be great to have your help. Best — Mr. Stradivarius ♪ talk ♪ 11:35, 23 March 2014 (UTC)

thanks. i decided to take your advice and request template editor rights. peace. קיפודנחש (aka kipod) (talk) 17:48, 23 March 2014 (UTC)
I've answered the request there and given you the standard template editor message below. Thanks for your response at the request page. — Mr. Stradivarius ♪ talk ♪ 00:50, 24 March 2014 (UTC)

You are now a template editor[edit]

Wikipedia Template editor.svg

Your account has been granted the template editor user right, allowing you to edit templates and modules that have been protected with template protection. It also allows you to bypass the title blacklist, giving you the ability to create and edit edit notices.

You can use this user right to perform maintenance, answer edit requests, and make any other simple and generally uncontroversial edits to templates, modules, and edit notices. You can also use it to enact more complex or controversial edits, after those edits are first made to a test sandbox, and their technical reliability as well as their consensus among other informed editors has been established.

Before you use this user right, please read Wikipedia:Template editor and make sure you understand its contents. In particular, you should read the section on wise template editing and the criteria for revocation. This user right gives you access to some of Wikipedia's most important templates and modules; it is critical that you edit them wisely and that you only make edits that are backed up by consensus. It is also very important that no one else be allowed to access your account, so you should consider taking a few moments to secure your password.

If you do not want this user right, you may ask any administrator to remove it for you at any time.

Useful links:

Happy template editing! — Mr. Stradivarius ♪ talk ♪ 00:49, 24 March 2014 (UTC)


Hi קיפודנחש, great module. I want including calls function barChart from my module, but an error occurs call with nil value. Could you explain how to call barChart from another module? With thanks Игорь Темиров (talk) 20:59, 27 September 2014 (UTC)

Thank you again for your module. See template population from ruwiki. Игорь Темиров (talk) 14:49, 29 September 2014 (UTC)
sorry for the late reply - i'm on vacation, with very limited internet access. i'm not sure what is the problem calling the module from another one, but it's true that it is not necessarily designed to be called by another lua module, but rather directly from a page or a template. in general, lua errors a "clickable", and when you click on the error message you get a little more information, including the call stack. you may try this - this way you'll at least know which line in the code makde the fuss. peace - קיפודנחש (aka kipod) (talk) 17:56, 5 October 2014 (UTC)

Your graph expertise[edit]

The recent nice graphs by EngineeringGuy on the page for Wikipedia look like they could be improved with your expertise. Could you look at this diff [7]. The fix might be simple to save on the graphic visual space on the Wikipedia page, though I don't know how to do it. Maybe you'll have a good idea. Cheers. FelixRosch (talk) 20:19, 9 October 2014 (UTC)

Your recent comment on that Talk page was both practical and useful. If the change could be made to tip the vertical-oriented graphs into 'horizontal' mode on the Wikipedia page, then the saving in visual graphic space would be over 50% of the space on the screen being used. This would be a significant advantage across many other Wikipedia pages which could re-use such a new graph module as well. If I can support further on updating the graphs for the Wikipedia page then let me know. Cheers. FelixRosch (talk) 18:55, 14 October 2014 (UTC)
i agree that being able to generate horizontal bar-chart will be useful, but specifically for Wikipedia, i think using more modest height and width will be a good idea, especially width.
also, for this specific dataset, i am not sure bar-chart is very useful: some of the numbers, and specifically the "fa" and "ga" numbers are so small relative to the other numbers (mere hundreds or thousands relative to millions), that they are practically invisible on the chart. peace - קיפודנחש (aka kipod) (talk) 20:56, 14 October 2014 (UTC)
Yes, that is a good point, and I noticed that the language version was using log-scale to smooth out the "practically invisible" issue. The language graph looks pretty good in using the log scale. I agree that the smooth out factor is important to make the graphs be more visually friendly. Cheers. FelixRosch (talk) 18:02, 15 October 2014 (UTC)
currently, Module:Chart does not support log scale. also, this particular graph is a stacked graph, and i am not familiar with any form of stacked graph using logarithmic scale, and i can't imagine one that will be useful. peace - קיפודנחש (aka kipod) (talk) 18:21, 15 October 2014 (UTC)
It was just a thought. I have noticed that the very top of the graph over 250K is not used at all and perhaps could be deleted if easy to do. You seem to be the graph module expert and thanks for your answers. shalom - FelixRosch (talk) 19:10, 15 October 2014 (UTC)
yes, there's some convoluted logic for rounding-up the top of the graph. "round" numbers are considered to be 10, 15, 20, 30, 40 etc. i prolly could handle it better - unfortunately, not anytime soon. peace - קיפודנחש (aka kipod) (talk) 20:43, 15 October 2014 (UTC)

Template:Infobox college coach[edit]

any particular reason for duplicating the templatedata in the doc? Frietjes (talk) 16:59, 25 November 2014 (UTC)

@Frietjes: i did not notice the templatedata in the doc. when using VE, it told me there is no tempatedata for this template... i might have misunderstood this message, but this is what i think it meant. i will report this as an issue to the VE team, instead. peace - קיפודנחש (aka kipod) (talk) 17:30, 25 November 2014 (UTC)

. — Preceding unsigned comment added by קיפודנחש בע"מ (talkcontribs) 00:23, 3 December 2014 (UTC)

Report an error[edit]

Hi! It looks like we (Latvian Wikipedia) are gonna use the Report an error form. So I wanted to ask you, what do we need to do? Request it at Phabricator? If yes, maybe you can give a link with Hebrew Wikipedia's request. --Edgars2007 (talk/contribs) 18:09, 19 February 2015 (UTC)

@Edgars2007: phabricator is not the right place. this is not core functionality - this is a gadget developed in Polish wikipedia and adopted by a dozen or so other wikis. we, at hewiki, modified the way the tool works: the original tool dumped the whole report (and all of them), in a single designated page. we wanted the single designated page, but we wanted the body of the report to persist in the talk page of the article in question, so what we did was to utilize the relatively new "segment transclusion" feature (so the central page transcludes reports from the articles' talk pages). if you wish, you can do one better, b/c the mechanism was recently enhanced to support "section transclusion".
so, as i see it, you have 3 options: adopt the Polish gadget (you should probably consult with the people maintaining it on plwiki), adopt the modified gadget from hewiki, or take the one from hewiki and tweak it to use the newer section transclusion. you would probably do best to choose the 1st option, and see if it works for you. the tweaks in hewiki came from specific requirement of the community, and you may not have similar concerns in the Latvian community. if you find that you want it to work like in hewiki (i.e., the report itself persist in the article's talk page), you can always add the hewiki tweaks later. i'd take a bet, based on geography, and guess that you'll find it easier to discuss it with the people in plwiki... the only person i know who is active both here and there, and knows something about this tool, is User:Matma Rex. peace - קיפודנחש (aka kipod) (talk) 23:09, 19 February 2015 (UTC)
Thanks! --Edgars2007 (talk/contribs) 07:14, 20 February 2015 (UTC)

Request with graph[edit]

Hi. Please see here. Gun Powder Ma (talk) 15:46, 25 October 2015 (UTC)

Ok, understood. Perhaps a different kind of graph could do the trick? Gun Powder Ma (talk) 09:55, 26 October 2015 (UTC)


I like charts, mostly pie but also bar, where I really like shades of grey - for normal purposes physically printing is just black‑and‑white (and shades of grey). However, 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..

It be easiest to make one colour by using two pairs the same.

Unbuttered parsnip (talk) mytime= Thu 02:21, wikitime= 18:21, 18 November 2015 (UTC)

Cat-a-lot Script[edit]

Hi, I was recommended to use your cat-a-lot script from User:Ser Amantio di Nicolao but you say that the script is only 3 lines and then there are 5 lines. Have you changed the script since you wrote that?

Also, you say that you are providing a 1 line script which links to another page with the 3 lines of script but it actually links to a page with far more than 3 lines of script. Could you please explain this to someone who is new the world of using scripts of user pages? Thank youMonopoly31121993 (talk) 10:33, 13 December 2015 (UTC)

the "3 lines" are not the script itself - they load the real script from commons. the reason why 3 lines are required are that we need to load the JS script, and the CSS, and we need to define one windows (aka "global") JS variable. it really was 3 lines for a long time, but at some point i had to add a couple of lines to load a new dependency that the script in common acquired. as to the "1 line" - not sure. which page does it load? HTH - קיפודנחש (aka kipod) (talk) 01:58, 14 December 2015 (UTC)

Phone preview[edit]

Hi Kipod, please see Wikipedia:Village pump (idea lab)/Archive 20#Phone view, I'm wondering if something like that (not just the button but previewing each edit in mobile view) is easier to implement based on User:קיפודנחש/mobile-sidebarcopy.js. Thanks! - NQ (talk) 14:28, 20 June 2016 (UTC)


I'm afraid there is a bug in User:קיפודנחש/watchlistScout.js. When I clicked "Mark All pages as visited", the orange banner came up linking every page I watched as unreviewed. Is there a way to fix this? Thanks. 1989 (talk) 05:40, 16 December 2016 (UTC)

@1090: thank you so much for the report.
i did not notice it myself, as i'm using a newer version of the "scout". the one i use, adds a 3rd "notification" start icon at the top, next to the bell and the tram front, to the left of the "Talk" link, containing the # of unread item on your watchlist. if you want to switch to it, add the following line to your common.js:
you might consider adding it to your global script page ( Preferences => Appearance => CSS/JavaScript for all wikis => Custon Javascript ), which makes sense if you are active in more than one project.
apparently, mw software changed its behavior for the values returned by the api call to get the watchlist. i modified the script, and it should be fine now (shift-refresh if the bad behavior is still there). peace - קיפודנחש (aka kipod) (talk) 14:50, 16 December 2016 (UTC)
Thank you for fixing it. On your new version of "scout", are you aware that if you click on the star, the "notices" window pops up? 1989 (talk) 18:48, 16 December 2016 (UTC)
the window that pops up is basically your watchlist, but without any bells and whistles (i.e., none of the scripts and gadgets you use to prettify your watchlist takes effect). there's an ancient "todo" item to modernize the window that pops up, ideally showing only the unread items, but i haven't gotten to it, and maybe never will... peace - קיפודנחש (aka kipod) (talk) 20:06, 16 December 2016 (UTC)
  • I have certain edits hidden on my watchlist to not notify me of an edit by certain users (e.g. bots, own edits). Is there a way the original script can act the same way? 1989 (talk) 13:58, 23 December 2016 (UTC)

I am not sure, but it may be possible. I believe it's possible to read user preferences and find your watchlist preferences, and it may also be possible to get the list filtered. I guess i'll have to look at it. Peace - קיפודנחש (aka kipod) (talk) 21:39, 23 December 2016 (UTC)

@1989: - current version of script does take your preferences into account. please test and verify. thanks again for the feedback, and thanks in advance for testing. unfortunately, i am still stuck with the task of making the popup (displayed when clicking the star) sane.... peace - קיפודנחש (aka kipod) (talk) 21:28, 30 December 2016 (UTC)
Is there a way that you can make this work for your old script as well? I'm currently using that one. -- 1989 (talk) 10:13, 1 January 2017 (UTC)
@1989: ok, i did. unfortunately, i don't have anything in my wl, so i can't really test it... let me know how it works for you. peace - קיפודנחש (aka kipod) (talk) 17:40, 1 January 2017 (UTC)
finally i understood your comment ("are you aware that if you click on the star, the "notices" window pops up").
apparently something was changed with recent mediawiki version that affected the event-bubbling chain.
i think i fixed the problem. thanks again for the reports! - peace - קיפודנחש (aka kipod) (talk) 21:34, 2 January 2017 (UTC)
  • When I click on the notices icon (the bin image), the star changes to the notices icon, and when clicked on, the watchlist box doesn't show up except for the notices box. MCMLXXXIX 19:40, 13 February 2017 (UTC)
@1989: - i received quite a lot of feedback recently (on hewiki), and made several changes to the script (including one today...). it's possible that some intermediate versions wend wrong (of course, it is also possible that the current version is buggy....). please refresh ("full refresh" for most browsers this can be realized by clicking the refresh icon when ⇧ Shift is pressed ), and see if the problems persist. if they do, i will appreciate another notification. thanks a lot for trying and testing my script - your feedback is appreciated. peace - קיפודנחש (aka kipod) (talk) 19:59, 13 February 2017 (UTC)
The problem is still there. MCMLXXXIX 20:03, 13 February 2017 (UTC)
just came here to report: sorry, i misread your previous notice. now i read it more carefully, and finally understood it, i was able to reproduce. will try to fix. peace - קיפודנחש (aka kipod) (talk) 20:27, 13 February 2017 (UTC)
@1989: i think it's fixed now. please retest. thanks again for the feedback and the testing... peace - קיפודנחש (aka kipod) (talk) 23:49, 13 February 2017 (UTC)
  • When I click on the star, it won't open at all. MCMLXXXIX 16:24, 14 February 2017 (UTC)
@1989: thanks. i guess is should not edit after certain hour... working now. (how i hate this ui stuff... the worst part is, it is so brittle, that the next time mediawiki will change the way these things look or behave, my junk is likely to break also). peace - קיפודנחש (aka kipod) (talk) 16:56, 14 February 2017 (UTC)
@1989: my previous fix broke the script for firefox (i had to resort to a "dirty trick", and later found out that FF does not allow it). i changed it now. the plus side is that i do not use any dirty tricks now, and, also produce valid HTML (i knowingly produced invalid html for a while, as a substitute for the "dirty trick", and the problem you found was the result...). the downside of the way it's done now, is the fact that i basically had to duplicate quite a lot of CSS used by the notification system (see phab:T158345), which means that the next time the developers will make changes to the appearance of the notification badges, the "wathclist" badge will lag behind, until i realize it and update my replica. anywhoo, for now, as far as i know, it works with all browsers with no known bugs. peace - קיפודנחש (aka kipod) (talk) 20:38, 16 February 2017 (UTC)
  • Is there a way to disable or limit (confirm window) the rollback button on your newer watchlist script? -- 1989 16:17, 10 April 2017 (UTC)
@1989: i think it's doable. can you please elaborate (if and) why do you think this will be a good thing to do? peace - קיפודנחש (aka kipod) (talk) 17:57, 10 April 2017 (UTC)
It can be difficult sometimes to operate from a mobile device. 1989 17:59, 10 April 2017 (UTC)
i assume you mean "mobile device in desktop mode for users with rollbacker permission". i consider this setup aberrant, and i'm not sure if it's good idea to modify the whole gadget to accommodate this edge-case.
however, i believe you can get this behavior for yourself, by adding to your personal CSS file the following line:
.ui-dialog .mw-rollback-link {display: none;}
peace - קיפודנחש (aka kipod) (talk) 18:16, 10 April 2017 (UTC)

Please create documentation pages for your scripts[edit]

Hello, could you please create documentation pages for your scripts? That would be really helpful. They don't have to be long - they just need to state what the script is doing (it doesn't matter if that's already in a comment in the script or not or if you already described them on your userpage).

--Fixuture (talk) 19:11, 14 January 2017 (UTC)

I will try, but can't commit. These scripts were typically written and are maintained on hewiki, where most are also documented. I made some of them availabe here, where i thought users of enwiki might find a specific one useful. Anyone who uses one of them and volunteers to document it, is welcome, and I'll try to find time to add some documentation myself. Peace. קיפודנחש (aka kipod) (talk) 22:19, 14 January 2017 (UTC)

CSS issues with chess diagrams[edit]

Hello. I noticed from old discussions that you may have some idea what's going on with the problem I asked about here (and received no answer in a month). Let me know if you have any suggestions for me -- I would love to see chess diagrams properly. Wareh (talk) 00:28, 19 March 2017 (UTC)

Many thanks for showing me how to fix my problem!! Wareh (talk) 12:52, 6 May 2017 (UTC)

MfD nomination of Module:Duration[edit]

Ambox warning orange.svg Module:Duration, a page which you created or substantially contributed to (or which is in your userspace), has been nominated for deletion. Your opinions on the matter are welcome; you may participate in the discussion by adding your comments at Wikipedia:Miscellany for deletion/Module:Duration and please be sure to sign your comments with four tildes (~~~~). You are free to edit the content of Module:Duration during the discussion but should not remove the miscellany for deletion template from the top of the page; such a removal will not end the deletion discussion. Thank you. Jc86035 (talk) Use {{re|Jc86035}}
to reply to me
11:45, 22 May 2017 (UTC)