ebooksgratis.com

See also ebooksgratis.com: no banners, no cookies, totally FREE.

CLASSICISTRANIERI HOME PAGE - YOUTUBE CHANNEL
Privacy Policy Cookie Policy Terms and Conditions
User talk:Splarka - Wikipedia, the free encyclopedia

User talk:Splarka

From Wikipedia, the free encyclopedia

Contents

[edit] Isotope Project

Welcome aboard Splarka, thank you for joining the project. Right now our goal is to get this thing officially started by May 9th. I think if we set everything in stone by May 1st, and then have a vote on it, I think we can meet that goal. I predict this project will be challenging, but quite rewarding in the end and a great resource for wikipedia. oo64eva (AJ) 02:08, Apr 10, 2005 (UTC)

Thanks! I am not sure what to choose for the Tasks/Responsibilities. I could work on data entry/formatting and proof reading, and research is somewhat more in your domain I think. I am not too bad at generating large amounts of data from other data. I'll hold off setting anything in stone at Wikipedia:WikiProject Isotopes#Splarka for a few days.

[edit] Voting for standardization

Hey. The project officially starts today. We're holding a vote here, it ends May 12th at 3:40 UTC. — oo64eva (Alex) (U | T | C) @ 04:05, May 9, 2005 (UTC)

Ok, will check it out. I've been busy for the last week or two, hopefully I can catch up and get back into things. Splarka 20:39, 9 May 2005 (UTC)

[edit] The Answer to Life, the Universe, and Everything - Revert

The edits by 65.185.114.20 do seem to be vandalism, but I think you mistakenly reverted one by 67.165.6.50 from over a day earlier. Not all IP edits are vandalism. However, I don't know which book the quote is from either. Splarka 18:18, 19 Jun 2005 (UTC)

Yes, I wasn't very sure of that one myself, but I figured someone would revert it if I was wrong. I'll make a note of it in the talk-page. —kooo 04:01, Jun 20, 2005 (UTC)
Hmm, I looked it up and it is Book 2 "The Restaurant at the End of the Universe" which opens with that text. However, there has been another vandalism and revision already, so I am not sure if the page should be revised or the information just readded. I'll note this on the talk page too. Splarka
It should be fine now. —kooo 17:55, Jun 20, 2005 (UTC)

[edit] Black Oak images

Hi Splarka - you've put these (Image:Quercus kelloggii (tree).jpg, Image:Quercus kelloggii (bark leaf).jpg) on the wrong page - they should be at California black oak not Black oak (an eastern US species). I'll move them across - MPF 17:05, 22 Jun 2005 (UTC)

Oops, my bad. But now Black oak has no pics. Nuts. But thanks. Splarka 05:31, 23 Jun 2005 (UTC)
Just done a search, found a (small) PD pic from the TVA which I'm uploading. Maybe it'll prompt someone to get a better pic! - MPF 16:50, 23 Jun 2005 (UTC)

[edit] Bolt cutters

Thank you for answering my image request for bolt cutters. The animated picture was lots of fun!  ;-)

No prob. Was fun to do. The animation doesn't seem to thumbnail without screwing up, but it might just be a prob with my gif software. Splarka 07:34, 24 Jun 2005 (UTC)

[edit] Pyramid of 35 spheres animation.gif

Hi, glad you like my image. I realised it was big and I'd be delighted if you can improve the size, quality or anything else. (Someone proposed it for a featured picture at Wikimedia Commons, whereupon it was duly savaged by the regulars for being too small: guess they just have different standards.) You may be able to get decent results just starting from the double-size GIF version also at Commons (Image:Pyramid of 35 spheres animation large.gif) but you're certainly welcome to the original 16-bit PNG frames or indeed the POV-Ray source (which I was vaguely planning to upload anyway) if you think they'd be better.

At the risk of gratuitous self-promotion, may I add that I reused this code to render a four-dimensional sphere stacking which I added to Pentatope number? Any technical improvements you can make would also apply to this—and it's in even more desperate need of being made smaller (over 40 frames vs 24). —Blotwell 02:31, 5 August 2005 (UTC)

[edit] Higgs boson consensus vote

There is currently a vote on the Higgs boson talk page over whether or not to merge the pop culture references article with the main article. I noticed you've previously contributed to the debate, so your vote would be helpful in establishing a consensus (or, perhaps, a vote of "no consensus", in which case the problem will be referred to AfD). Thanks! -DMurphy 21:34, 30 March 2006 (UTC)

Oh, is that debate still going on? I thought my arguments fell on deaf ears. Will go vote, ta. Splarka (rant) 06:16, 31 March 2006 (UTC)

[edit] Searching text area in Firefox

Thanks for your response at Wikipedia:Village_pump_(technical)#Firefox_Find_in_edit_window. I have downloaded the code at [1], but don't know what to do with it. I'm afraid I have zero experience with this stuff. Help? TIA-- Mwanner | Talk 23:42, 7 June 2006 (UTC)

Eep, afraid I don't know either. You might try asking Lupin (whom I quoted). --Splarka (rant) 00:44, 8 June 2006 (UTC)
Thanks, I'll do that. -- Mwanner | Talk 12:29, 8 June 2006 (UTC)

[edit] Search box and form reset

I've now written a version which doesn't insert any forms, but rather just the controls. It's at User:Zocky/SearchBoxDev.js. Can you please test if that removes your problem and let me know? Thanks. Zocky | picture popups 21:12, 27 June 2006 (UTC)

It seems to work perfectly now. Woo! I tried back/forward/preview/changes and none seem to reset the box. Seems a-okay. --Splarka (rant)

[edit] Mapproject

Thanks Sparkla!--Daanschr 19:58, 1 July 2006 (UTC)

[edit] Portal:Portugal

Thank you very much for the correction in the portal. Nice work. I didn't know we could specify the height of the boxes. Cheers! Afonso Silva 08:44, 6 July 2006 (UTC)

[edit] Template

Thanks! ("If" in template) --Edcolins 07:08, 13 July 2006 (UTC)

[edit] Archiving bug

It wasn't actually the archive, I did that by hand. I did run the javascript css plugin format tool thing over the pages as well though, to take out the whitespaces that were left behind, and that is probably what caused it. I apologise for the inconvenience caused. Sadly, I haven't the technical ability to be able to work out how to correct the tool, so maybe I'll avoid it's use on talk pages. Steve block Talk 22:53, 17 July 2006 (UTC)

The bot to archive the pumps is broken, see User talk:Cryptic#Crypticbot stopped working. Before Cryptic built the bot the archives were done by hand, and mostly by me. Steve block Talk 23:07, 17 July 2006 (UTC)

[edit] FA stars no longer in classic skin?

I'm trying to figure out what change made the FA star (from template:Featured article) recently stop appearing in classic skin. Based on Wikipedia:Village pump (technical)#.7B.7BFeatured_article.7D.7D_at_ka: it sounds like this was a deliberate change - I just can't figure out what change it was. Can you let me know (at this point, I'm mostly just curious). -- Rick Block (talk) 14:18, 18 July 2006 (UTC)

It was deliberately limited to specific skins (as its positioning was probably looking very silly in some skins), by this edit, which made it invisible by default (display:none). It was then forced to display in monobook via this change and Standard/classic via this one. However, it was recently removed from Standard for some reason. I have no idea of the politics involved, just the technicalities ^_^. --Splarka (rant) 23:27, 18 July 2006 (UTC)
Thanks. I looked for classic.css, but didn't think of standard.css. Mostly it bothers me if things change and I can't figure out why. -- Rick Block (talk) 02:10, 19 July 2006 (UTC)

[edit] Scrabble

Thanks for your help with List of two-letter English words! Where did you learn all of that code? I can't find "empty-cell" at meta.JianLi 19:03, 20 July 2006 (UTC)

I had to look it up on www.w3schools.com since I don't use it very often. Usualy one can just classify all the cells, but wikitable makes that hard to do and keep the vertical height of the wikitable short (each cell has to be on a new line if it has specific styles). --Splarka (rant) 02:50, 21 July 2006 (UTC)

[edit] Re: automatic site-notice offset

I, thunderboltz, hereby present this barnstar to Splarka, in recognition of his exceptional contributions to the project — especially in science and tech related articles. Great job!--thunderboltz 14:48, 2 August 2006 (UTC)
I, thunderboltz, hereby present this barnstar to Splarka, in recognition of his exceptional contributions to the project — especially in science and tech related articles. Great job!--thunderboltz 14:48, 2 August 2006 (UTC)

Thanks for the detailed reply. I've implemented it on my user page, and it works splendidly!

Btw, I've been taking a stroll through your contributions list, and....
Congrats, you deserve this! -- thunderboltza.k.a.Deepu Joseph |TALK15:46, 4 August 2006 (UTC)~

[edit] Printing with underlines

Thanks for the info at the Village Pump, but it's above my head. I'm a computer person, but I don't know about skins for Wikipedia. Can you steer me to some basic info about 'em? Lou Sander 14:40, 8 August 2006 (UTC)

[edit] Search box help

Thanks for your help. --ndyguy 20:38, 12 August 2006 (UTC)

[edit] Cheers!

Thanks for helping me at the Village Pump! amnesiac 03:19, 15 October 2006 (UTC)

[edit] Re: Div header issue

I just wanted to thank you for investigating my issue and solving the problem for me, it was driving me crazy. Your solution worked perfectly. :-) Cheers! --MZMcBride 23:57, 7 November 2006 (UTC)

[edit] Thank you

Thank you for sorting out my issue with my .js page. Your greater experience in this area is much appreciated and has worked a charm for what I wanted to append to my page. Bobo. 18:13, 15 December 2006 (UTC)

[edit] Spammy links on Borescope page

On November 23, 2006 you removed most of the external links, claiming they were spammy. The one link you left is to a history of a particular borescope manufacturer. While I am not a final judge of what constitutes a spammy link, I think that the links to a discussion of how to choose a borescope and borescope technology are at least as good for the Wikipedia users to see as those to the history of a particular borescope company. If the definition of spammy is "no link to anywhere on a company web site that has an interest in the topic", then all the external links should go. Otherwise, I believe that links to a page on a company site that is providing general information on the topic should be OK. Obvious links to blatant advertising are clearly spammy and I agree with your other link deletions. .. 01 February 2007

My criteria for what was a spammy link on Borescope, Videoscope and Fiberscope was very simple: if the link was spammed, it was spammy. They were all added to 2 or all 3 of the pages at the same general time by anonymous IPs. [2] [3] [4]. I probably should have removed the last link as well, I don't remember why I didn't. I do remember I spent an hour or two checking every diff on all the articles to compile the lists of what to remove, (please don't ask me to re-enact that with a step-by-step justification, but feel free to try it yourself... it is messy.) --Splarka (rant) 23:03, 1 February 2007 (UTC)

[edit] MediaWiki and a.new #quickbar

Thanks for your help, the fix worked great, and I learned something new regarding the structure of MediaWiki ;)

I'll admit I had given up hope... the topic had already moved up so much that I hadn't expected any responses at all. Thanks again Kareeser|Talk! 17:51, 12 February 2007 (UTC)

[edit] New message

As requested :) --sannse (talk) 08:08, 5 March 2007 (UTC)

[edit] Categories not displayed

Hello Sparkla. Thanks for the time you have taken, trying to guess what I meant. I have put some links showing what I mean. Please see: Wikipedia:Village pump (technical)#Category_not_showing. Thanks for your help Londenp 21:44, 7 March 2007 (UTC)

[edit] Requested user script

Thanks for filling the request. The script works perfectly, just like I want it. Thank you! W3stfa11/Talk to me 16:22, 13 March 2007 (UTC)

[edit] They work...

Thanks for doing that for me, I had a whole page of code for the simple few lines it needed.

Now I'v got a new question:
How to code this...

I need this in a drop down menu like this. I've tried but cannot get it to work for me. -- Darkest Hour 20:14, 21 March 2007 (UTC)

Egads, those hurt my brain. Why don't you tell me what you want without any links to existing user js (I feel dirty editing other people's code). --Splarka (rant) 07:17, 22 March 2007 (UTC)
No need, Predego gave me a bit o' css that did it for me. Thanks for you help though and congrats on becoming admin, -- Darkest Hour 18:08, 22 March 2007 (UTC)
Can you make a tab with prefix index? Thanks, - Darkest Hour 20:36, 22 March 2007 (UTC)
Try this.
function pagetools() {
 if(document.getElementById('t-whatlinkshere')) { 
   addPortletLink('p-cactions', document.getElementById('t-whatlinkshere').firstChild.href,'What links here','ca-whatlinkshere');
   if((wgNamespaceNumber==2)||(wgNamespaceNumber==3)) addPortletLink('p-cactions', document.getElementById('t-whatlinkshere').firstChild.href.replace(/Whatlinkshere/,'Prefixindex') + '/','Subpages','ca-subpages');
   }
}
addOnloadHook(pagetools);
I have merged it with the other tool. Also it will trigger only on User pages since that seems to be your intent. Also, you can remove the "+ '/'" to have it show the current page. --Splarka (rant) 07:35, 23 March 2007 (UTC)
Wow - neat - thanks! -- Darkest Hour 16:45, 23 March 2007 (UTC)

[edit] Typo fixr

See User:Razorclaw/typofix.js. Can there be an automated version? One that checks the page then corrects the typos and goes to show changes mode so I can see what it fixed? Thank you, — Darkest Hour 17:22, 27 March 2007 (UTC)

I don't know what sort of thing I am seeing there. That doesn't look like javascript at all... I guess what you could do is something like this:
function typofixbutton() {
  if(document.title.indexOf('Editing ') != -1) addPortletLink('p-cactions', 'javascript:typofix()', 'Typo fix', 'ca-typofix', 'Automatically suggest typoes to fix')
  alert(tll.elements[1]);
}
addOnloadHook(typofixbutton);

function typofix() {
  var eb = document.getElementById('wpTextbox1');
  var rx;
  for(var i=0;i < tl.length;i=i+2) {
    rx = new RegExp(tl[i],'g');
    eb.value = eb.value.replace(rx,tl[i+1]);
  }
  document.getElementById('wpDiff').click();
}

// typo list.
// format: "string to search","replace",
tl = [
  "foo", "bar",
  "\\b\(A\|a\)b\(il\|li\)ties\\b", "$1bilities",
  "\\b\(A\|a\)bandonned\\b","$1bandoned",
  "\\b\(A\|a\)bb\?err\?atio\(n\|ns\)\\b", "$1berratio$2"
]
It accepts regex strings, but note that in the "string to search" you must escape all special characters, including "\". Basically, this means adding backslashes before every non-alphanumeric character. The data set is as an array here, to make it easier to input (omit the last comma). It is in offset pairs (even numbers are the regex, odd numbers are the replace), so be careful or you'll reverse things and it'll blow up. Simple example :"\(A\|a\)lot", "$1 lot" ... will replace: "Alot" with "A lot" and "alot" with "a lot". I guess it can be as long as you want, but could take a while to finish. Also, I am sure some js whiz can make this much prettier looking. I am better at small interface tweaks. --Splarka (rant) 07:28, 28 March 2007 (UTC)
  • I can't get it to work, sorry. — Darkest Hour 16:56, 28 March 2007 (UTC)
Well, it worked for me (note I only had 3 examples Abilities/Abandoned/Aberration, I didn't copy the complete list as it was incomplete-looking). --Splarka (rant) 07:37, 29 March 2007 (UTC)

[edit] You deserve a cookie today

Thank you for your extensive reply. I should work on it now.
Thank you for your extensive reply. I should work on it now.

Rjgodoy 08:37, 7 April 2007 (UTC)

[edit] Orphaned fair use image (Image:1-up_mushroom_in_Super_Mario_Bros.gif)

Thanks for uploading Image:1-up_mushroom_in_Super_Mario_Bros.gif. 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 orphaned, meaning that it is 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 under fair use (see our fair use policy).

If you have uploaded other unlicensed media, please check whether they're used in any articles or not. You can find a list of 'image' pages you have edited by clicking on the "my contributions" link (it is located at the very top of any Wikipedia page when you are logged in), and then selecting "Image" from the dropdown box. Note that any fair use images not used in any articles will be deleted after seven days, as described on criteria for speedy deletion. Thank you. User:Gay Cdn (talk) (Contr) 01:36, 11 May 2007 (UTC)

[edit] No more daring me on IRC

I might have to find a template for it, lol -- Tawker 07:02, 19 May 2007 (UTC)

[edit] DOI Links

Thank you for your edits to Cretaceous-Tertiary extinction event where you got the coding for the DOI links working. I'll have to remember to use that in the future. One of the DOI links doesn't seem to work, because DOI doesn't read it right, but that's not our fault, it's how the journal references it.

Thanks again. Orangemarlin 15:17, 25 June 2007 (UTC)

[edit] Re: Your Google Userscript

Thank you! That's brilliant.

St.isaac 02:29, 16 July 2007 (UTC)

[edit] Thanks!

The Random Acts of Kindness Barnstar
For taking the time to help me out on that little script request, I give you this well-deserved barnstar. Much appreciated, Splarka. —Anas talk? 13:25, 18 July 2007 (UTC)
Now if you can only help me with that other small request. :-) —Anas talk? 15:10, 18 July 2007 (UTC)


[edit] Raaaar

That is all. Codeine 12:14, 10 September 2007 (UTC)

[edit] The Special Barnstar

The Special Barnstar
I'm awarding you this barn star as a gesture of appreciation for the help that you provided me concerning a userscript.. Wikidudeman (talk) 12:28, 11 September 2007 (UTC)

[edit] Can you help me with something else?

I currently have a code that adds an extra tab to my userpage which I have customized to add notifications that users have been blocked and I modified it to have a popup requesting the reason for the block however I can't figure out how to make it have a second popup requesting info on the duration of the block. Here is the code in question with the part I need help on boldened:

FlexiTagConfig.tabs.push(
{ name:'uw',
namespace:['User_talk'],
tagset:[['subst:nn-warn|%twinkarticle','Creation Warning'],
['subst:spam-warn|%twinkarticle','Creation Warning'],
['subst:Warning|%prompt(Warning is?)','Warning'],
['subst:test1article|%twinkAarticle','Creation Warning'],
['subst:Gblock-i|%prompt(reason for indef block)','Blocked'],
['subst:GBlock|%prompt(reason for temp block)|*DURATION*','Blocked']]
});

For some reason when I try to add another prompt code it doesn't ever come up. So what I've done is just put in "*Duration*" which I change to the duration of the block manually after it has been posted. How can I make a second popup box popup where I input the duration of the block? Wikidudeman (talk) 20:08, 11 September 2007 (UTC)

Which script parses this? Can it accept passing two parameters? (That does seem to be the only one with two pipes in it, maybe the cause?). --Splarka (rant) 07:36, 12 September 2007 (UTC)

I'm not sure if it can accept two parameters. It's from User:LilDice/Flexitags. Do you know of any way to make it have two parameters? Wikidudeman (talk) 13:34, 20 September 2007 (UTC)

Don't know, better ask User:LilDice. --Splarka (rant) 07:50, 21 September 2007 (UTC)

[edit] Ambigram question

I produce the weekly WikiWorld comic which is published in The Wikipedia Signpost, and I've been thinking of illustrating the article about ambigrams. I really like the rotating ambigram that you've produced, and wondered if you could tell me a bit about how you created it. Would it be possible to have one or two rotating images within a single gif file - or does the entire image have to rotate? (If there's a way to include your image file within an explanatory WikiWorld comic, that would be terrific.) Please message me at wikiworldcomic@yahoo.com if you can help. Thanks! --Greg Williams 00:45, 20 September 2007 (UTC)

I first used the Photoshop text tool to create "ambigram" in a thick font (I believe Arial Black) with no anti-aliasing. Next I modified it by adding a border and connecting portions, and removing certain elements, to make it symmetrical. I then duplicated the layer 15 times, and each one I rotated 6 degrees. I then copied all of these 15 layers and rotated them 90 degrees, giving me a full 180 degrees of animation (as it is symmetrical to 180 degrees, I only needed half a rotation). Lastly, I saved the psd, and opened it in Jasc animation shop, converting all pixels above 13% black to full opacity (gif only supports bitmapped transparency) and the rest to transparent. It is not perfect (you can definitely see the edge is blocky, without any anti-aliasing, but that is to allow it to work on any sort of background color, a choice one must make with animated gif files).
An animated gif is simply a sequence of frames, so anything is possible within the constraints of color depth (usually 256), file size (should be small), animation speed (50ms per frame is about the fastest you can rely on), and backgrounds (transparency is possible, but only 100%/0%, no alpha). Lemme know what you need. (cc'd by email) --Splarka (rant) 04:50, 20 September 2007 (UTC)

[edit] RE:Welcome note

Thanks for the script you showed me, its going to be alot easier than writing

{{subst:WELOME}} ~~~~ 

EDIT SUMMARY:

WELCOMED THIS USER

again and again. THANKS.--Sunny910910 (talk|Contributions)Neither will alone, nor strength alone 21:51, 21 September 2007 (UTC)

[edit] I broke it! (CorningWare image file linkl)

Oops!

http://en.wikipedia.org/wiki/CorningWare

In the process of replacing "Corning Ware" with its proper form (CorningWare) in several places in the article, I inadvertently renamed the image file name.

This apparently broke the image file link and restoring it to its original name did not fix it.

Help!

http://en.wikipedia.org/w/index.php?title=Special:Upload&wpDestFile=Corning_Ware_%28flower-print_casserole_dishes%29.jpg

HeidiW 19:17, 3 October 2007 (UTC)

To revert to an earlier revision, go to the history page, and click on the date of the revision you wish to revert to. In this case, the last edit by User:SmackBot on September 24th. You will then be viewing that "old revision". While there, click the edit this page link. You will see "You are editing an old revision of this page". Put in an edit summary like "undoing my changes" and click save. Then you can start again, and this time, do not change the name of the file in the image tag, as it is case/space sensitive. ^_^ --Splarka (rant) 23:41, 3 October 2007 (UTC)

Damn. Is this the only way? I am willing to upload the image again if you can point me in the right direction. HeidiW 00:04, 6 October 2007 (UTC)

What!? No, this is easy. Look, I'll do it for you this time. Any previous version of an article is easily restored by going to the history page. Reuploading the image would be insane, when it exists just fine where it already was. If you change the article again, just do not change any references to images, because you'll break the references (you will not affect the images). --Splarka (rant) 03:34, 6 October 2007 (UTC)

[edit] Thanks!

The Original Barnstar
For creating the target list that will immensely help clean this place up after others decided to DWI (develop while apparently intoxicated) spryde | talk 02:53, 30 November 2007 (UTC)

[edit] Kudos

For the log filter script. May interest you, apologies for the misattribution but corrected now. It is very useful, thanks --Herby talk thyme 08:39, 15 January 2008 (UTC)

Speaking of which - is it going to make it onto gadgets? I was thinking of adding it as I'm finding it so useful elsewhere and then noticed that there were some arguments discussion about what "should" be included, cheers --Herby talk thyme 15:59, 17 January 2008 (UTC)
Has it been tested in IE? I think it will break in IE, so I am not sure if it would make a good gadget. I suppose the form could be converted to innerHTML in a try{}. --Splarka (rant) 22:01, 17 January 2008 (UTC)
Apologies - viewpoint of someone who never uses IE & assumes others are the same :) - regards --Herby talk thyme 09:35, 18 January 2008 (UTC)

Well I think it'd make a fine addition. Just put a note that it'll break IE. Their suckage shouldn't stop everyone else from having it in there. Regarding User:Splarka/contribsrange.js though... Is it possible to have wikilinks honoured? Right now edit summaries are in plaintext, but I imagine links are possible? (If that's the case, then you could potentially also do {{page}} and {page} point to [[Template:Page]], making things even cooler!) ~~~~

The summaries are in plain text, so I'd basically have to duplicate the comment parser in javascript, which would also require duplicating interwiki links, which would require an extra function call (if I simply treated every link as a literal local page title, I think the non-local interwiki links would be broken). And... I don't know that it won't work in IE, just haven't tested it much. --Splarka (rant) 07:33, 14 March 2008 (UTC)

[edit] contribsrange.js

Hi, I came across wikt:User:TheDaveRoss/CIDR.js and am wondering whether there is any way to add to it the same function but on special:undelete pages (for those who can see them).—msh210 19:46, 19 March 2008 (UTC)

Can't really be done with the current API commands or that javascript. The javascript requires anonymous access, as the JS callback disables queries that require logins, and callback is required to bypass ajax, so this script would have to be rewritten in ajax. However, the API doesn't seem to have any way to search deleted revisions by user. Maybe a toolserver tool could be made, but the security might be a problem. --Splarka (rant) 07:43, 20 March 2008 (UTC)
Ah, well. Thanks anyway.—msh210 17:10, 25 March 2008 (UTC)

[edit] Gadget

I've gone ahead and added contribsrange as a gadegt here. I saw it was also one on commons and meta and its an excellent tool. Mr.Z-man 03:52, 20 March 2008 (UTC)

[edit] Thanks

Image:WikiThanks.png - LA @ 09:49, 28 March 2008 (UTC)

[edit] contribsrange.js on nlwiki

Hi Splarka, I came across contribsrange.js as a gadget at meta. I think it's very useful, thanks! I added it as a gadget to nlwiki, see MediaWiki:Gadget-contribsrange.js. I hard coded the translation and made some small adjustments, like adding a link to a page's history. Cheers! Erwin85 (talk) 15:18, 1 April 2008 (UTC)

[edit] WP:Upload

Hello, East718 said you were a smart coder, so I have a deal for you. Right now WP:UPLOAD makes it easy to upload non-free images without giving a source or good fairuse rationale. I've submitted a bugzilla on it months ago describing what a change should look like at https://bugzilla.wikimedia.org/show_bug.cgi?id=12452 but everything else on wiki is done in php, so the devs don't know how to fix it. If you could implement such a solution, I'm willing to make a $50 donation to the Wikimedia foundation. Consider it a sorta motivational bribe. Interested? MBisanz talk 01:10, 11 April 2008 (UTC)

I'd only be able to do this in javascript, and a javascript solution isn't likely to be accepted into core, so it would end up probably as a site script (in MediaWiki:Common.js for example), although getting consensus to try it there may be a bit of a task as well.
Basically, how it would work best, is upon selection of a non-free license (which would have to be programmed in to the script, matching the dropdown box names or numbers), the textarea (main input box) would be switched to 'read only' or made invisible, and a set of form inputs (text boxes, dropwdown boxes, radio buttons, check boxes, etc) would be generated in its place using javascript. Filling in these boxes would actually just modify the textarea text, which would be where the data is submitted from (and not from the phantom forms, as that would require drastic changes to the php).
This isn't hard to do, but is a bit inelegant and would probably be controvertial if it was forced on users (more so because I can't guarantee it would work 100% for all browsers, probably more around 99%). Do you want a test version of that? --Splarka (rant) 08:00, 11 April 2008 (UTC)
Sure, even if we aren't able to technically force users to enter it. Having a box that says "source (required)" and another that says "article (required)", etc, would be a great improvement. MBisanz talk 07:24, 12 April 2008 (UTC)

Damn, been pretty busy this last week. But every time I look at the upload form, this feature seems more fragile to support. Will try it later this week (if I have time). --Splarka (rant) 06:44, 17 April 2008 (UTC)

[edit] Update

Okay, after actually starting this javascript, I see how impossible this task is. You are requesting (if I understand you) basically:

  • A script that detects if the currently selected license (either in wizard or dropdown) is 'free' or 'not free'.
  • Whether that script has required fields or not, and which of those fields could be text, checkboxes, radio buttons, or other.
  • A verification system that checks all these inputs and refuses to upload if required fields are unfilled in.

The problem is, in implementation. There are 3 basic approaches to attempt this: core, extension, javascript.

Core
Adding it directly to the software. This could not be done without a major rehashing of the way upload license templates work. The fields of the template would have to be defined in an interface message or Special: page. This would be a huge project (both for a developer, and the users on any wiki upgrading to it), and probably most installations would not care to use it. Conversion would involve things like meta-generating the templates. That is, the simple license/upload templates would have to be constructed from much more complex definitions, so as to be convertable into form inputs which would know the type (free string, numerical, boolean, etc). This seems very unlikely to be done.
Extension
An add-on php utility. This would be rather fragile, and rely heavily on user updating of the license system to a new overly-defined format (as per above) but without core operation, so would probably rely on a double set of such templates, which could be broken easily.
Javascript
Userscript, gadget, site-wide, etc. This would basically have to detect if the user had selected a 'free' or 'non-free' license, then detect which fields were required, and what type of input each field required. This would require huge (parallel) definitions of all fields in every upload template, as well as a list of all the upload wizard options, in javascript. So, every edit to such a template would require a javascript-capable editor to synchronize it in the definitions, which could be easily broken by a bad edit, and would also be desynched by the 30 day server cache on javascript at Wikimedia). Alternately, it could "magically" detect which fields were required and which licenses were free by scraping the page and guessing, but this would be horribly fragile and not really help in the long run.

I don't really think I can do it. --Splarka (rant) 21:42, 22 April 2008 (UTC)

[edit] Thank you for the null edit javascript

Image:WikiThanks.png Thank you for the null edit javascript. It will really come in handy with my template work. - LA @ 08:23, 12 April 2008 (UTC)

[edit] New WikiProject User scripts request

Hi Splarka. I posted a new request at WikiProject User scripts. If you have the time, would you please review it? Thanks. GregManninLB (talk) 16:12, 17 April 2008 (UTC)

Also, my monobook is empty ('cause I don't know how to use it). I was thinking of just copying your monobook, but YIKES! If you have a set of cool code that would make my Wiki life easier without leaving my head spinning, please add it to my monobook or any other of my books. Please feel free to create User:GregManninLB subpages for this. Thanks. GregManninLB (talk) 16:20, 17 April 2008 (UTC)
Replied at Wikipedia:WikiProject_User_scripts/Requests#Categorizing_and_Turning_link_color. I don't know exactly what your requirements are for scripts, but the ones I have on enwp do the following:
Also, only sysops can add user subpages that end in .js or .css for other users (due to security issues). --Splarka (rant) 09:24, 18 April 2008 (UTC)
I replied here. In stead of editing my subpages, would you put together a .js and .css package for me to copy and plunk down into my .js and .css that would supercharge my Wiki experience? Thanks. GregManninLB (talk) 15:14, 18 April 2008 (UTC)
Well, most of my scripts are highly specialized and not terribly useful except to a handful of users (as I create them on request, mostly). I can't judge what would be most useful to you.... --Splarka (rant) 07:48, 19 April 2008 (UTC)
  • Hi Splarka. Thanks for the help. I went through your list above added 'User:Splarka/sysopdectector.js' to my monobooks. Also, I discovered that my Special:Preferences has a "Gadgets" tab containing popular monobook.js addon features. On a related note, I posted a new request at WikiProject User scripts = Category text string index. If you have the time, would you please review it? Thanks. GregManninLB (talk) 07:09, 24 April 2008 (UTC)

[edit] Barnstar

The da Vinci Barnstar
I, Legoktm give Splarka this da Vinci Barnstar for helping me out with my script and totally rewriting it :) LegoKontribsTalkM 22:33, 27 April 2008 (UTC)

[edit] contribsrange.js

Hi Splarka, I have a quick question about your contribsrange.js. It seems that the results it returns are not sorted chronologically, is this an API issue or a script issue? Thanks, Prodego talk 19:28, 10 May 2008 (UTC)

This is because of a change made to the API module after I wrote this script. It is much more efficient, but means that the prefix is sorted by user before being sorted by date. In practice this means if the first found user has more than 500 contribs, you will not see any others. There was also another change meaning some of the CIDR lookups will behave brokenly, namely /25 and /26 ranges, (/27 and beyond are less than 50, so should work fine, /24 and /16 use ucuserprefix, which has the problem described above). I am waiting for catrope to add CIDR support before rewriting it though. I'll ask MZM to edit the description a bit. --Splarka (rant) 03:09, 11 May 2008 (UTC)

[edit] Username replace function

Nice to meet you. My name is Broad-Sky from Japanese Wikipedia. Currently I develop new voting system on jawp. May I use "Username replace function" which you made on Uncyclopedia? I want trying to develop with this script. Wikipedia is available under the terms of the GFDL but Uncyclopedia is CC-by-nc-sa. If you permit it, it's a big help for me. I think I want to use this function within narrow limits (e.g. RfA) on jawp community. Thanks. --Broad-Sky (talk) 02:35, 24 May 2008 (UTC)

The version on there won't work, as it uses the Yahoo YUI. Plus it sucks, and has been edited on by other people since I made it several years ago. Here, I release this under public domain:
/* == Username replace function ==
 * Inserts user name into <span class="insertusername"></span>
 * Originally by [[uncyclopedia:User:Splaka|Splaka]], updated by same.
 * disable with:   var disableUsernameReplace = true;
 */
 
function UsernameReplace() {
  if(window.disableUsernameReplace || wgUserName == null) return;
  var un = getElementsByClassName(document, 'span', 'insertusername');
  for (var i=0;i<un.length;i++) {
    var d = 0;
    for(var j=0;j<un[i].childNodes.length;j++) {
      if(un[i].childNodes[j].nodeType == 3 && d < 1) {
        //find first text node and replace;
        un[i].childNodes[j].nodeValue = wgUserName;
        d++;
      }
    }
  }
}
addOnloadHook(UsernameReplace);
Disclaimer: scope for this on a wikimedia project is very narrow, due to the vast majority of all page views being anonymous. Enjoy. --Splarka (rant) 04:50, 24 May 2008 (UTC)

I appreciate your many kindness to me. The new script operate suitably in my computing system. I understand your thinking. I'll start on a discussion about appropriate utilization of this function in jawp community.

Please message at ja:User talk:Broad-Sky or wikimail if you want to message for me in future because I'm inactive on enwp. Thank you very much! --Broad-Sky (talk) 16:48, 24 May 2008 (UTC)

[edit] Help

Whats wrong with this?

//Add monobook.js and .css tabs
addPortletLink ('p-cactions-side', location.href+'/monobook.js', 'JS');
addPortletLink ('p-cactions-side', location.href+'/monobook.css', 'CSS');

I want it to link to the current users monobook.js/.css and under watch. Plus can I still use other scripts witch tab to p-cactions? – ThatWikiGuy (talk) 18:53, 27 May 2008 (UTC)

Needs an onload hook, wrong portlet, and adds that suffix to any user page you're visiting, not to your own css/js. See Wikipedia:WikiProject User scripts/Requests for answer. --Splarka (rant) 07:29, 28 May 2008 (UTC)

[edit] User:Splarka/dabfinder.js

The script is useful, but could you make it so it doesn't check the links that are in a disambiguation line at the very top of articles? You can ignore text within the "dablink" CSS class, basically. Gary King (talk) 15:20, 8 June 2008 (UTC)

This script doesn't actually check the links *on* the page to see which are disambiguations, it checks the database row for the page containing the registered links via the API. It then iterates over all the links on the page afterwards, and matches them up with the links found that match the disambiguation critera. This means it would save no server-side computation to exclude the dablink class links at the top, and would actually take more client-side computation to exclude them. Probably easier to just ignore them? --Splarka (rant) 23:04, 8 June 2008 (UTC)
The script needed rewriting anyways, so I changed some things. You can accomplish what you want by adding this to your monobook.css --Splarka (rant) 23:42, 8 June 2008 (UTC)
.dablink .dablink-found {border:none !important;}


aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -