Splarka
Isotope Project
editWelcome 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.
Voting for standardization
editHey. 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)
The Answer to Life, the Universe, and Everything - Revert
editThe 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)
Black Oak images
editHi 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)
Bolt cutters
editThank 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)
Pyramid of 35 spheres animation.gif
editHi, 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)
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)
Searching text area in Firefox
editThanks 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)
Search box and form reset
editI'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)
Mapproject
editThanks Sparkla!--Daanschr 19:58, 1 July 2006 (UTC)
Portal:Portugal
editThank 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)
Template
editThanks! ("If" in template) --Edcolins 07:08, 13 July 2006 (UTC)
Archiving bug
editIt 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)
FA stars no longer in classic skin?
editI'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)
Scrabble
editThanks 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)
Re: automatic site-notice offset
editThanks 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)~
Printing with underlines
editThanks 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)
Search box help
editThanks for your help. --ndyguy 20:38, 12 August 2006 (UTC)
Cheers!
editThanks for helping me at the Village Pump! amnesiac 03:19, 15 October 2006 (UTC)
Re: Div header issue
editI 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)
Thank you
editThank 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)
Spammy links on Borescope page
editOn 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)
MediaWiki and a.new #quickbar
editThanks 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)
New message
editAs requested :) --sannse (talk) 08:08, 5 March 2007 (UTC)
Categories not displayed
editHello 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)
Requested user script
editThanks 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)
They work...
editThanks 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)
Typo fixr
editSee 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)
You deserve a cookie today
editOrphaned fair use image (Image:1-up_mushroom_in_Super_Mario_Bros.gif)
editThanks 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)
No more daring me on IRC
editI might have to find a template for it, lol -- Tawker 07:02, 19 May 2007 (UTC)
DOI Links
editThank 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)
Re: Your Google Userscript
editThank you! That's brilliant.
Thanks!
editThe 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)
Raaaar
editThat is all. Codeine 12:14, 10 September 2007 (UTC)
The Special Barnstar
editThe 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) |
Can you help me with something else?
editI 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)
Ambigram question
editI 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)
RE:Welcome note
editThanks 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)
I broke it! (CorningWare image file linkl)
editOops!
http://en.wiki.x.io/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!
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)
Thanks!
editThe 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) |
Kudos
editFor 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
argumentsdiscussion 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)
- 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)
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)
contribsrange.js
editHi, 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)
Gadget
editI'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)
Thanks
editcontribsrange.js on nlwiki
editHi 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)
WP:Upload
editHello, 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)
Update
editOkay, 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)
Thank you for the null edit javascript
editThank you for the null edit javascript. It will really come in handy with my template work. - LA @ 08:23, 12 April 2008 (UTC)
New WikiProject User scripts request
editHi 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:
- User:Splarka/cmlhider.js: hides category member links on a prefixindex.
- User:Splarka/contribsrange.js: allows CIDR ranges via Special:Contributions (available as gadget in your preferences).
- User:Splarka/dabfinder.js: finds disambiguation links on a page.
- User:Splarka/domdump.js: dumps the DOM (xml) structure of a wiki page (for debugging).
- User:Splarka/electrocute.js: stress relief, faux revenge toy.
- User:Splarka/esperanto.js: magical esperanto conversion (per eo language wikis).
- User:Splarka/fetchredirects.js: finds all redirects to a page (old, needs updating for API).
- User:Splarka/formfiller.js: allows some types of forms to be pre-filled and pre-submitted by URL parameters.
- User:Splarka/genaverage.js: generates some stats or something.
- User:Splarka/lifilter.js: allows regex filtering of all <li> objects on a page (like on Special:Log)
- User:Splarka/nulledit.js: one click null editing.
- User:Splarka/popupmenu.js: very old test script for dropdown/popup menus, abandoned.
- User:Splarka/refer.js: adds ref button, was a test.
- User:Splarka/sysopdectector.js: when visiting a user page, will tell you if the user is a sysop or not.
- User:Splarka/timestamplocalizer.js: converts all normal (signature) timestamps on the page into your local time zone.
- User:Splarka/whois.js: would allow whois lookups of IP users. Probably no longer works (due to dnsstuff commercialization).
- 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)
- 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)
- 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)
- 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)
Barnstar
editThe 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) |
contribsrange.js
editHi 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)
Username replace function
editNice 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)
Help
editWhats 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)
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;}
WP: Isotopes
editAre you still working for it? Nergaal (talk) 23:01, 12 June 2008 (UTC)
- Not really, it seemed to not really take off and then I got distracted from Wikipedia for a few years there. --Splarka (rant) 06:59, 13 June 2008 (UTC)
Talk:Dyson sphere edit
editHi. Thanks for repairing the above and alerting me to it. There wasn't any malfunction on AWB's part, but a situation I hadn't considered and accommodated when configuring the AWB task. I've now tweaked the current version of Talk:Dyson sphere by repositioning the pipe symbol at the start of a line (as for other templates listing their variables) but then adding a carriage-return before the first asterisk. Hope that's okay. Sardanaphalus (talk) 09:59, 14 June 2008 (UTC)
css
editCan I have a code that will hide the iteraction box, and move the search to the very top? Thank you. var wgUserName ('Talk')
13:59, 21 June 2008 (UTC)
#p-interaction {display:none;}
#column-one {padding-top: 230px;}
#p-search {
position:absolute;
top: 160px;
left: 0;
margin-bottom: 5em;
}
--Splarka (rant) 23:08, 21 June 2008 (UTC)
- I done some hodgepodging to it now it's
#p-interaction {display:none;}
#column-one {padding-top: 70px;}
#p-search {
position:absolute;
top: 0px;
left: 0;
margin-bottom: 5em;
}
- and working just how I want it.
var wgUserName ('Talk')
10:00, 22 June 2008 (UTC)
Is it just me or does the script not work anymore? Whenever I use it it says "No disambiguation links found" even when I purposely put a few disambiguation links on a page to test it out (like test). Gary King (talk) 21:01, 25 July 2008 (UTC)
- Some limitations in the prop query were added in rev:37270. I've increased all limits to 500, but for some big pages, this isn't enough. I may have to split the script into a query for each link, which is a big pain. Should work slightly better for a while now, though. --Splarka (rant) 03:55, 26 July 2008 (UTC)
- It appears to work again, so that's good news. Gary King (talk) 03:55, 26 July 2008 (UTC)
- Hi, seems to only work on short pages, as you mentioned; however, this tool works on pages of any length – perhaps that could be a good fix for this script? I prefer the script version because it's inline, so I'd love to see it fixed. Thanks! Gary King (talk) 03:42, 28 July 2008 (UTC)
- As a toolserver tool that is incomparable to a javascript/API tool, mainly because it has full access to the replicated database. I can't utilize it inline either as it is off-domain. However, I've redone the querying in Dabfinder to use the query-continue. It should work now, unless a page has more than 500 links. --Splarka (rant) 06:07, 28 July 2008 (UTC)
- I like that it's purely a script and thus able to use it on previews and on any MediaWiki installation. I could easily make the tool output in JSON. However, there are some issues like unable to handle old redirects and that it would be a duplicate code base. — Dispenser 23:45, 3 August 2008 (UTC)
- Hmm, I guess the best way would be a separate script specifically for Wikimedia, but it could use some of the general UI code of my scriot. Your JSON would have to work via importScriptURI (using only GET parameters) as ajax won't work across domains, and it could return a much-simplified list (rather than the bulky generator/templates I have to use with the API). If it works for all languages/projects it might make a handy Gadget. Feel free to write this using my code (perhaps just a link to my stand-alone script in the comments, for projects off-wikimedia that want to use it). Or, if you dislike JS, I'll do the JS end when I have time. If so, perhaps we should move the discussion to test.wikipedia, or User_talk:Splarka/dabfinder.js ? --Splarka (rant) 03:38, 5 August 2008 (UTC)
A little gift of light
editFor all the work you do to make the lives of editors easier on Wikipedia; I, Lady Aleena, give you the sun and the moon to light your days and nights. - LA (T) 07:09, 27 July 2008 (UTC) |
Ribbon |
---|
Gram (pen cap on scale).jpg
editIf this is your image, the Sacagawea dollar looks very valuable because it looks like it has been struck onto a quarter planchet. I think that those can go for $15,000 at auction. If you still have it, try to get it authenticated. —Preceding unsigned comment added by 72.40.54.31 (talk) 16:53, 30 July 2008 (UTC)
Friendly comment
editHello, I didn't like your swearing so I removed it. Hope you don't mind. MSGJ (talk) 17:03, 30 July 2008 (UTC)
Thanks for the heads up
editand the effort... unfortunately ping response here, neither of your posts indicates whether you consider it debugged and ready for someone to use that has no script skills... for starters, I'd need some idea of how to load the thing.
- CS tech and CE/EE skills aren't necessarily interdisciplinary as I'm living proof of! ;( (I'm actually a little paranoid of "adding" scripts, plug-ins and so forth... probably an atavistic aversion to not feeling "in control"... I like to understand everything and anything, and my wikitime could have been spent in learning more about scripts and java and all that... but wasn't)
So a little more coaching would be appreciated, and the open forum should have a status update... for others... Maybe a good eventual FAQ??? Thanks though. I'm quite interested in any success. See also the AN/I & VPP posts your efforts indirectly involved me in... via VPT and Template talk:reflist. What an unexpected twist to my day! // FrankB 23:12, 1 August 2008 (UTC)
- Just getting back to you on this script request... per your last suggestion to "Tell you" per the VPT thread... (Which is apparently now archived)
- Apologies for the delay, but I had RL shit come up and have been very wikimissing most the last week 'til earlier today.
- Rocket000 and I both tested last week on the commons, and alas I conclude I gave a poor specification. AS-IS, the script has limited utility... mainly to pick off such as a long image name which are normally truncated in the media categories. Refreshing the page obviates the need for an "off" toggle, which is fine so far as it goes. It also "toggles back to off" previewing an edited page.
- Unfortunately, the later (Preview mode) behavior is where NOT looking at thumbnails would most speed things up, as would the second occasion... when one first navigates onto a new category page. In short, sort of opposite of what your script currently provides, the default "preview", "new page", and "refreshed page" mode would be to suppress the thumbnails... unless requested with an "Off toggle". When just working categories and annotations of such, one wants to ignore the (sometimes hundreds) of thumbnail images as the work is on the categories... particularly as they just slow things down when checking crosslinks and spellings of category names. Is this something possible using your script workaround? Thanks for the time! // FrankB 00:12, 13 August 2008 (UTC)
Awesome script
editThanks for making/writing/creating the dabfinder.js script - it makes finding the links to disambiguation pages much easier! T'will be very useful. -- Natalya 20:11, 6 August 2008 (UTC)
Thank you for my sig
editThank you very much for my sig. I really really appreciate it. I was soo tired when I was talking to you. LA (If you reply here, please leave me a {{Talkback}} message on my talk page.) @ 18:13, 8 August 2008 (UTC)
Perhaps you'll interested by [5], the downside is that user can be confused by the sorting order and thinks there is no more contribs in the date range they are looking. - phe 19:01, 10 August 2008 (UTC)
Orphaned non-free media (Image:Hall of mirrors (glitch).gif)
editThanks for uploading Image:Hall of mirrors (glitch).gif. The media description page currently specifies that it is non-free and may only be used on Wikipedia under a claim of fair use. However, it is currently orphaned, meaning that it is not used in any articles on Wikipedia. If the media 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 media for which a replacement could be created are not acceptable for use on Wikipedia (see our policy for non-free media).
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 all non-free media not used in any articles will be deleted after seven days, as described on criteria for speedy deletion. Thank you. BJBot (talk) 05:07, 4 September 2008 (UTC)
dabfinder doesn't follow redirects
editIf a redirected link goes to a disambiguation page, it seems that dabfinder doesn't follow it. For instance, it won't tell me that Twister (film) is actually a disambiguation link. Could it be changed to do that? Gary King (talk) 00:04, 6 September 2008 (UTC)
- It does, and has since the beginning. However, you found a bug. It was trying to match "/wiki/Twister_(film)" with "/wiki/Twister_%28film%29" and I am not sure why. I am guessing the encoding results from the API have changed recently. Some of my previous working test cases stopped working when I tried them just now. I've fixed this regression hopefully. Try it now, on Dorothy for example. --Splarka (rant) 01:07, 6 September 2008 (UTC)
- Here, dabfinder didn't find that supplier is a disambiguation page. Gary King (talk) 16:14, 4 October 2008 (UTC)
- The link to supplier doesn't exist in the current version, so it isn't in the links table (so the API can't find it to check it). This is expected behavior. Note that it works fine here on my talk page. Should I disable the link if the URI contains diff or oldid? Probably. --Splarka (rant) 19:40, 4 October 2008 (UTC)
- Here, dabfinder didn't find that supplier is a disambiguation page. Gary King (talk) 16:14, 4 October 2008 (UTC)
enlarging the font of gileki wikipedia
edithi Splarka, i inter this message in [6] that you answer me. but when i copy farsi wikipedia monobook.css [7] to gileki wikipedia monobook.css [8] that dont work!. what can i do?--AminSanaei (talk) 07:16, 21 September 2008 (UTC)
- It works for me, did you try clearing your browser cache? --Splarka (rant) 07:41, 21 September 2008 (UTC)
- it work in my personal CSS, but in [9] changes dont work!, the gileki font might be "Times New Roman" and other changes but dont change--AminSanaei (talk) 08:41, 21 September 2008 (UTC)
- Very odd, if it works for your personal it should work on the site! Does it work for other users? --Splarka (rant) 09:59, 21 September 2008 (UTC)
- it work in my personal CSS, but in [9] changes dont work!, the gileki font might be "Times New Roman" and other changes but dont change--AminSanaei (talk) 08:41, 21 September 2008 (UTC)
when i preview this monobook.css, that work! but when save page, not anything change!!!--AminSanaei (talk) 12:36, 21 September 2008 (UTC)
- Okay, that sounds like your browser cache. If you use firefox, hit ctrl-R or [reload] on the main page. If you use any other browser, google for how to 'clear browser cache'. --Splarka (rant) 12:44, 21 September 2008 (UTC)
OK, thats greate, it work! thank you very much--AminSanaei (talk) 16:26, 21 September 2008 (UTC)
Suggestions for changes to Endo999 monobook.js file done
editHi,
As per your request, I have made the two changes you suggested to my User:Endo999/monobook.js file. I have also moved the dictionarylookup11.js file to Wikipedia as well.
Re: contribs range update (October 2008)
editHello. I'm not a tech expert or anything, so don't mind my long rant on the problems I'm having with your tool; it's actually quite good, to say the least. In short, I don't object to the update. I would assume that it works far more smoothly now, but I haven't tried it out yet. Cheers, ~ Troy (talk) 19:45, 26 October 2008 (UTC)
- Ah yes, and I've forgot about something. Could the bullet be changed to * so that you can copy the source like normal contributions? Just an idea. ~ Troy (talk) 20:05, 26 October 2008 (UTC)
- Hmm, both Special:Contributions and this new version of the gadget use <ul><li></ul>, so should be copyable in the same way. --Splarka (rant) 04:20, 27 October 2008 (UTC)
Main Page redesign
editThe Main Page Redesign proposal is currently conducting a straw poll to select five new designs, before an RFC in which one will be proposed to replace the Main Page. The poll closes on October 31st. Your input would be hugely appreciated! Many thanks, PretzelsTalk! 10:22, 28 October 2008 (UTC)
Re: Colorization of preview
editThis:
#wpPreview {background-color:#aa0000; border:2px outset #aa0000;}
code didn't quite work to colorize my preview button, like you said on the Village pump... Any reason why not? ErikTheBikeMan (talk) 01:28, 6 November 2008 (UTC)
- You had a typo, fixed now, try reloading cache. --Splarka (rant) 03:43, 6 November 2008 (UTC)
— xaosflux Talk has smiled at you! Smiles promote WikiLove and hopefully this one has made your day better. Spread the WikiLove by smiling at someone else, whether it be someone you have had disagreements with in the past or a good friend. Cheers, and Happy editing!
Smile at others by adding {{subst:Smile}} to their talk page with a friendly message.
Possible bug in contribsrange.js
editHi, I've been using your tool (the trunk version, not the gadget) for quite a while on itwiki, it's really useful.
I think I found a possible bug:
- it:Speciale:Contributi/137.204.102.0/26 shows 3 results 137.204.102.33, 137.204.102.43 and 137.204.102.44;
- it:Speciale:Contributi/137.204.102.0/25 still the same 3 results;
- it:Speciale:Contributi/137.204.102.0/24 now we have also 137.204.102.60, which should have been both in /26 and /25.
What do you think? --Brownout (msg) 15:47, 2 December 2008 (UTC)
- Hmm, yes, I was afraid of something like this. I should probably disable the /25 mode. Here is what seems to be going on: /16 and /24 do a prefix search, as these coincide with a 255.255.*.* search and 255.255.255.*.* search, which can use the &ucuserprefix API parameter. However, a /25 cannot, as the IPs are in decimal and /25 is 0-127 or 128-255. What I do for /25 to /32 is build a list of all the users in that CIDR range and use &ucuser with piped parameters... so for example: 137.204.102.0|137.204.102.1|137.204.102.2... ... however, the limit to the number of parameters, while formerly limited just by the string length of the URIs on Wikimedia (4096 characters), is now limited to 50. This means that that /25 only checks 137.204.102.0->49, and 137.204.102.50->63 are left out. --Splarka (rant) 05:29, 3 December 2008 (UTC)
- Okay, disabled /25 and /26 until I can figger out a solution (or just leave them disabled). --Splarka (rant) 10:01, 3 December 2008 (UTC)
Could you wrap the information that this script outputs in a span tag with an ID, so it can be customized using CSS? Thanks! Gary King (talk) 01:18, 6 December 2008 (UTC)
- Done (but as a class, or pair of classes rather). --Splarka (rant) 03:09, 6 December 2008 (UTC)
- Thanks; perhaps consider making it show [registered] for users who have no status beyond just being registered, because otherwise it's sometimes hard to tell if the script is still trying to load the information or if the user really has no status. Gary King (talk) 22:15, 8 December 2008 (UTC)
- Done. Add
var showUserGroupSettings = {'groups': true, 'groupless': true }
to your monobook (see documentation for more infos/options).--Splarka (rant) 08:29, 9 December 2008 (UTC)
- Done. Add
- Thanks; perhaps consider making it show [registered] for users who have no status beyond just being registered, because otherwise it's sometimes hard to tell if the script is still trying to load the information or if the user really has no status. Gary King (talk) 22:15, 8 December 2008 (UTC)
BatchDelete
editCould you convert User:Splarka/ajaxbatchdelete.js to a program to batch Patrol a list of articles? MBisanz talk 07:51, 7 March 2009 (UTC)
- I talked at ya on IRC about this, and still haven't asked Roan, but it looks like it isn't terribly feasable at this time. The problem is (as we discussed) getting the RCID and the patrol token, both of which you can only get from the API via list=recentchanges (or from the UI via Special:NewPages or Recentchanges). This means currently you'd have to paginage list=recentchanges until you found and matched the title of the page input. The token can be recycled from an edit token, but I don't know how the RCID can be found. Will polke Roan. --Splarka (rant) 07:26, 10 March 2009 (UTC)
- Roan say "This looks like bug bugzilla:12394. I'm still waiting for the patrolling framework to suck less." --Splarka (rant) 18:51, 10 March 2009 (UTC)
Barnstar!
editNo barnstars, just a thank-you. :) Thanks for helping me collapse the navboxes on Simple English Wikiquote! TheAE talk/sign 21:28, 12 March 2009 (UTC)
Hey
editWhat a Brilliant Idea Barnstar | ||
For coding cool stuff. MBisanz talk 03:47, 14 March 2009 (UTC) |
Could you make the script also work when an article is purged? Like, if action=purge
is in the URL. Gary King (talk) 20:43, 17 March 2009 (UTC)
- Done, give it a try to make sure I didn't screw anything up. --Splarka (rant) 20:51, 17 March 2009 (UTC)
- Yeah looks good Gary King (talk) 21:21, 17 March 2009 (UTC)
Barnstar
editThe da Vinci Barnstar | ||
For writing this this when you could probably have been doing better things, this barnstar is yours. Thanks again, and I think I sort of understand it now, actually. :) — neuro(talk)(review) 09:27, 26 March 2009 (UTC) |
Active editors
editCan you tell me how many editors are active utilizing this test: to be considered "active" an editor must have made over 150 contributions, and have edited in the last three months? Thank you. —Locke Cole • t • c 16:45, 11 April 2009 (UTC)
- That sounds like a job for the toolserver. See the query service, or visit #wikimedia-toolserver if you have irc. --Splarka (rant) 17:52, 11 April 2009 (UTC)
- Apparently my specific request, which asks about a user preference as well, cannot be performed on the tool server: [10]. —Locke Cole • t • c 17:00, 12 April 2009 (UTC)
- Ahh, well you didn't mention user preferences in your original question. You'd have to pokle a shell user, but I don't know of any that'd be interested in performing that query, they hate that sort of thing (being used for internal politics). --Splarka (rant) 19:29, 12 April 2009 (UTC)
- Apparently my specific request, which asks about a user preference as well, cannot be performed on the tool server: [10]. —Locke Cole • t • c 17:00, 12 April 2009 (UTC)
Mysterious Editing Problems
editHey, just wanted to let you know how much I appreciate your help on the help IRC, regarding the strange editing problems. Sure wish we coulda gotten it figured out! Let me know if you'd like to do any more testing with me. Have a great day! Blessings, Filmcom (talk) 04:47, 16 April 2009 (UTC)
thx
editI hope, like me, you'd appreciate the 10 secs it takes to say thx. re. the helpme tonite. CU soon, I've no doubt. Keep the faith; Chzz ► 06:33, 16 April 2009 (UTC)
Sending username in external URL
editHi.
Was wondering if something was possible, and it's not urgent, so didn't want to bug you on IRC.
We have a Java IRC client, which connects to the help channel; I was looking if it would be possible to launch it with the users Wikipedia login name (truncated as necc) (and prob appended with '_Java'). At the moment, they can put a name in, or else appear as 'Anothernewbie', and usually the first question is, 'what is your Wikipedia login name' - often followed by an explanation of why we need it.
I know that the Java applet can accept a user name as a parameter, but I can't find out a way to pass that from the Wiki. I've looked up bits about it, and understand why {{CURRENTUSER}} isn't enabled (re. caching); just wondered if you knew of a way to give out the $wgUser - in a similar way to [http://www.google.co.uk/search?hl=en&q={{BASEPAGENAME}} Google me].
Cheers, Chzz ► 07:07, 23 April 2009 (UTC)
User:Splarka/dabfinder.js and bypassing redirects
editPlease see User talk:Firsfron#Bypassing redirects. Thanks! —David Levy 02:09, 2 May 2009 (UTC)
Message added 03:53, 3 May 2009 (UTC) —David Levy. You can remove this notice at any time by removing the {{Talkback}} or {{Tb}} template.
Talkback
editYou can remove this notice at any time by removing the {{Talkback}} or {{Tb}} template.
some code
editI found some code attributed to you at Halo wikia about changing the references to admins/bots to different colors. Is there any way to manipulate the text as well or can you only do CSS styling to them? Rappy4178 (talk) 03:34, 27 June 2009 (UTC)
- Can you link to it? --Splarka (rant) 03:57, 27 June 2009 (UTC)
- Here about half way down
* Administrator and bot highlights by Splarka *
. I was curious if you are able to add to, or take away from the individual text of the user, or if you can only do CSS style changes to it. Rappy4178 (talk) 01:58, 28 June 2009 (UTC)- Ahh, that, okay. You can add text (sort of), but you can't easily remove specific text with just CSS. Something like:
- Here about half way down
table.diff a[title="User:MantiBot"]:after, ul#pagehistory li a[title="User:MantiBot"]:after, ul.special li a[title="User:MantiBot"]:after { color: #FF8C00; content:" [bot]"; }
- Will append [bot] to the link text. --Splarka (rant) 05:22, 28 June 2009 (UTC)
- I seem to have this verbatim at my wiki for a few users, but something is conflicting with it and I have no clue what it is. Some changes won't show up, and all of them lose their affect after the nick is rolled over. Would you mind taking a look? Also, I was wondering if I could at least strip the 4187 from my nick as I go by strictly "Rappy" on this wiki. Rappy4178 (talk) 16:23, 28 June 2009 (UTC)
- I don't see it there at the moment, but I see a lot of changes the last few days. And no, you can't remove the "4187" bit with CSS, you'd need Javascript (bit heavy on pageloads though, and imperfect). --Splarka (rant) 08:11, 29 June 2009 (UTC)
- Eh, it's there. All the way at the bottom. I may have removed it one night as I couldn't figure out the conflict, but it's there now. Like I said, everything is fine until the code it highlighted with the mouse, then it loses its formatting until the page is refreshed again. Rappy4178 (talk) 05:18, 30 June 2009 (UTC)
- I don't see it there at the moment, but I see a lot of changes the last few days. And no, you can't remove the "4187" bit with CSS, you'd need Javascript (bit heavy on pageloads though, and imperfect). --Splarka (rant) 08:11, 29 June 2009 (UTC)
- I seem to have this verbatim at my wiki for a few users, but something is conflicting with it and I have no clue what it is. Some changes won't show up, and all of them lose their affect after the nick is rolled over. Would you mind taking a look? Also, I was wondering if I could at least strip the 4187 from my nick as I go by strictly "Rappy" on this wiki. Rappy4178 (talk) 16:23, 28 June 2009 (UTC)
- Will append [bot] to the link text. --Splarka (rant) 05:22, 28 June 2009 (UTC)
(reset indent) I found out the problem. It was the popups for the link mouseover causing the problems. Is there a way to use the :after and content like you showed above to color the entire user name + content. Your example above only colors the [bot] part with color #FF8C00. The MantiBot part is normal link color. Also, is there a way to capture ONLY normal links to the user page, and not diff or history links? Like only capture "User:Rappy 4187|Rappy" links? Rappy4178 (talk) 23:47, 2 July 2009 (UTC)
- If you wanna do both coloring a link and adding content, you have to reference both separately (doubling the selectors), eg:
a[title="User:Splarka"]:after { content:" [label]"; } a[title="User:Splarka"] { color: #FF8C00; }
- If you wanna specifically reference just local links, you can try something like this to select just /wiki/ links to a user page:
a[href*="/wiki/User:Splarka"]:after { content:" [local]"; }
- You can read all about these selectors at w3.org (please do). --Splarka (rant) 07:17, 4 July 2009 (UTC)
- Thank you very much, and sorry if I was a bother. Rappy4178 (talk) 06:42, 10 July 2009 (UTC)
Ajaxsendcomment
editTwo things: 1) I am now shameless ripping this off, and tweaking a copy of it to fit my circumstances (great script by the way). So thanks for that. 2) If I get really bored, I'm going to have a go adding in a checkbox: "Add to existing section called this, if it exists". Obviously, this is going to be a lot more complicated than the present design, but if you have any brainwaves I'd love to know. Anyway, keep up the good work! - Jarry1250 [ humourous – discuss ] 20:51, 3 July 2009 (UTC)
Glowing Quinine
editI posted a question on File_talk:Tonic_water_uv.jpg that I'd like your input on. Just giving you a heads-up! L3lackEyedAngels (talk) 18:47, 6 July 2009 (UTC)
Passing arguments not to be parsed by mediawiki.
editI am trying to create a template to contain data that will not be parsed for whitespace or the like by mediawiki.
An example of the template itself can be found here.
Currently, if I pass something like:
line1
line2
line3
line4
line3 and 4 become "comments". I would like to prevent this from happening.
Essentially, I would like to have something similar to <pre>{{{1}}}</pre> in my template, but you know that that is not the way for it to be done. I have also tried using nowiki, but that gets rid of any line breaks or whitespace and defeats the purpose.
user:chzz and user:Hersford provided me with a lot of help on IRC, but aren't sure if this is even possible, and suggested I ask you.
Please let me know if this is in fact possible, and if my example isn't clear enough or you don't understand the question, I will try to reword the best that I can.
Thank you EarthmeLon (talk) 22:41, 12 July 2009 (UTC)
- I think in this case {{#tag:pre}}} will mostly do what you want. To preserve whitespace with tidy you need a <pre> tag, but you can style it to remove borders, margins, padding. And using #tag you can force template/parameter parsing without whitespace stripping. See this and this. --Splarka (rant) 15:07, 13 July 2009 (UTC)
You're the best. Thanks for teaching me something today :D EarthmeLon (talk) 20:59, 13 July 2009 (UTC)
Thanks
editthank you for your continued help on WP:VPT. You have taught me a lot, and I am very grateful. Rumpsenate (talk) 21:54, 26 July 2009 (UTC)
I am also very grateful for your help!! Genius! Thanks for that transaltion link function. Perfect. Dr. Blofeld White cat 10:16, 27 July 2009 (UTC)
I think you should give him one of these awards too blofeld:
The Original Barnstar | ||
THANK YOU for all your help Splarka you are really great. Rumpsenate (talk) 00:31, 29 July 2009 (UTC) |
softfocus
editI made a small change to your softfocus, because I was told that some browsers are confused when you link to a section (it's a 50/50 between autofocus to section or autofocus the search field). Trevor of the usability project is really interested to test this script a bit wider, and perhaps including it for later usability releases. —TheDJ (talk • contribs) 00:16, 6 August 2009 (UTC)
NowCommons: File:Ambigram rotating big.gif
editFile:Ambigram rotating big.gif is now available on Wikimedia Commons as Commons:File:Ambigram rotating big.gif. This is a repository of free media that can be used on all Wikimedia wikis. The image will be deleted from Wikipedia, but this doesn't mean it can't be used anymore. You can embed an image uploaded to Commons like you would an image uploaded to Wikipedia, in this case: [[File:Ambigram rotating big.gif]]. Note that this is an automated message to inform you about the move. This bot did not copy the image itself. --Erwin85Bot (talk) 19:18, 10 August 2009 (UTC)
Thank you for your work on IRC
editWhat a Brilliant Idea Barnstar | ||
The "What a Brilliant Idea!" Barnstar should be awarded to a user who figures out an elegant solution to a particularly burdensome bottleneck or problem, or who identifies a means to improve Wikipedia in a profound way.
This barnstar is for Splarka, for his wonderful work on the mediawiki IRC. Thank you for your continued help and support. Ikip (talk) 05:59, 6 September 2009 (UTC) |
You can remove this notice at any time by removing the {{Talkback}} or {{Tb}} template.
Hi there. Since file renaming has been re-enabled, your script serves me well in helping with the backlog. So first, let me thank you for it. May I ask for a feature though: would it be possible that the script automatically suggests a new filename if {{rename media|newname}}
is found on the image page with the "newname" parameter set? That way, one wouldn't have to copy+paste the suggested new name everytime. Regards SoWhy 13:22, 22 September 2009 (UTC)
- Done. I removed the wgPageName suggestion as it would only be confusing now. Note that it will take a while to work since it required a small change to the template as well (which has to propagate via the job queue). --Splarka (rant) 14:25, 22 September 2009 (UTC)
- Good idea. Is it required to add "File:" in front of the input btw? Regards SoWhy 14:32, 22 September 2009 (UTC)
- Yah. --Splarka (rant) 07:56, 23 September 2009 (UTC)
- Okay, good to know. Thanks for the changes, keep up the good work Regards SoWhy 08:08, 23 September 2009 (UTC)
- Ah, another thing: Could the script check for the "File:" and extension to be in the new file name before removing the rename request template? Currently, it will remove the template, then die if you made a mistake there and you have to rollback the removal to make it work again. Regards SoWhy 10:48, 23 September 2009 (UTC)
- Howzat? --Splarka (rant) 11:51, 23 September 2009 (UTC)
- You Sir, are a genius. That's perfect :-D Thanks! SoWhy 12:02, 23 September 2009 (UTC)
- Howzat? --Splarka (rant) 11:51, 23 September 2009 (UTC)
- Ah, another thing: Could the script check for the "File:" and extension to be in the new file name before removing the rename request template? Currently, it will remove the template, then die if you made a mistake there and you have to rollback the removal to make it work again. Regards SoWhy 10:48, 23 September 2009 (UTC)
- Okay, good to know. Thanks for the changes, keep up the good work Regards SoWhy 08:08, 23 September 2009 (UTC)
- Yah. --Splarka (rant) 07:56, 23 September 2009 (UTC)
- Good idea. Is it required to add "File:" in front of the input btw? Regards SoWhy 14:32, 22 September 2009 (UTC)
Hi Splarka. Could you possible develop a script similar to this for use over at Commons? They have a slightly different rename template, and I'm not sure how to adapt the code. Thanks! –Juliancolton | Talk 01:23, 11 October 2009 (UTC)
- Oop, should note this was done over IRC. --Splarka (rant) 22:55, 14 October 2009 (UTC)
I wonder if I could bug you about another request? I just went back to moving some files and noticed that the script will not check whether a target filename exists at Commons. As such, it's possible to choose a name already used by a file on Commons that will overwrite that file when displayed here. Needless to say that this is inconvenient, so I wonder, is it possible to check if the target exists at Commons before renaming? Regards SoWhy 08:14, 11 December 2009 (UTC)
User:Splarka/contribsrange.js @ jawikinews
editHi Splarka,
I'd like to know if you are willing to release your User:Splarka/contribsrange.js under CC-BY-2.5 or later in addition to the current licensing. The background is following: I introduced your to Japanese Wikinews with some adoption of ja:User:Cpro. A Wikinewsie found it a problem due to license differences between two projects (GFDL/CC-BY-SA-3.0 dual on Wikipedia vs. CC-BY-2.5 on Wikinews) and the script is now on deletion request at ja:n:WN:DR#MediaWiki:Gadget-contribsrange関連.
If you and then Cpro are okay to re-license the script (or nod to triple-licensing), we can save the script and be benefited. If you are okay just nod here on your talk. The jawikinews community will then be soothed. I hope to look forward getting your favorite :)
Cheers, --Aphaia (talk) 13:34, 14 October 2009 (UTC)
- Per User:Splarka#Misc_Templates (which I have just now clarified with this change) also applies to my javascript on this wiki (unless otherwise noted). You can relicense your adaptations however you want. --Splarka (rant) 22:52, 14 October 2009 (UTC)
- Thanks for your quick reply. PD is okay for us, I think. --Aphaia (talk) 03:37, 15 October 2009 (UTC)
Sysop dectector
editThank you for this helpful tool. I have a suggestion to highlight the signatures of sysops with special color or something similar, this would add a lot to this tool in discussion pages. Sole Soul (talk) 23:48, 18 January 2010 (UTC)
- That would be prohibitively taxing on the api and browser. It would requiring checking all links on a page, parsing out the ones that looked like links to user pages, and then check them for sysophood via api lookup. --Splarka (rant) 09:34, 19 January 2010 (UTC)
- ru:MediaWiki:Gadget-markblocked.js and User:Ais523/adminrights.js. You're prohibitively taxing. --MZMcBride (talk) 15:43, 19 January 2010 (UTC)
You can remove this notice at any time by removing the {{Talkback}} or {{Tb}} template.
dabfinder 3
editHi. I used to love the functionality of dabfinder, but haven't used it in a few years. I was trying to get it working again, and had a question and suggestion. 1) Do I need to be using monobook for it to work? (and if so, would you consider updating it to work in Vector, now that this is about to become the default skin?) 2) The User:Dschwen/highlightredirects.js script works really well, and if you haven't seen it before, might give you ideas for improving the dabfinder.
Much thanks. :) -- Quiddity (talk) 19:42, 17 April 2010 (UTC)
- I'm not really involved in the site JS since they switched to vector and jQuery. --Splarka (rant) 20:13, 17 April 2010 (UTC)
- Thanks for the rapid reply! I've asked at Wikipedia:WikiProject User scripts/Requests#Highlight disambiguation pages? (where someone else had already asked for the same idea), and I'll update you here if I get any assistance there. :) -- Quiddity (talk) 20:28, 17 April 2010 (UTC)
You are now a Reviewer
editHello. Your account has been granted the "reviewer" userright, allowing you to review other users' edits on certain flagged pages. Pending changes, also known as flagged protection, will be commencing a two-month trial at approximately 23:00, 2010 June 15 (UTC).
Reviewers can review edits made by users who are not autoconfirmed to articles placed under flagged protection. Flagged protection is applied to only a small number of articles, similarly to how semi-protection is applied but in a more controlled way for the trial.
When reviewing, edits should be accepted if they are not obvious vandalism or BLP violations, and not clearly problematic in light of the reason given for protection (see Wikipedia:Reviewing process). More detailed documentation and guidelines can be found here.
If you do not want this userright, you may ask any administrator to remove it for you at any time. Courcelles (talk) 21:17, 15 June 2010 (UTC)
Help with undeleting pages with many revisions
editHi Splarka, since you helped out in this AN thread about undeleting pages with many revisions, would you be able to help with this similar problem? Graham87 01:47, 2 November 2010 (UTC)
Talkback
editMessage added 16:05, 19 November 2010 (UTC). You can remove this notice at any time by removing the {{Talkback}} or {{Tb}} template.
Some stroopwafels for you!
edit—Emufarmers(T/C) 00:19, 6 July 2011 (UTC) |
Sorry about the randomness...
editHello. As a regular contributor to the Doom Wiki (or at least formerly so), I thought you should know about this. Thanks, Xeriphas1994 (talk) 00:39, 24 September 2011 (UTC)
Contribsrange stuff
editumm this might sound weird but where do I enter the contribs range and special:COntributions? Thanks, --Kangaroopowah 03:35, 17 October 2011 (UTC)
- If you have the gadget enabled (or an external copy of the script which you seem to) just pop it in the box at Special:Contributions and hit submit. Or link to it eg: Special:Contributions/Splark*. That should work --Splarka (rant) 07:01, 19 October 2011 (UTC)
Thanks, also I tried adding a random var in the mass rollback script,
var amrNumDays = 7000;
importScript('User:Splarka/ajaxmassrollback.js');
.
Why didn't it work?
Thanks, --Kangaroopowah 03:37, 21 October 2011 (UTC)
- amrNumDays was hardcoded. Should work now. --Splarka (rant) 07:07, 21 October 2011 (UTC)
Contribsrange
editI want know if it's in your plans to internationalize the Contribsrange tool so that it can be translated into German and why not in Italian! In particular, it's important to translate into your language the text that appears as a subtitle: Javascript-enhanced contributions lookup 0.2 enabled. You may enter a CIDR range or append an asterisk to do a prefix search. Thank you. Raoli (talk) 02:51, 24 September 2012 (UTC)
- I can no longer maintain all the JS I've written for mediawiki over the years. However, Commons has done some internationalization (the gadget description at least): commons:Special:PrefixIndex/MediaWiki:Gadget-contribsrange. You might try commons:MediaWiki_talk:Gadget-contribsrange.js to see if anyone there is willing to internationalize. --Splarka (rant) 06:48, 24 September 2012 (UTC)
- Thank you :) Raoli (talk) 11:20, 24 September 2012 (UTC)
CIDR on it:voy
editHi, I'm contacting you because it seems that in Wikivoyage we've got some issues with the gadget in the subject. Could you please help us on verifying its perfect functionality? Thanks, --Andyrom75 (talk) 16:15, 24 May 2013 (UTC)
- It had a bug with remote loading due to globals not being declared before it executed, this should fix it. I am not a sysop so can't edit MediaWiki:Gadget-contribsrange.js here, but you could copy it to voy:it:MediaWiki:Gadget-CIDR.js directly, or use
mw.loader.load('//en.wiki.x.io/w/index.php?title=User:Splarka/contribsrange.js&action=raw&ctype=text/javascript');
- --Splarka (rant) 09:35, 25 May 2013 (UTC)
- Hi Splarka. We have implemented it (check if we have done it correctly), but apparently it still doesn't work. Let me give you a practical example so maybe we can try talk in concrete. Look at this link. I was expecting to see my user name in the results but I can see only 3 different results totally disconnected by my nickname. Is it normal? --Andyrom75 (talk) 13:35, 25 May 2013 (UTC)
- I add this, 8 edit (imports from it.wikt, in 2010, 2008 and 2007 it.voy did't yet exist...)--Wim b (talk) 13:58, 25 May 2013 (UTC)
- Okay, I think I've found the bug that came from a UI change sometime in the last several years. Clear cache (or go to this link and hit refresh) and try now? --Splarka (rant) 19:41, 25 May 2013 (UTC)
- And I did another tweak. Looks mostly fixed now. --Splarka (rant) 08:35, 28 May 2013 (UTC)
- Okay, I think I've found the bug that came from a UI change sometime in the last several years. Clear cache (or go to this link and hit refresh) and try now? --Splarka (rant) 19:41, 25 May 2013 (UTC)
- I add this, 8 edit (imports from it.wikt, in 2010, 2008 and 2007 it.voy did't yet exist...)--Wim b (talk) 13:58, 25 May 2013 (UTC)
- Hi Splarka. We have implemented it (check if we have done it correctly), but apparently it still doesn't work. Let me give you a practical example so maybe we can try talk in concrete. Look at this link. I was expecting to see my user name in the results but I can see only 3 different results totally disconnected by my nickname. Is it normal? --Andyrom75 (talk) 13:35, 25 May 2013 (UTC)
Diffs before December 2012 not showing up
editHello - I've been using contribsrange for a long time and it's very useful, however I'm hitting a problem at the moment. I posted it on VPT before I realised there was a link via Mediawiki to your talkpage, so I'm copying it across here. See thread at WP:VPT, here. Thanks, Black Kite (talk) 10:56, 27 May 2013 (UTC)
- Responded. --Splarka (rant) 08:35, 28 May 2013 (UTC)
Question re. the feasibility of your excellent CIDR range search script supporting IPv6
editHi, just wondering whether it would be feasible to add support for searching by IPv6 ranges, within the limitations of the MediaWiki API framework.
I only just came across a pioneering edit by a v6er today, and as it was blatant vandalism I decided it'd be worth checking out a bit of a range around it to see what else the person in question was up to. At that point I discovered that whatever group okayed edits solely identified by ipv6 addresses didn't bother to check whether your script could cater to these. This kind of seems like something that TPTB should have considered, given that anyone using IPV6 is either a) a technical enthusiast with a permanently logged-on Wikipedia account b) editing from a mobile device on which changing a biography to read 'John Smith is a dick' is difficult enough, and forget actually contributing something useful c) a naive user in an oppressive country who doesn't realize that they are now being uniquely identified to the home or even device level by anyone who cares to look at the information they're sharing. Would it be feasible to add IPv6 CIDR range search capability to your script? Nevard (talk) 13:40, 14 September 2013 (UTC)
- It actually does support IPv6 wildcards: Special:Contributions/2002:DFB8:C2D0:* as long as all the letters are uppercase (as that is how they are stored internally, annoyingly). CIDR ranges for IPv4 are a cheap hack in the current tool (it actually calls each possible IP address as a parameter (limited to 50), or uses a wildcard for /16 and /24), and would not scale to IPv6 without a change to the API. When I suggested CIDR wildcards for the API natively, I was told it would be too system intensive. I think then that you are limited to wildcards.
- Be aware: there is also a bug in the version deployed here due to the year field being autofilled in the UI, after I wrote the tool. See MediaWiki_talk:Gadget-contribsrange.js#IP_wildcards_and_CIDR_ignoring_an_address. MediaWiki:Gadget-contribsrange.js needs to be updated with User:Splarka/contribsrange.js I suppose, eventually. --Splarka (rant) 05:39, 15 September 2013 (UTC)
thank you!
editThe Guidance Barnstar | ||
For your help on Wikipedia:Village pump (technical). Very helpful! Igottheconch (talk) 16:53, 19 September 2013 (UTC) |
sadtruths and contribsrange.js questions
editOn User:Splarka/sadtruths, the link to RYB color model#Limitations and eccentricities has a broken anchor. I'm still thinking about how to fix it; I could do it myself except that I'm not sure whether wikiquette is meant to discourage all edits to other users' userspaces (as on some other wikis). Any comments/suggestions?
As for contribsrange.js, it looks like some edits from May of this year (or at least the most recent edit) haven't been merged into the gadget version. Why? --SoledadKabocha (talk) 04:48, 14 October 2013 (UTC)
- I think fixing anchors (and other introduced technical errors of a similar nature) in general is well within wikiquette. Feel free to do so for my pages. As for the changes to that script: I haven't been able to have much of a presence here for the last few years, and consequently can't maintain all my various scripts (which I did try to futureproof to the best of my ability at the time). While I did see that the script was broken enough to merit a quick fix, I don't have the ambition or connections to request a quick merge. I leave that to the active users. --Splarka (rant) 05:30, 14 October 2013 (UTC)
My apologies
editI discovered your user page while looking up user scripts, and I saw what looked like a vandal edit, and I mistakenly removed it.
I apologize if I caused any trouble. Arcane21 (talk) 19:52, 11 December 2013 (UTC)
- No worries. All is well in the world. --Splarka (rant) 08:27, 12 December 2013 (UTC)
Time missing in listing of user contributions by script for IP range
editHi Splarka,
thank you for having written the script to gather user contributions of an entire IP range ... but there is some (minor) flaw with it: even if there is a "timestamp" inside, there is no time of each user contribution entry, only the date. Question: is it possible to adapt the script so that also the time will be listed? Please see also this description in the german WP. Affected are the following scripts (english and german section; I fear those of other sections too ...): EN: http://en.wiki.x.io/wiki/User:Splarka/contribsrange.js DE: https://de.wiki.x.io/wiki/MediaWiki:Gadget-contribsrange.js ... Thank you for having a look at it and regards --ProloSozz (talk) 11:54, 11 January 2014 (UTC)
- I have made the requested change to User:Splarka/contribsrange.js. It should be easy to adapt elsewhere even if the scripts have been altered. --Splarka (rant) 19:28, 11 January 2014 (UTC)
- Thanks ... working as expected ... :) ... btw: as I do not have write permission, an admin had to do it – and I tested it, and it is working fine :) ... Question: what about the other language sections (en, fr, it, etc.)? Would it everywhere needed to be done separately (by some "local" admin)? Other question is some more change (most important is done now), so that's for a "second round" ... I don't know if you could read my german explanation. I was also describing the number of added or removed characters to be missing now; and a direct link to the history (but that's not so important as you can get there you can use the diff link). Just for vandalism check the number of changed characters would be nice :) ... Would it be also possible to add that? Would be great ... :) ... Hey, thanks a lot! --ProloSozz (talk) 03:28, 13 January 2014 (UTC)
- Okay, I added byte diff. It seems to work okay. These changes were trivial but I am 99% retired from MediaWiki and can't really support my scripts indefinitely. --Splarka (rant) 08:23, 13 January 2014 (UTC)
- Thanks ... working as expected ... :) ... btw: as I do not have write permission, an admin had to do it – and I tested it, and it is working fine :) ... Question: what about the other language sections (en, fr, it, etc.)? Would it everywhere needed to be done separately (by some "local" admin)? Other question is some more change (most important is done now), so that's for a "second round" ... I don't know if you could read my german explanation. I was also describing the number of added or removed characters to be missing now; and a direct link to the history (but that's not so important as you can get there you can use the diff link). Just for vandalism check the number of changed characters would be nice :) ... Would it be also possible to add that? Would be great ... :) ... Hey, thanks a lot! --ProloSozz (talk) 03:28, 13 January 2014 (UTC)
User:Splarka/dabfinder.js (4)
editBoy, your script must be popular, this is the fourth thread about it .
Anyway, I fixed a few bugs with your script here, documented the changes at on the talk page, and multi-licensed my contributions to the script as public domain/CC-0 (I noticed your userpage statement) here. So the script should stay free.
I guess I just wanted to let you know that I Beta-tested it. Meteor sandwich yum (talk) 17:04, 4 April 2014 (UTC)
Hi,
You appear to be eligible to vote in the current Arbitration Committee election. The Arbitration Committee is the panel of editors responsible for conducting the Wikipedia arbitration process. It has the authority to enact binding solutions for disputes between editors, primarily related to serious behavioural issues that the community has been unable to resolve. This includes the ability to impose site bans, topic bans, editing restrictions, and other measures needed to maintain our editing environment. The arbitration policy describes the Committee's roles and responsibilities in greater detail. If you wish to participate, you are welcome to review the candidates' statements and submit your choices on the voting page. For the Election committee, MediaWiki message delivery (talk) 13:02, 23 November 2015 (UTC)
hidetopcontribs.js
editI made a new version of this script that seems to work: User:Jmcgnh/hidetopcontribs.js
Changed it to put the button in sidebar toolbox instead of the top menu "More" button. I did matching on the title= element instead of the href. — jmcgnh(talk) (contribs) 07:47, 22 October 2017 (UTC)